CHAPTER 5 PJL - 14
Example
<ESC>%-12345X@PJL<CR><LF>
@PJL JOB NAME = "KKK data from spooler" <CR><LF>
<ESC>%-12345X@PJL<CR><LF>
@PJL COMMENT Postscript Job <CR><LF>
@PJL JOB NAME = "YYY data from spooler 2" <CR><LF>
@PJL ENTER LANGUAGE = POSTSCRIPT <CR><LF>
%!PS.......PS
JOB........^D
<ESC>%-12345X@PJL<CR><LF>
@PJL EOJ NAME = "End of YYY data" <CR><LF>
<ESC>%-12345X@PJL <CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC>E.........PCL JOB........<ESC>E
<ESC>%-12345X@PJL <CR><LF>
@PJL EOJ NAME = "End of KKK" <CR><LF>
<ESC>%-12345X@PJL <CR><LF>
5.3.
EOJ Command
The
EOJ
command indicates to the printer that the job is completed. You must use this command whenever
you use the JOB command.
Note:
JOB and EOJ command always are used in pairs. You must not use one without the other.
Syntax
@PJL EOJ [
NAME = "job name"
] [<CR>]<LF>
NAME = "
job name
"
The
EOJ
command can name the print job. The job name is a string and must be enclosed in double quotes
in the command syntax. The job name need not be same as the "job name" of the
JOB
command. If the
NAME option is described, the unsolicited end-of-job status includes the job name. Job names can use
printable characters (ASCII 33-255) and spaces or horizontal tab characters up to a maximum of 80
characters.
The
EOJ
command indicates the end of a job.
Resets the PJL Current Environment variables to the default values.
Terminates the non-printing mode.
When the
EOJ
command is received, the printer returns unsolicited job status information.
The
EOJ
command resets the page number associated with unsolicited page status.
Example
<ESC>%-12345X@PJL<CR><LF>
@PJL JOB NAME = "KKK data from spooler" <CR><LF>
<ESC>%-12345X@PJL<CR><LF>
@PJL COMMENT Postscript Job <CR><LF>
@PJL JOB NAME = "YYY data from spooler 2" <CR><LF>
@PJL ENTER LANGUAGE = POSTSCRIPT <CR><LF>
%!PS.......PS
JOB........^D
<ESC>%-12345X@PJL<CR><LF>
@PJL EOJ NAME = "End of YYY data" <CR><LF>
<ESC>%-12345X@PJL<CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC>E.........PCL JOB........<ESC>E
<ESC>%-12345X@PJL<CR><LF>
@PJL EOJ NAME = "End of KKK" <CR><LF>
<ESC>%-12345X
Summary of Contents for HL-4140CN
Page 4: ......
Page 15: ...CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 137: ...CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 155: ...CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 208: ...CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 285: ...CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 313: ...CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 334: ...CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 346: ...CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 373: ...CHAPTER 10 CARBON COPY FUNCTION 1 CHAPTER 10 CARBON COPY FUNCTION ...
Page 383: ...APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 490: ...APPENDIX C HBP MODE COMMANDS 1 APPENDIX C HBP MODE COMMANDS For HL 820 1020 1040 Only ...