Line No. | Rev | Author | Line |
---|---|---|---|
1 | 32 | kaklik | /****************************************************************************** |
2 | |||
3 | USB POS Printer Definition File - Seiko DPU-V445 |
||
4 | |||
5 | Summary: |
||
6 | This is a definition file for the Seiko DPU-V445 Point-of-sale USB |
||
7 | Printer. |
||
8 | |||
9 | Description: |
||
10 | This is a definition file for the Seiko DPU-V445 Point-of-sale USB |
||
11 | Printer. This definition file may be used for other compatible printers, |
||
12 | including the following printers. |
||
13 | |||
14 | Manufacturer Model Tested |
||
15 | ------------ ----- ------ |
||
16 | Seiko DPU-V445 Yes |
||
17 | Seiko DPU-S445 No (based on spec review only) |
||
18 | |||
19 | Various POS printers that support the ESC/POS printer language have |
||
20 | deviations or limitations from the language specification. This file |
||
21 | allows the ESC/POS printer language file to configure itself |
||
22 | properly for the requirements and/or limitations of the particular printer. |
||
23 | It will also allow the printer language support file to return an error |
||
24 | (USB_PRINTER_UNKNOWN_COMMAND) if an unsupported command is issued. |
||
25 | |||
26 | Some deviations are minor, and may have no effect on the printed output. |
||
27 | Others, however, can result in printing failures if the configuration is |
||
28 | incorrect. For best results: |
||
29 | * Determine either a single target printer or a set of compatible |
||
30 | target printers when designing the application. |
||
31 | * Specify those printers explicitly in the TPL. |
||
32 | * Specify explicit printer language support for those printers. |
||
33 | * Test the application on each specified printer. |
||
34 | |||
35 | Remarks: |
||
36 | This file should be specified as the "POS Printer Header File" on the |
||
37 | "Printer" tab of the USB Configuration Tool (USBConfig.exe or MPLAB VDI) |
||
38 | when ESC/POS support is enabled. |
||
39 | |||
40 | *******************************************************************************/ |
||
41 | //DOM-IGNORE-BEGIN |
||
42 | /****************************************************************************** |
||
43 | |||
44 | * FileName: usb_printer_pos_seiko_dpu_v445.h |
||
45 | * Dependencies: None |
||
46 | * Processor: PIC24/dsPIC30/dsPIC33/PIC32MX |
||
47 | * Compiler: C30 v3.10b/C32 v0.00.18 |
||
48 | * Company: Microchip Technology, Inc. |
||
49 | |||
50 | Software License Agreement |
||
51 | |||
52 | The software supplied herewith by Microchip Technology Incorporated |
||
53 | (the Company) for its PICmicro® Microcontroller is intended and |
||
54 | supplied to you, the Companys customer, for use solely and |
||
55 | exclusively on Microchip PICmicro Microcontroller products. The |
||
56 | software is owned by the Company and/or its supplier, and is |
||
57 | protected under applicable copyright laws. All rights are reserved. |
||
58 | Any use in violation of the foregoing restrictions may subject the |
||
59 | user to criminal sanctions under applicable laws, as well as to |
||
60 | civil liability for the breach of the terms and conditions of this |
||
61 | license. |
||
62 | |||
63 | THIS SOFTWARE IS PROVIDED IN AN AS IS CONDITION. NO WARRANTIES, |
||
64 | WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED |
||
65 | TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A |
||
66 | PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT, |
||
67 | IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR |
||
68 | CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
||
69 | |||
70 | Change History: |
||
71 | Rev Description |
||
72 | ----- -------------------------------------- |
||
73 | 2.6a- No change |
||
74 | 2.7a |
||
75 | *******************************************************************************/ |
||
76 | //DOM-IGNORE-END |
||
77 | |||
78 | #ifndef USB_PRINTER_POS_SEIKO_DPU_V445 |
||
79 | #define USB_PRINTER_POS_SEIKO_DPU_V445 |
||
80 | |||
81 | //------------------------------------------------------------------------------ |
||
82 | // Bar Code Support Configuration |
||
83 | |||
84 | // If the printer supports bar code printing, uncomment the following |
||
85 | // definition. This will provide support for UPC-A, UPC-E, JAN/EAN13, JAN/EAN8, |
||
86 | // CODE39, ITF, and CODABAR bar codes using Format A of the "Print Bar Code" |
||
87 | // command. If only only bar code format is specified, it is Format A. |
||
88 | #define USB_PRINTER_POS_BARCODE_SUPPORT |
||
89 | |||
90 | // If the printer supports both Format A and Format B of the "Print Bar Code" |
||
91 | // command, also uncomment this definition. In addition to the bar codes listed |
||
92 | // above, CODE93 and CODE128 bar codes will be supported. |
||
93 | //#define USE_PRINTER_POS_EXTENDED_BARCODE_FORMAT |
||
94 | |||
95 | |||
96 | //------------------------------------------------------------------------------ |
||
97 | // Bitmap Image Support Configuration |
||
98 | |||
99 | // If the printer supports 24-dot vertical density image printing, uncomment the |
||
100 | // following definition. |
||
101 | #define USB_PRINTER_POS_24_DOT_IMAGE_SUPPORT |
||
102 | |||
103 | // If the printer supports 36-dot vertical density image printing, uncomment the |
||
104 | // following definition. This support is not common. Note that 36-dot vertical |
||
105 | // density image printing itself is not supported. However, printers with this |
||
106 | // capability use different parameter values for other image printing, and must |
||
107 | // be configured appropriately. If this is not configured correctly, 24-bit |
||
108 | // vertical density images will not print correctly. |
||
109 | //#define USB_PRINTER_POS_36_DOT_IMAGE_SUPPORT |
||
110 | |||
111 | // Set this label to the line spacing required between bit image lines. Often, |
||
112 | // the value 0 (zero) can be used. If the printer prints all image lines on |
||
113 | // top of each other, set this value to the height of the printed image line. |
||
114 | #define USB_PRINTER_POS_IMAGE_LINE_SPACING 0 |
||
115 | |||
116 | |||
117 | //------------------------------------------------------------------------------ |
||
118 | // Text Printing Support Configuration |
||
119 | |||
120 | // If the printer supports reverse text (white letters on a black background) |
||
121 | // printing, uncomment the following definition. |
||
122 | #define USB_PRINTER_POS_REVERSE_TEXT_SUPPORT |
||
123 | |||
124 | |||
125 | //------------------------------------------------------------------------------ |
||
126 | // Color Support Configuration |
||
127 | |||
128 | // If the printer supports two color printing, uncomment the following line. |
||
129 | // This is not common. |
||
130 | //#define USB_PRINTER_POS_TWO_COLOR_SUPPORT |
||
131 | |||
132 | |||
133 | //------------------------------------------------------------------------------ |
||
134 | // Mechanism Support Configuration |
||
135 | |||
136 | // If the printer has an automatic cutter, uncomment the following line. |
||
137 | //#define USB_PRINTER_POS_CUTTER_SUPPORT |
||
138 | |||
139 | #endif |
||
140 |
Powered by WebSVN v2.8.3