
2009/06/29
CHAPTER 5 PJL- 58
Examples
Example 1 :
This example requests the current print environment settings for RET, PAPER, and ORIENTATION :
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT ***Requesting*** <CR><LF>
@PJL COMMENT about User Default Settings** <CR><LF>
@PJL ECHO 20:30:00 02-20-1993<CR><LF>
@PJL DINQUIRE RET<CR><LF>
@PJL DINQUIRE PAPER<CR><LF>
@PJL DINQUIRE ORIENTATION<CR><LF>
<ESC>%-12345X
The printer may return, for example, the following response against the above
DINQUIRE
commands:
@PJL ECHO 20:30:00 02-20-1993 <CR><LF>
<FF>
@PJL DINQUIRE RET<CR><LF>
LIGHT<CR><LF>
<FF>
@PJL DINQUIRE PAPER<CR><LF>
LETTER<CR>LF>
<FF>
@PJL DINQUIRE ORIENTATION<CR><LF>
LANDSCAPE<CR><LF>
<FF>
Example 2 :
This example requests the PCL-specific settings.
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT ***Inquiring PCL settings*** <CR><LF>
@PJL ECHO 20:33:05 02-20-1993 <CR><LF>
@PJL DINQUIRE LPARM:PCL FONTSOURCE <CR><LF>
@PJL DINQUIRE LPARM:PCL FONTNUMBER <CR><LF>
<ESC>%-12345X
The printer may return the following response for the above
DINQUIRE
commands :
@PJL ECHO 20:33:05 02-20-1993 <CR><LF>
<FF>
@PJL DINQUIRE LPARM : PCL FONTSOURCE <CR><LF>
I<CR><LF>
<FF>
@PJL DINQUIRE LPARM : PCL FONTNUMBER <CR><LF>
15<CR><LF>
<FF>
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 from this command, because not receiving the response from 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>
Summary of Contents for HL-2600CN Series
Page 4: ......
Page 15: ...2009 06 29 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...2009 06 29 CHAPTER 1 INTRODUCTION 6 ...
Page 21: ...7 17 2009 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 129: ...2009 06 29 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 147: ...2009 06 29 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 200: ...2009 06 29 CHAPTER 4 HP GL 2 54 ...
Page 201: ...2009 06 29 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 276: ...2009 06 29 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 304: ...2009 06 29 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 325: ...2009 06 29 CHAPTER 7 IBM PROPRINTER 22 ...
Page 326: ...2009 06 29 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 337: ...2009 06 29 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 364: ...2009 06 29 CHAPTER 9 HP GL 28 ...
Page 365: ...2009 06 29 CARBON COPY FUNCTION 1 CHAPTER 10 CARBON COPY FUNCTION ...
Page 373: ...2009 06 29 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 475: ...2009 06 29 APPENDIX C HBP MODE COMMANDS 14 ...
Page 485: ...2009 06 29 APPENDIX D REFERENCE LIST OF MX 2000 4000 5000 7000 SERIES UNIQUE COMMANDS 10 ...