C7085-90921 Chapter 7 Troubleshooting 269
AUTOEXEC.BAT standard configurations
Parallel DOS commands
Ensure that the AUTOEXEC.BAT file contains the following statements for parallel interface
communications:
MODE LPT1: ,,P
For MS-DOS version 4.0 and above:
MODE LPT1: ,,B
Note This example assumes that you are using parallel printer port LPT1. If you are using LPT2 or LPT3,
replace LPT1 in the example with the appropriate printer port.
Printer Job Language (PJL) commands
See the HP Printer Job Language Technical Reference Manual for a complete description of PJL
commands. This manual is available with the HP PCL/PJL Reference Set on CD-ROM, part number
5021-0337.
@PJL [Enter]
This command enables the specified printer language. If the printer does not receive this command it
enables the default language. This ensures the correct operation applications that do not support
PJL. The command syntax is:
@PJL [Enter] LANGUAGE = {PCL/PostScript} [<CR>] <LF>
UEL (universal exit language)
This command (also referred to as the universal exit language command) terminates the current
printer language and returns control to PJL. It performs the following actions:
• Prints all data received before this command.
• Performs a reset: <esc>E in PCL, <cntrl>D in PostScript.
• Turns control over to PJL.
This command is also a valid HP-GL/2 terminator.
The UEL command must be immediately followed by the “@PJL” command prefix. Characters or
control codes other than @PJL (such as <CR> or <LF>), enable the default language and process
the print job in that language. All jobs must begin and end with the UEL command. Besides entering
PJL, the UEL command has the same effect as the <esc>E command. However, the <esc>E
command should always be included to ensure backward compatibility.
@PJL COMMENT
This command designates the current line as a comment, which is ignored. The syntax is:
@PJL COMMENT <words> [<CR>] <LF>
@PJL INFO CONFIG
This command solicits a response to describe the installed options and allows the printer to
automatically configure the installed options as the applications require.