Homelite HL-1250, HL-P2500, HL-1660E, HL-2400CE, HL-1450, HL-1050 Echo Command, @PJL Echo words Crlf

Models: HL-1250 HL-1270N HL-1470N 2400C HL-1050 HL-P2500 2060 HL-1660E HL-1070 HL-1450 HL-2400CE

1 431
Download 431 pages 8 Kb
Page 236
Image 236

10/10/03

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>

CHAPTER 5 PJL - 42

Page 236
Image 236
Homelite HL-1250, HL-P2500, HL-1660E, HL-2400CE, HL-1450, HL-1050, HL-1470N, HL-1070, 2060 Echo Command, @PJL Echo words Crlf