Chapter 11— Printer Escape Commands
106
EasyCoder PL-Series Printer Programmer’s Reference Manual
Set and Read Code Command
Purpose: Printer command sessions normally start with the “!” character. When you
use the printer in Generic Text mode (or Line Print mode) and if you
expect to print the “!” character in that mode, then you must change the
CCL code. You change this mode using the Redefine CCL Code
command.
Send the following sequence to redefine the code:
Set CCL Code:
ESC (0x1b) '}' (0x7D) 'W' (0x57) '1'
(0x31) <
new code
>
(SETCCL.LBL)
Where {
new code
} is a one-byte character representing the new CCL code.
Once the CCL code is changed, you should start all CCL sessions with the
new CCL code. For example, if CCL code is changed to “~”, then instead
of issuing a ! UTILITIES command to the printer, you should issue ~
UTILITIES.
The printer retains the new CCL code for as long as it remains turned on.
If the printer is turned off and back on again, it reverts back to normal
operations and expects “!” as the CCL code.
Send the following sequence to read the CCL code:
Read CCL Code:
ESC (0x1b) '}' (0x7D) 'R' (0x52) '1'
(0x31)
(READCCL.LBL)
After the above command is issued, the printer returns the one-character
CCL code.
Format:
{
escape
} {
command
} [
parameters
]
where:
{escape}:
The ESC character (0x1b).
{command}:
Choose from the escape commands in this section.
[parameters]:
Parameters for the escape commands.
Note:
The escape commands should not be used while in a control/utility
session (! UTILITIES... PRINT or ! 0... PRINT).
Status/Information
This section provides information on the following commands:
• Get Printer Status
• Acknowledge Printer Reset
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: ......