Chapter 11— Printer Escape Commands
EasyCoder PL-Series Printer Programmer’s Reference Manual
107
• Get Printer Information
• Get Extended Printer Status
Get Printer Status
Purpose: This command requests a status byte from the printer. If one is returned, it
indicates that the printer is operational and has finished processing the
previous label. You should call it before loading or printing a label in order
to make sure that the host software is synchronized with the printer. If bit
3 of the status byte is high, it indicates that the battery is low. If bit 4 is
high, it indicates that the printer has been turned on and reset. This
command requests a status byte from the printer with the following
format:
Bit
Description
4
Printer reset (0=reset cleared, 1=printer reset)
3
Battery status (0=voltage OK, 1=low battery)
2
Latch status (0=latch closed, 1=latch open)
1
Paper status (0=paper present, 1= out of paper)
0
Printer status (0=printer ready, 1=printer busy)
Format:
ESC (0x1b) 'h' (0x68)
Acknowledge Printer Reset
Purpose: This command clears the reset bit that is set when you turn on the printer
and reported by the Get Printer Status command. The host uses the reset
information returned by ESC “h” to perform its printer power-up
initializations, such as form-feeding. Once the host completes its
initialization of the printer, it may call this function to tell the printer to
clear its reset bit.
Format:
ESC (0x1b) 'N' (0x4e)
Get Printer Information (GPI.LBL)
Purpose: This command instructs the printer to return a null-terminated string
containing its model number, firmware revision, and serial number. In
practice, you should use a search for the NUL character, since the length
of the string returned may change.
Format:
ESC (0x1b) 'v' (0x76)
Содержание EasyCoder PL-Series
Страница 1: ...EasyCoder PL Series Printer Programmer s Reference Manual ...
Страница 4: ...iv EasyCoder PL Series Printer Programmer s Reference Manual ...
Страница 14: ...Contents xiv EasyCoder PL Series Printer Programmer s Reference Manual ...
Страница 18: ...Before You Begin xviii EasyCoder PL Series Printer Programmer s Reference Manual ...
Страница 35: ...Chapter 3 Text EasyCoder PL Series Printer Programmer s Reference Manual 17 ...
Страница 44: ...Chapter 3 Text 26 EasyCoder PL Series Printer Programmer s Reference Manual ...
Страница 74: ...Chapter 6 Two Dimensional Bar Codes 56 EasyCoder PL Series Printer Programmer s Reference Manual ...
Страница 83: ...Chapter 7 Graphics EasyCoder PL Series Printer Programmer s Reference Manual 65 Output ...
Страница 84: ...Chapter 7 Graphics 66 EasyCoder PL Series Printer Programmer s Reference Manual ...
Страница 100: ...Chapter 8 Advanced Commands 82 EasyCoder PL Series Printer Programmer s Reference Manual ...
Страница 122: ...Chapter 10 Advanced Utilities 104 EasyCoder PL Series Printer Programmer s Reference Manual ...
Страница 128: ...Chapter 11 Printer Escape Commands 110 EasyCoder PL Series Printer Programmer s Reference Manual ...
Страница 182: ...Chapter 14 Printer Configuration and Setup 164 EasyCoder PL Series Printer Programmer s Reference Manual ...
Страница 186: ...Appendix A Troubleshooting 168 EasyCoder PL Series Printer Programmer s Reference Manual ...
Страница 190: ...Appendix B Interface Cables 172 EasyCoder PL Series Printer Programmer s Reference Manual ...
Страница 193: ...Appendix C Character Tables EasyCoder PL Series Printer Programmer s Reference Manual 175 CP850 Character Set ...
Страница 194: ...Appendix C Character Tables 176 EasyCoder PL Series Printer Programmer s Reference Manual Latin 1 Character Set ...
Страница 200: ...Appendix D Font Information 182 EasyCoder PL Series Printer Programmer s Reference Manual ...
Страница 204: ...Appendix E Bar Code Quick Reference 186 EasyCoder PL Series Printer Programmer s Reference Manual ...
Страница 205: ...EasyCoder PL Series Printer Programmer s Reference Manual 187 Index I ...
Страница 219: ......