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)
Summary of Contents for EasyCoder PL-Series
Page 1: ...EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 4: ...iv EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 14: ...Contents xiv EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 18: ...Before You Begin xviii EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 35: ...Chapter 3 Text EasyCoder PL Series Printer Programmer s Reference Manual 17 ...
Page 44: ...Chapter 3 Text 26 EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 83: ...Chapter 7 Graphics EasyCoder PL Series Printer Programmer s Reference Manual 65 Output ...
Page 84: ...Chapter 7 Graphics 66 EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 100: ...Chapter 8 Advanced Commands 82 EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 122: ...Chapter 10 Advanced Utilities 104 EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 186: ...Appendix A Troubleshooting 168 EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 190: ...Appendix B Interface Cables 172 EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 200: ...Appendix D Font Information 182 EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 205: ...EasyCoder PL Series Printer Programmer s Reference Manual 187 Index I ...
Page 219: ......