Brother International HL-L8350CDW Command Reference Guide for Software Develop - Page 279
STATUS category, Example, VARIABLES category
View all Brother International HL-L8350CDW manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 279 highlights
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 : %-12345X@PJL @PJL COMMENT the INFO STATUS command follows @PJL ECHO This is a sample 2-28-1993 19:10:00 @PJL INFO STATUS %-12345X 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 : %-12345X@PJL @PJL COMMENT the INFO VARIABLES command @PJL ECHO This is a sample 2-28-1993 19:35:00 @PJL INFO VARIABLES %-12345X 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 CHAPTER 5 PJL - 70