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.
?
%-12345X@PJL<CR><LF>
@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>
?
E
?
&l1x1s1h2a0o8c6e54F
?
&a5L
?
(0U
?
(s1p9vs3b41
~
01T
The commands in the above example are explained in more
detail in the PCL 5 and PJL technical reference manuals.
Printer-Specific Differences 2-49
Summary of Contents for PCL 5
Page 8: ...Contents 4 ...
Page 174: ...5 8 Memory Usage ...
Page 198: ...A 24 Printer Commands ...
Page 201: ...8U Roman 8 R8 7J DeskTop DT Internal Symbol Set Charts B 3 ...
Page 202: ...0N ISO 8859 1 Latin 1 E1 19U Windows 3 1 Latin 1 W1 B 4 Internal Symbol Set Charts ...
Page 203: ...12U PC 850 Multilingual PM 10U PC 8 Code Page 437 PC Internal Symbol Set Charts B 5 ...
Page 204: ...12J MC Text MC 10J PS Text TS B 6 Internal Symbol Set Charts ...
Page 205: ...11U PC 8 Danish Norwegian PD 13J Ventura International VI Internal Symbol Set Charts B 7 ...
Page 206: ...1U Legal LG 14J Ventura US VU B 8 Internal Symbol Set Charts ...
Page 207: ...6J Microsoft Publishing PG 9U Windows 3 0 Latin 1 WO Internal Symbol Set Charts B 9 ...
Page 208: ...17U PC 852 Latin 2 PE 9T PC Turkish PT B 10 Internal Symbol Set Charts ...
Page 209: ...9E Windows 3 1 Latin 2 WE 2N ISO 8859 2 Latin 2 E2 Internal Symbol Set Charts B 11 ...
Page 210: ...5N ISO 8859 9 Latin 5 E5 5T Windows 3 1 Latin WT B 12 Internal Symbol Set Charts ...
Page 211: ...9J PC 1004 Code Page 1004 PU 26U PC 775 Code Page 775 PV Internal Symbol Set Charts B 13 ...
Page 212: ...19L Windows Baltic WL 6N ISO 8859 10 Latin 6 E6 B 14 Internal Symbol Set Charts ...
Page 213: ...6M Ventura Math VM 8M Math 8 M8 Internal Symbol Set Charts B 15 ...
Page 214: ...5M PS Math MS 15U Pi Font PI B 16 Internal Symbol Set Charts ...
Page 215: ...19M Symbol Font AS 579L Wingdings Font L Internal Symbol Set Charts B 17 ...
Page 216: ...9L Ventura ITC Zapf Dingbats DV 10L PS ITC Zapf Dingbats DS B 18 Internal Symbol Set Charts ...
Page 218: ...13L ITC Zapf Dingbats series 300 D3 B 20 Internal Symbol Set Charts ...
Page 221: ...Table B 2 Roman 8 Character Conversion Internal Symbol Set Charts B 23 ...
Page 222: ...Table B 2 Roman 8 Character Conversion continued B 24 Internal Symbol Set Charts ...
Page 223: ...Table B 2 Roman 8 Character Conversion continued Internal Symbol Set Charts B 25 ...
Page 224: ...Table B 2 Roman 8 Character Conversion continued B 26 Internal Symbol Set Charts ...
Page 225: ...Table B 2 Roman 8 Character Conversion continued Internal Symbol Set Charts B 27 ...
Page 226: ...Table B 2 Roman 8 Character Conversion continued B 28 Internal Symbol Set Charts ...
Page 227: ...Table B 2 Roman 8 Character Conversion continued Internal Symbol Set Charts B 29 ...
Page 228: ...B 30 Internal Symbol Set Charts ...