Download Print this page

HP PCL 5 User Manual: Hp Laserjet 4pj Programming Tips

Hp pcl 5 printer-accessory: user guide.
Hide thumbs

Advertisement

HP LaserJet 4PJ Programming Tips

This section provides programming tips concerning specific
considerations for the HP LaserJet 4PJ printer. This section covers
general print job initialization, font metric calculation, vertical writing,
and other issues which are pertinent to printing Japanese text on the
HP LaserJet 4PJ printer using PCL 5.
General Print Job Initialization
This example demonstrates the general print job initialization
procedure for the HP LaserJet 4PJ printer, which is slightly different
than that used for other HP LaserJet printers.
Output from pre-LaserJet 4PJ PCL drivers (for example, a
HP LaserJet 4P driver) will only print correctly on the
HP LaserJet 4PJ printer if the default PCL symbol set is set to a value
other than the Japanese Windows 3.1 (Win3.1J) symbol set. This is
because the default PCL text parsing method is set based on the
default PCL symbol set. When the default PCL symbol set is set to
Win3.1J, the default text parsing method is Shift-JIS parsing; for any
other value, such as Roman-8, the default text parsing method is
1-byte parsing. To set the default PCL symbol set value, use PJL or
the control panel.
The first example given here is nearly identical to the initialization
used for other HP LaserJet 4 family printers. The only difference is
that it includes a PJL command to set the default PCL symbol set to
Roman-8.
?
@PJL SET RESOLUTION=600<CR><LF>
@PJL PAGEPROTECT=OFF<CR><LF>
@PJL RET=MEDIUM<CR><LF>
@PJL COMMENT *** This command is added ***
@PJL SET LPARM:PCL SYMSET=ROMAN8<CR><LF>
@PJL ENTER LANGUAGE=PCL<CR><LF>
?
~
The commands in the above example are explained in more detail in
the PCL 5 and PJL technical reference manuals.
2-48 Printer-Specific Differences
%-12345X@PJL<CR><LF>
?
E
&l1x1s1h2a0o8c6e54F
01T
?
?
?
&a5L
(0U
(s1p9vs3b41
ENWW

Advertisement

   Also See for HP PCL 5

This manual also for:

3200se - laserjet all-in-one b/w laser 3300mfp - laserjet b/w laser 1220 - laserjet b/w laser 3015 - laserjet b/w laser 3030 - laserjet b/w laser 3330mfp - laserjet b/w laser... Show all

Comments to this Manuals

Symbols: 0
Latest comments: