6.3. Default Command; 6.4. Initialize Command; Default Command - Page 267

Brother HL-2140 Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

CHAPTER 5 PJL - 58 

6.3.

 

Default Command 

The 

DEFAULT

 command changes the User-Default environment which is stored in NV-RAM and it is 

activated following a PJL reset condition.  The current print environment is not affected by the 

DEFAULT

 

command, but  when a PJL reset condition happens, this command takes effect. This doesn't change the 
current print environment, but is activated when a PJL reset condition happens. 

It is recommended to restrict the use of the 

DEFAULT

 command when the printer is shared by several users 

such as in a network environment. This allows use of the standard print environment and avoids changing 
default features for each print job.   If you have to change the default for a particular print job, use the 

SET

 

command. 

Syntax  

@PJL DEFAULT [LPARM : 

personality

] variable = value [<CR>]<LF> 

 

ï‚Ÿ

 

LPARM : 

Personality

 

This optional parameter is used to set personality-specific (emulation) environment variables.   

ï‚Ÿ

 

variable = 

Value

  

This parameter is used to set one of the environment variables to the specified value.   For example, the 

PJL DEFAULT RESOLUTION = 300

 command sets the user-default resolution to 300 dpi. Use the 

@PJL 

INFO VARIABLES

 command to obtain valid variables and the range of values for each variable. This 

command can request the information directly from the printer. 

 

Example 

<ESC>%-12345X@PJL <CR><LF> 
@PJL COMMENT Control Panel Defaults <CR><LF> 
@PJL DEFAULT PAGEPROTECT = LEGAL <CR><LF> 
@PJL DEFAULT LPARM : PCL SYMSET = PC850 <CR><LF> 
@PJL RESET <CR><LF> 
<ESC>%-12345X 

 

6.4.

 

Initialize Command 

The 

INITIALIZE

 command resets the PJL Current Environment and User Default Environment variables to 

the Factory Default values. I/O configuration values and the unsolicited status settings are not affected by 
this command. 

It is recommended to restrict the use of the INITIALIZE command when the printer is shared by several 
users such as in a networking environment in order to use a standard environment and avoid having default 
features changed by different print jobs. 

Syntax : 

@PJL INITIALIZE [<CR>]<LF> 

 

Parameters : 

ï‚Ÿ

 

The 

INITIALIZE

 command has no parameters. 

ï‚Ÿ

 

The 

INITIALIZE

 command resets the following environment variables to the Factory Default values. 

ï‚Ÿ

 

If any additional personality (emulation) is added to the printer, the printer may support more personality-
specific variables than the variables listed.  In any case, the 

INITIALIZE

 command resets the PJL Current 

and User Default environment values for all personalities to their factory default. 

 

Example : 

<ESC>%-12345X@PJL <CR><LF> 
@PJL COMMENT setting to <CR><LF> 
@PJL COMMENT factory defaults <CR><LF> 
@PJL INITIALIZE <CR><LF> 
<ESC>%-12345X 

Detailed Information for Brother HL-2140 Command Reference Guide for Software Developers

Lists of information found in Brother HL-2140 Command Reference Guide for Software Developers - Page 267

  • 6.3.
  • 6.4.

Related Documents for Brother HL-2140 Command Reference Guide for Software Developers