Status category, Variables category – Brother HL-2170W User Manual
Page 277
CHAPTER 5 PJL - 73
7.5.4.
STATUS category
The application can use the @PJL INFO STATUS command to check the printer on-line/off-line status, the
current message on the LCD and a status code. The ONLINE=TRUE indicates the printer is online, while
the ONLINE=FALSE shows it is off-line. Refer to the list of the PJL Status Codes in the Appendix for the
meanings of the returned status codes.
Example
The application sends the following command to the printer :
@PJL COMMENT the INFO STATUS command follows
@PJL ECHO This is a sample 2-28-1993 19:10:00
@PJL INFO STATUS
The printer sends back the answer for the above command when BR-Script mode and letter sized paper are
selected and it is in idle status:
@PJL ECHO This is a sample 2-28-1993 19:10:00
@PJL INFO STATUS
CODE=10001
DISPLAY="00 IDLE 001P LT"
ONLINE=TRUE
7.5.5.
VARIABLES category
The application can send the @PJL INFO VARIABLES command to get a list of possible variables for
printer environment settings, possible language-specific variables, the current settings for both and the
possible values or range for those variables. Refer to the "Environment Variables" in Chapter 6 for more
information about the variables for the environment settings.
The language-specific variables returned from the printer depend on the current environment and are
indicated with LPARM: personality.
The value and options for the FONTSOURCE variable depend on the installed font sources such as
cartridge, downloaded permanent soft fonts.
The range of fonts listed for FONTNUMBER variable is only for the current font source. The upper limit
value of the range varies according to the number of fonts in the current font source.
Example
The application sends the following command to the printer :
@PJL COMMENT the INFO VARIABLES command
@PJL ECHO This is a sample 2-28-1993 19:35:00
@PJL INFO VARIABLES
The printer may send back the answer for the above command :
@PJL ECHO This is a sample 2-28-1993 19:35:00
@PJL INFO VARIABLES
COPIES=3 [2 RANGE]
1
999
PAPER=LETTER [9 ENUMERATED]
LETTER
LEGAL
A4
EXECUTIVE
MONARCH
COM10
- HL-1670N HL-6050D HL 5250DN HL-5070N HL-2460 HL-6050DN HL-2150N HL 2700CN HL-2130 HL-S7000DN HL-3040CN HL 1650 HL-6050 HL-5240 HL-5240L HL-1470N HL 3070CW HL 5170DN HL-3450CN HL-3140CW HL 5470DW HL-5140 HL-5440D HL-7050 HL-2240 HL-5040 HL-4070CDW HL-1870N HL-1110 HL-1850 HL 4150CDN HL-8050N HL 5450DN HL 5370DW HL-5050 HL-2140 HL 1270N HL-2600CN HL-6180DW HL-5350DN HL-4050CDN HL-2070N HL-3260N HL-5150D HL-5280DW HL-3170CDW HL-4570CDW HL-3150CDW HL 4040CN HL-4140CN HL 2240D HL 2270DW HL-1250 HL-7050N HL 5340D HL-2250DN HL-1450 HL-L9200CDWT HL-1112 HL-5270DN HL-5450DNT HL-L8250CDN HL 4570CDWT HL-5380DN HL-6180DWT HL-L8350CDW HL-4040CDN HL-L8350CDWT HL-2230 HL-5470DWT HL 2220 HL-1110E HL-1112E