
Revision C 16/01/96
Chapter 3 "PJL" - 38
7.4. ECHO Command
The ECHO command requests the printer to send back a specified message, in order to ensure that the
printer is ready for communication with the application and that the received answer from the printer is
what the application requested. The application must send this command before starting PJL
communication.
After sending the ECHO command, the application must ignore any status information from the printer
before it receives the response for this command, because not receiving the response for this command
means that the printer is still processing the previous job and its status information is for the previous
job environment. When the application receives the correct response for the requested ECHO
command, the printer is now ready for the application and you can be sure that the status information
following is for the requested command by the application.
Syntax :
@PJL ECHO [<
words
>] [<CR>]<LF>
Response Syntax :
@PJL ECHO [< words >] <CR><LF>
<FF>
•
< words >
The beginning of this parameter must be a printable character. Then this parameter consists of
characters from ASCII 33 to 255 and space characters, and horizontal tab characters.
This < words > parameter can be written without quotation marks as this is not a string of variables.
The parameter is recommended to be unique, distinguishable words from other print jobs, such as
the time determined by the real time clock and user name, so as to confirm the received message
from the printer is definitely the answer for the ECHO command which the application sent.
The length of the < word > must be within 80 characters.
Parameters :
Parameter
Valid characters
< words >
ASCII 33 to 255, <SP>,
<HT>
Example :
The application sends the following example to the printer :
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT the ECHO command follows <CR><LF>
@PJL ECHO This is a sample 22:03:00 <CR><LF>
<ESC>%-12345X
The printer sends back the answer for the above ECHO command :
@PJL ECHO This is a sample 22:03:00 <CR><LF>
<FF>
After receiving the above answer, all the messages from the printer are the requested information from
the application, except for unsolicited status information.
Содержание HL- SERIES
Страница 13: ...Revision A 16 01 96 Chapter 1 Introduction ...
Страница 16: ...Revision C 16 01 96 Chapter 2 PCL 1 Chapter 2 PCL ...
Страница 123: ...Revision C 16 01 96 Chapter 2 PCL 3 W width raster area 78 Y y offset raster 79 ...
Страница 124: ...Revision C 16 01 96 Chapter 3 PJL 1 Chapter 3 PJL Printer Job Language ...
Страница 180: ...Revision C 16 01 96 Chapter 4 Diablo 630 1 Chapter 4 Diablo 630 ...
Страница 200: ...Revision C 16 01 96 Chapter 5 EPSON FX 850 1 Chapter 5 EPSON FX 850 ...
Страница 237: ...Revision C 16 01 96 Chapter 6 IBM Proprinter XL 1 Chapter 6 IBM Proprinter XL ...
Страница 259: ...Revision C 16 01 96 Chapter 7 Bar Codes Control 1 Chapter 7 Bar Code Control ...
Страница 267: ...Revision C 16 01 96 Chapter 8 HP GL2 1 CHAPTER 8 HP GL 2 Graphics Language ...
Страница 280: ...Revision C 16 01 96 Chapter 8 HP GL2 14 220 END Sample 21 ...
Страница 328: ...Revision C 16 01 96 Chapter 9 HP GL 1 CHAPTER 9 HP GL Graphics Language ...
Страница 332: ...Revision C 16 01 96 Chapter 9 HP GL 5 1 3 2 Printing Area a b d c a b c d mm A4 4 5 5 5 Letter 6 5 5 5 Legal 6 5 5 5 ...
Страница 342: ...Revision C 16 01 96 Chapter 9 HP GL 15 Sample 68 ...
Страница 387: ...Revision C 16 01 96 APPENDIX A COMPALISON LIST 24 RESOLUTION 300 600 300 600 300 600 ...