Line No. | Rev | Author | Line |
---|---|---|---|
1 | 32 | kaklik | /****************************************************************************** |
2 | |||
3 | USB POS Printer Definition File - Epson TM-T88IV |
||
4 | |||
5 | Summary: |
||
6 | This is a definition file for the Epson TM-T88IV Point-of-sale USB |
||
7 | Printer. |
||
8 | |||
9 | Description: |
||
10 | This is a definition file for the Epson TM-T88IV 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 | Epson TM-T88IV Yes |
||
17 | |||
18 | Various POS printers that support the ESC/POS printer language have |
||
19 | deviations or limitations from the language specification. This file |
||
20 | allows the ESC/POS printer language file to configure itself |
||
21 | properly for the requirements and/or limitations of the particular printer. |
||
22 | It will also allow the printer language support file to return an error |
||
23 | (USB_PRINTER_UNKNOWN_COMMAND) if an unsupported command is issued. |
||
24 | |||
25 | Some deviations are minor, and may have no effect on the printed output. |
||
26 | Others, however, can result in printing failures if the configuration is |
||
27 | incorrect. For best results: |
||
28 | * Determine either a single target printer or a set of compatible |
||
29 | target printers when designing the application. |
||
30 | * Specify those printers explicitly in the TPL. |
||
31 | * Specify explicit printer language support for those printers. |
||
32 | * Test the application on each specified printer. |
||
33 | |||
34 | Remarks: |
||
35 | This file should be specified as the "POS Printer Header File" on the |
||
36 | "Printer" tab of the USB Configuration Tool (USBConfig.exe or MPLAB VDI) |
||
37 | when ESC/POS support is enabled. |
||
38 | |||
39 | *******************************************************************************/ |
||
40 | //DOM-IGNORE-BEGIN |
||
41 | /****************************************************************************** |
||
42 | |||
43 | * FileName: usb_printer_pos_epson_tm_t88iv.c |
||
44 | * Dependencies: None |
||
45 | * Processor: PIC24/dsPIC30/dsPIC33/PIC32MX |
||
46 | * Compiler: C30 v3.10b/C32 v0.00.18 |
||
47 | * Company: Microchip Technology, Inc. |
||
48 | |||
49 | Software License Agreement |
||
50 | |||
51 | The software supplied herewith by Microchip Technology Incorporated |
||
52 | (the Company) for its PICmicro® Microcontroller is intended and |
||
53 | supplied to you, the Companys customer, for use solely and |
||
54 | exclusively on Microchip PICmicro Microcontroller products. The |
||
55 | software is owned by the Company and/or its supplier, and is |
||
56 | protected under applicable copyright laws. All rights are reserved. |
||
57 | Any use in violation of the foregoing restrictions may subject the |
||
58 | user to criminal sanctions under applicable laws, as well as to |
||
59 | civil liability for the breach of the terms and conditions of this |
||
60 | license. |
||
61 | |||
62 | THIS SOFTWARE IS PROVIDED IN AN AS IS CONDITION. NO WARRANTIES, |
||
63 | WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED |
||
64 | TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A |
||
65 | PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT, |
||
66 | IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR |
||
67 | CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
||
68 | |||
69 | Change History: |
||
70 | Rev Description |
||
71 | ---- --------------------------------- |
||
72 | 2.6a- No change |
||
73 | 2.7a |
||
74 | *******************************************************************************/ |
||
75 | //DOM-IGNORE-END |
||
76 | |||
77 | #ifndef USB_PRINTER_POS_EPSON_TM_T88IV |
||
78 | #define USB_PRINTER_POS_EPSON_TM_T88IV |
||
79 | |||
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