Line No. | Rev | Author | Line |
---|---|---|---|
1 | 32 | kaklik | /****************************************************************************** |
2 | |||
3 | USB POS Printer Definition File - Seiko MPU-L465 |
||
4 | |||
5 | Summary: |
||
6 | This is a definition file for the Seiko MPU-L465 Point-of-sale USB |
||
7 | Printer. |
||
8 | |||
9 | Description: |
||
10 | This is a definition file for the Seiko MPU-L465 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 MPU-L465 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_seiko_mpu_l465.h |
||
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_SEIKO_MPU_L465 |
||
78 | #define USB_PRINTER_POS_SEIKO_MPU_L465 |
||
79 | |||
80 | //------------------------------------------------------------------------------ |
||
81 | // Bar Code Support Configuration |
||
82 | |||
83 | // If the printer supports bar code printing, uncomment the following |
||
84 | // definition. This will provide support for UPC-A, UPC-E, JAN/EAN13, JAN/EAN8, |
||
85 | // CODE39, ITF, and CODABAR bar codes using Format A of the "Print Bar Code" |
||
86 | // command. If only only bar code format is specified, it is Format A. |
||
87 | #define USB_PRINTER_POS_BARCODE_SUPPORT |
||
88 | |||
89 | // If the printer supports both Format A and Format B of the "Print Bar Code" |
||
90 | // command, also uncomment this definition. In addition to the bar codes listed |
||
91 | // above, CODE93 and CODE128 bar codes will be supported. |
||
92 | //#define USE_PRINTER_POS_EXTENDED_BARCODE_FORMAT |
||
93 | |||
94 | |||
95 | //------------------------------------------------------------------------------ |
||
96 | // Bitmap Image Support Configuration |
||
97 | |||
98 | // If the printer supports 24-dot vertical density image printing, uncomment the |
||
99 | // following definition. |
||
100 | #define USB_PRINTER_POS_24_DOT_IMAGE_SUPPORT |
||
101 | |||
102 | // If the printer supports 36-dot vertical density image printing, uncomment the |
||
103 | // following definition. This support is not common. Note that 36-dot vertical |
||
104 | // density image printing itself is not supported. However, printers with this |
||
105 | // capability use different parameter values for other image printing, and must |
||
106 | // be configured appropriately. If this is not configured correctly, 24-bit |
||
107 | // vertical density images will not print correctly. |
||
108 | #define USB_PRINTER_POS_36_DOT_IMAGE_SUPPORT |
||
109 | |||
110 | // Set this label to the line spacing required between bit image lines. Often, |
||
111 | // the value 0 (zero) can be used. If the printer prints all image lines on |
||
112 | // top of each other, set this value to the height of the printed image line. |
||
113 | #define USB_PRINTER_POS_IMAGE_LINE_SPACING 0 |
||
114 | |||
115 | |||
116 | //------------------------------------------------------------------------------ |
||
117 | // Text Printing Support Configuration |
||
118 | |||
119 | // If the printer supports reverse text (white letters on a black background) |
||
120 | // printing, uncomment the following definition. |
||
121 | #define USB_PRINTER_POS_REVERSE_TEXT_SUPPORT |
||
122 | |||
123 | |||
124 | //------------------------------------------------------------------------------ |
||
125 | // Color Support Configuration |
||
126 | |||
127 | // If the printer supports two color printing, uncomment the following line. |
||
128 | // This is not common. |
||
129 | //#define USB_PRINTER_POS_TWO_COLOR_SUPPORT |
||
130 | |||
131 | |||
132 | //------------------------------------------------------------------------------ |
||
133 | // Mechanism Support Configuration |
||
134 | |||
135 | // If the printer has an automatic cutter, uncomment the following line. |
||
136 | //#define USB_PRINTER_POS_CUTTER_SUPPORT |
||
137 | |||
138 | #endif |
||
139 |
Powered by WebSVN v2.8.3