CHAPTER 5 PJL - 59
6.5.
Reset Command
The
PJL RESET
command resets the PJL Current Environment variables to the User Default values.
Use this command at the end of any PJL jobs in which the
PJL SET
command was used.
Syntax
@PJL RESET [<CR>]<LF>
Parameters
ï‚Ÿ
The
RESET
command has no parameters
ï‚Ÿ
When an application such as a Spooler or Print Data Generator uses the
SET
command to set PJL variables,
the application has to conclude with the
RESET
command (before the
UEL
command) to return the
variables to the previous state.
ï‚Ÿ
The
RESET
command resets the environment variables to their user default values.
In any case, the
RESET
command resets the PJL Current settings for all personalities to the User Default
values.
ï‚Ÿ
Use the
@PJL INFO VARIABLES
command to obtain valid variables and the range of values for each
variable. This command requests this information directly from the printer.
Examples
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT Reset variables to <CR><LF>
@PJL COMMENT control panel settings <CR><LF>
@PJL SET RESOLUTION = 300 <CR><LF>
@PJL SET RET = DARK <CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC>E ....PCL job ...<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT Reset to return to <CR><LF>
@PJL COMMENT control panel settings <CR><LF>
@PJL RESET <CR><LF>
<ESC>%-12345X
6.6.
Set Command
The
SET
command enables you to change the value of PJL Current Environment variables during a PJL job
until a PJL reset condition resets the default values.
Use this command to make a job-specific environment.
Syntax
@PJL SET [LPARM :
personality
] variable =
value
[<CR>]<LF>
ï‚Ÿ
LPARM :
Personality
This optional parameter is used to set personality(emulation) -specific environment variables.
ï‚Ÿ
variable =
value
This parameter sets one of the environment variables to the specified value.
For example,
@ PJL SET RESOLUTION = 300
command sets the current resolution to 300 dpi. For a list
of variables and values, see the following table.
ï‚Ÿ
Use the
@PJL INFO VARIABLES
to obtain valid variables and the range of values for each variable. This
command can request this information directly from the printer.
Parameters
ï‚Ÿ
The printer control panel setting values and the feature settings stored in NV-RAM are not affected by the
values modified with the
SET
command.
ï‚Ÿ
The setting values selected with the
SET
command are valid until the next PJL reset condition occurs.
ï‚Ÿ
If the SET command is used in a job, use the
RESET
command after the job to reset the printer to User
default settings.