Programmer's Guide User guide

Programmer’s Guide | 1
49 Thermal Printer Programmer’s Guide
or
Send the PJL command DEFAULT with variable HEXTRANSFERMODE and value ON.
or
Using webpages by clicking Advanced->Communication->General->Host Settings and
setting Hex Transfer to True. Save settings.
The following is a sample of a standard PJL/PCL sequence:
<ESC>%-12345X@PJL JOB
@PJL SET PAPERLENGTH = 4320
@PJL ENTER LANGUAGE = PCL
<ESC>*t300R<ESC>*p230x1100Y<ESC>$b2050c10n0j1o36WThis is a test, this is only
a test. <ESC>E<ESC>%-12345X@PJL EOJ
<ESC>%-12345X
Hex transfer version:
&%1B$%-12345X@PJL JOB
@PJL SET PAPERLENGTH = 4320
@PJL ENTER LANGUAGE = PCL
&%1B$*t300R&%1B$*p230x1100Y&%1B$$b2050c10n0j1o36WThis is a test, this is
only a test. &%1B$E
&%1B$%-12345X@PJL EOJ
&%1B$%-12345X
Note that all the data from above sample can be in hexadecimal format as:
&%1B252D31323334355840504A4C204A4F420D0A40504A4C2053455420504150455
24C454E475448203D20343332300D0A40504A4C20454E544552204C414E47554147
45203D2050434C0D0A1B2A74333030521B2A703233307831313030591B2462323035
306331306E306A316F33365754686973206973206120746573742C207468697320697
3206F6E6C79206120746573742E1B451B252D31323334355840504A4C20454F4A0D
0A1B252D3132333435580D0A$