Brother International HL-L8260CDW Command Reference Guide for Software Develop - Page 284
Example, JOB variables
View all Brother International HL-L8260CDW manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 284 highlights
Status code 10000 - 10999 11000 - 11999 20000 - 20999 25000 - 25999 27000 - 27999 30000 - 30999 Status code 35000 - 25999 40000 - 40999 41000 - 41999 Status Status information such as printer on-line or off-line. Status of available paper in paper input sources, such as paper empty and auto-switching to another paper source. PJL parser errors. The entire command line of a PJL command is ignored when an error (except for code 20004 ) occurs. PJL parser errors. Part of a PJL command is ignored when the error occurs. PJL semantic errors, which means that they are grammatically acceptable but cannot be executed. For example, attempting to lock the only unlocked paper tray causes this error. Errors which do not stop the printing procedure if the CONTINUE is set to AUTO (auto continue mode). If the CONTINUE mode is set to STOP, the printer stops printing and goes to off-line status and only resumes when the CONTINUE or SEL key are pressed. Status Errors which may cause incorrect printing results, such as loss of some print data on a page. The operator's intervention may be required. Errors such as paper empty, cover open or paper jams which suspend printing until the operator takes the corresponding corrective action. Errors in the paper source such as running out of paper in the current paper tray and none available from any other paper sources. Example Example 1 : The application sends the following command to the printer : %-12345X@PJL @PJL USTATUS DEVICE = VERBOSE %-12345X The printer may send back the answer for the above command : @PJL USTATUS DEVICE CODE=40021 DISPLAY='12 COVER OPEN ' ONLINE=FALSE Example 2 : When the following wrong PJL command is sent : %-12345X@PJL @PJL USTATUS DEVICE = VERBOSE @PJL ECO wrong sample 3-6-1993 23:12:00 %-12345X The printer may send back the answer for the above command : @PJL USTATUS DEVICE CODE=20002 7.6.2. JOB variables The @PJL USTATUS JOB = ON command allows the printer to send the job processing status. This is sent to the application whenever a JOB and EOJ command is issued so that the application knows when a job starts and ends. Example The application sends the following commands to the printer. %-12345X@PJL @PJL USTATUS JOB = ON @PJL JOB NAME = "JOB 88554" %-12345X@PJL @PJL ENTER LANGUAGE = PCL E . . . PCL Job . . . E %-12345X %-12345X@PJL @PJL EOJ NAME = "JOB 88554" %-12345X CHAPTER 5 PJL - 75