Brother HL-3040CN Reference Guide

Page of 512
CHAPTER 5 PJL - 8 
2. 
HOW TO USE PJL 
2.1.  Overview 
PJL resides "above" printer languages such as Postscript and PCL.  Each job can be distinguished from the 
other jobs by PJL, and it can switch between PJL commands and printer language commands for each job. 
 
PJL Code 
PCL Job 
PJL Code 
Postscript Job 
PJL Code 
 
2.2.  PJL Job Requirement 
Some conditions are required in order for PJL commands to work correctly.  Jobs which follow these 
conditions will work correctly with a PJL printer in both single user and network environments. 
 
All PJL jobs must begin and end with a UEL command.   
 
The @PJL prefix must be placed immediately after the UEL command which starts PJL jobs, and can be 
followed by <CR> and <LF>.  Characters, including control characters, must not be placed between the 
UEL command and the @PJL prefix.  
 
Nothing must be placed after the UEL command which ends a PJL job. 
 
<LF> is required to terminate all PJL commands.  <CR>  can be placed before <LF>, however, <CR> is 
optional and is ignored.  
 
Blank lines must not exist. If a blank line is required, the  @PJL <CR><LF> line can be used.