Command Summary LaserJet 4 (LJ4) Emulation Commands ... 5 GL/2 context commands ... 11 ESC/P 2 and FX Commands ... 15 ESC/P 2 mode ... 15 FX mode ... 20 PJL Commands ... 23 I239X Emulation Commands ... 24 Page format ... 24 Text ...
Page 4
Your printer has the ability to emulate the following printers in each printer mode: LJ-4 Hewlett-Packard LaserJet 4 (PCL5e) ESC/P2 EPSON LQ-570 (24-pin) EPSON FX-870/1170 (9-pin) GL/2 Hewlett-Packard GL/2 graphics language In addition, the following printer control languages are supported:...
LaserJet 4 (LJ4) Emulation Commands This section lists the printer commands supported in the LJ4 emulation mode. For more information on printer commands, see Hewlett-Packard’s LaserJet 4 reference manual. Job control Reset Number of copies Universal exit language Long-edge (left) offset registration...
Page 6
Page control Paper source Page size Page length Orientation Print direction Top margin Text length Left margin Right margin Clear horizontal margins Perforation skip Horizontal Motion Index (HMI) Vertical Motion Index (VMI) Line spacing Cursor positioning Vertical position Horizontal position Half line feed Line termination Push/pop position...
Page 7
Font selection Primary symbol set Secondary symbol set Primary spacing Secondary spacing Primary pitch Secondary pitch Set pitch mode Primary height Secondary height Primary style Secondary style Primary font stroke weight Secondary font stroke weight Primary typeface family Secondary typeface family Primary font default Secondary font default Enable underline...
Page 8
Font management Assign font ID Font and character control Set symbol set Define symbol set Symbol set control Select primary font with ID# Select secondary font with ID# Soft font creation Font descriptor Download character Character code Raster graphics Raster resolutions Raster graphics presentations Start raster graphics Raster Y offset...
Page 9
Print model Select current pattern Select source transparency mode Select pattern transparency mode Rectangle width (PCL unit) Rectangle width (decipoints) Rectangle height (PCL unit) Rectangle height (decipoints) Fill rectangular area User-defined pattern management/creation Pattern ID Define pattern User-defined pattern control Set pattern reference point Macros Macro ID...
Page 10
Status readback Set status readback location type Set status readback location unit Inquire status readback entity Flush all pages Free memory space Echo Programming hints End-of-line wrap Enable display functions Disable display functions PCL vector graphics switching/set-up picture frame Enter PCL mode Enter GL/2 mode GL/2 plot horizontal size GL/2 plot vertical size...
GL/2 context commands Dual context extensions Enter PCL mode Reset Primary font Secondary font Scalable or bitmapped fonts Palette extensions Transparency mode Screened vectors Number of Pens Vector group Arc absolute Arc relative Absolute arc three point Bezier absolute Bezier relative Plot absolute Plot relative Pen down...
Page 12
Polygon group Circle Fill rectangle absolute Fill rectangle relative Edge rectangle absolute Edge rectangle relative Fill wedge Edge wedge Polygon mode Fill polygon Edge polygon Command Summary |...
Page 13
Character group Select standard font Select alternate font Absolute direction Relative direction Absolute character size Relative character size Character slant Extra space Standard font definition Alternate font definition Character fill mode Label origin Label Define label terminator Character plot Transparent data Define variable text path Command Summary |...
Page 14
Line and fill attribute group Line type Line attribute Pen width Pen width unit selection Select pen Symbol mode Fill type Anchor corner Raster fill definition User defined line type Configuration and status group Scale Input window Input P1 and P2 Input relative P1 and P2 Default values Initialize...
ESC/P 2 and FX Commands This section lists the printer commands supported in the ESC/P 2 and FX emulation modes. ESC/P 2 mode General operation Initialize printer Control paper loading/ejecting Paper feeding Carriage return Form feed Line feed Select 1/8-inch line spacing...
Page 16
Page format Set page format Set page length in defined units Set page length in lines Set page length in inches Set bottom margin for continuous paper Cancel top/bottom margin for continuous paper Set left margin Set right margin Print position motion Set absolute horizontal print position Set relative horizontal print position Set absolute vertical print position...
Page 17
Font selection Select typeface Select font by pitch and point Select 10.5 point, 10 cpi Select 10.5 point, 12 cpi Select 10.5 point, 15 cpi Turn proportional mode on/off Select LQ or draft Select italic font Cancel italic font Select bold font Cancel bold font Master select Control code set/clear...
Page 19
Character handling Assign character table Select character table Select an international character set Define download character Copy ROM to RAM Select user-defined set Enable printing of upper control codes Enable upper control codes Print data as characters Bit image Selection and printing of bit image Select graphic mode Print raster graphics 8-bit single density bit image...
FX mode Printer commands arranged by topic The following section lists and describes all FX and LQ commands by topic. Printer operation Initialize printer Control paper loading/ejecting Data control Carriage return Vertical motion Form feed Set page length in lines...
Page 21
Horizontal motion Set absolute horizontal print position Set relative horizontal print position Set left margin Set right margin Tab horizontally Set horizontal tabs Overall printing style Select near letter quality or draft Select typeface family Master select The print quality and speed cannot be changed even if you Print size and character width...
Page 22
Copy ROM to RAM Select user-defined set The appearance of characters defined Printable code area expansion using ESC & may differ slightly from an actual FX printer. Command Summary | ESC E ESC F ESC G ESC H ESC S 0/1...
8-bit double speed double density bit image 8-bit double speed quad density bit image PJL Commands This section lists the available commands for printer job language mode (PJL). For more information on PJL, refer to the Printer Job Language Technical Reference Manual from Hewlett-Packard.
@PJL USTATUS variable = value [<CR>] <LF> USTATUSOFF @PJL USTATUSOFF [<CR>] <LF> @PJL [<CR>] <LF> I239X Emulation Commands This section lists the printer commands supported in the I239X emulation mode. For more information on these commands, see IBM’s 2390/2391 reference manual. Page format...
Page 25
Line spacing Set line space to 1/8-inch Set line space to 7/72-inch Activate line spacing for text Set line spacing for graphics (n/180, n/216, or n/360 inch) Set line spacing for text (n/72 inch) Unit definition Set vertical units (1/180, 1/216, or 1/360 inch) Set vertical tab stops Set default tab stops Set horizontal tab stops...
Page 26
Paper feeding/print position motion Carriage return Line feed Form feed Move paper vertically (n/180, n/216, or n/360 inch) Automatic line feed Reverse line feed Back space Space Horizontal tab Vertical tab Move current print position (1/120 inch) Set top of form Command Summary | ESC J ESC 5...
Text Font selection Select 10 pitch font Select 12 pitch font Start 17 cpi printing Start 17 cpi printing Proportional spacing Begin subscript/superscript End subscript/superscript Select font and pitch Select print or font Select character set 2 Select character set 1 Select page code Print one character Print character from A Code Page...
Page 28
Font enhancement Continuous overscore Continuous underline Score select Select print type style Begin double-width printing by line Begin double-width printing by line End double-width printing by line Double-width printing Begin empahsized (bold) print End emphasized (bold) print Begin double-strike print End double-strike print Bit image Normal density bit image graphics...
Auxiliary Functions Initialize Set initial conditions Data input control Cancel 1 line Auxiliary function Select paper tray AGM Mode Line spacing Set line spacing for graphics (n/180, n/216, or n/360 inch) Set line spacing for text (n/60 inch) Paper feeding/print position motion Move paper vertically (n/180, n/216, or n/360 inch) Line feed...
Page 30
Bit image Normal-density bit image graphics Double-density bit image graphics (half speed) Double-density bit image graphics (normal speed) High-density bit image graphics Graphic print mode Select graphic mode Command Summary | ESC K ESC L ESC Y ESC Z ESC [g ESC *...
Page 31
International Set for ISO sets ... 51 In ESC/P 2 or FX Modes ... 52 International Character Sets ... 59 Characters available with the ESC (^ command ... 60 In I239X Emulation Mode ... 61 In EPSON GL/2 Mode ... 61...
Introduction to Symbol Sets Your printer can access a variety of symbol sets. Many of these symbol sets differ only in the international characters specific to each language. Normally, your software When you are considering which font to use, you should also consider which handles fonts and symbol set to combine with the font.
Swedis2, Portuguese, WiTurkish MsPublishing IBM Portuguese, and VeMath IBM Spanish. These are DeskTop partial variations of the Math-8 Roman-8 set. WiE.Europe **Bitmap means the Line PcTk437 Printer typeface. Windows PsText IBM-US IBM-DN McText PcMultilingual VeInternational VeUS PiFont PcE.Europe Symbol WiAnsi...
Page 34
The 35 and 43 typefaces refer to those shown in the table below: Typefaces Flareserif 821 SWC Incised 901 SWC Clarendon Condensed SWC Ribbon 131 SWC Original Garamond SWC Audrey Two SWC Zapf Humanist 601 SWC Swiss 742 Condensed SWC Swiss 721 SWM Dutch 801 SWM Courier SWC...
Page 35
Symbol Sets | Roman-8 (8U) Roman Extension (0E)
International Set for ISO sets To obtain the symbol sets listed below, substitute the characters in the ANSI ASCII sets with the characters in the table below. ASCII code hex Iso set 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E ANSI ASCII (0U) Norweg 1 (0D) French (0F)
In ESC/P 2 or FX Modes PC 437, 850, 860, 863, 865 EPSON Roman Courier SWC EPSON Sans serif EPSON Prestige EPSON Script Letter Gothic SWC Swiss 721 SWM* Dutch 801 SWM* OCR B — OCR A — *Available only in ESC/P 2 mode.
Page 53
Symbol Sets | PC437 (U.S./Standard Europe)
Page 54
Symbol Sets | PC850 (Multilingual) PC860 (Portuguese)
Page 55
Symbol Sets | PC863 (Canadian-French) PC865 (Norwegian)
Page 56
Symbol Sets | PC857 (PcTurk2) PC852 (East Europe)
International Character Sets You can select one of the following international character sets using either SelecType or the ESC R command. For example, when you select “Italic France” in SelecType, the characters in the “France” row in the table below are used in the italic character table.
Available fonts are EPSON Sans Serif, Courier SWC, EPSON Prestige, EPSON Gothic, EPSON Presentor, EPSON Orator, and EPSON Script. In EPSON GL/2 Mode Available symbol sets in EPSON GL/2 mode are the same as those in LaserJet 4 emulation mode. Refer to the section on LaserJet 4 mode.