💾 Archived View for spam.works › mirrors › textfiles › computers › pcl100.txt captured on 2023-06-14 at 16:04:36.
-=-=-=-=-=-=-
; ; ;-- 22-Dec-88 <-Latest Change ------------------------------------------------ ; ; This file is intended to serve two purposes: ; ; 1) To provide a reference to the myriad of ESCAPE codes used in the ; Hewlett Packard printer control language (PCL) for the various ; models of HP Laser Printers. ; ; 2) As a data file for a series of utilities that operate on PCL files ; to display the contents in an intelligable manner and provide some ; filtering and editing capabilities. (Utilities are in the works!) ; ; The primary source of information for this file has been the HP LaserJet ; Series II Technical Reference Manual and other various sources such as the ; file ESC_CODE.ARC by S. Noh (SYSOP Form Feed LaserJet BBS (210) 869-1327) ; found on many bulletin boards. ; ; The list as presented is sorted on Functional Area, then by Escape code ; sequence. You can easily adjust this by passing the file through the ; DOS or other SORT utility of your choice. ; ; To enable this document to stay up to date, I encourage anybody with ; knowledge greater than mine to add any codes they know of to the list, ; but to retain the format provided as this will be expected by the PCL ; utilities when they are done. Where the availability on a printer model ; is unknown, a ? appears in the availability column. For those codes ; that have a user defined numeric field, the comment ends with "= #'. ; This will cause the PCL display utility to fill in the value when ; analyzing the PCL file. ; ; The original file name that I have distributed is called PCL100.ARC. In ; order to keep some track of the state of updates to the file I suggest ; that if you upload it without any changes to another board, you retain ; the same name, if you contribute some additional information, add one ; to the file name (i.e. PCL101.ARC). A history section is provided at ; the end of the file for you to record your name and any additional info ; you think may be useful to others on this topic (optional). Just start ; line with a semicolon (;) to indicate that it is a comment. ; ; Lindsey S. Mundy | EXEC-PC Board (414) 964-5160 Bob Mahoney SYSOP ; 5913 View Lane, | or ; Edina, MN 55436 | Terrapin Station (612) 623-0152 Howard Eckman SYSOP ; ;----------------------------------------------------------------------------- ; ; ; ;----------------------------------------------------------------------------- ; General ESC code format: ; ; {esc} p s nnn t where ; ; p - the primary field Normally a symbol (* & etc.) ; s - the secondary field Normally a lower case letter ; nnn - numeric value field Optional variable width numeric ; t - terminator field Normally a upper case letter (plus @) ; ; ; /-----2-- Available on LaserJet Series II \ ; |/----D-- Available on LaserJet Series IID | x = not available ; ||/---P-- Available on LaserJet Plus > ; |||/--5-- Available on LaserJet 500 | ? = unknown ; ||||/-L-- Available on LaserJet / ; ||||| ; ||||| ;-------------|||||------------------------------------------------------------ ;p s nnn t | ||||| | Functional Area | Detailed Description ;------------------------------------------------------------------------------ & d @ | 2???? | Auto-underlining------- Disable & d D | x???? | Auto-underlining------- Enable & d 0 D | 2???? | Auto-underlining------- Enable Fixed & d 3 D | 2???? | Auto-underlining------- Enable Floating = | 2???? | Cursor Position-------- Half Line Feed & a # C | 2???? | Cursor Position-------- Horizontal Column = # & a # H | 2???? | Cursor Position-------- Horizontal Decipoint = # & a # R | 2???? | Cursor Position-------- Vertical Row = # & a # V | 2???? | Cursor Position-------- Vertical Decipoints = # & f 0 S | 2???? | Cursor Position-------- Push Position & f 1 S | 2???? | Cursor Position-------- Pop Position * p # X | 2???? | Cursor Position-------- Horizontal Position: Dots = # * p # Y | 2???? | Cursor Position-------- Vertical Position: Dots = # Y | 2???? | Display Functions Mode- Enable Z | 2???? | Display Functions Mode- Disable * c # D | 2???? | Font Management-------- Assign Font ID = # * c 0 F | 2???? | Font Management-------- Delete All Fonts * c 1 F | 2???? | Font Management-------- Delete All Temporary Fonts * c 2 F | 2???? | Font Management-------- Delete Last Font ID Specified * c 4 F | 2???? | Font Management-------- Make Font Temporary * c 5 F | 2???? | Font Management-------- Make Font Permanent & k 0 S | 2???? | Font Pitch------------- 10.00 (Primary & Secondary) & k 2 S | 2???? | Font Pitch------------- 16.66 (Primary & Secondary) ( 3 @ | 2???? | Font Pitch------------- Default Font = Primary ) 3 @ | 2???? | Font Pitch------------- Default Font = Secondary ( # X | 2???? | Font Selection--------- Primary Font ID = # ) # X | 2???? | Font Selection--------- Secondary Font ID = # & k 0 G | 2???? | Line Term-------------- CR=CR, LF=LF, FF=FF & k 1 G | 2???? | Line Term-------------- CR=CR+LF, LF=LF, FF=FF & k 2 G | 2???? | Line Term-------------- CR=CR, LF=CR+LF, FF=CR+FF & k 3 G | 2???? | Line Term-------------- CR=CR+LF, LF=CR+LF, FF=CR+FF & f 0 X | 2???? | Macro Control---------- Start Macro Definition ;----------------------------------------------------------------------------- ; ; ;------------------------------------------------------------------------------ ;p s nnn t | 2DP5L | Functional Area | Detailed Description ;------------------------------------------------------------------------------ & f 1 X | 2???? | Macro Control---------- Stop Macro Definition & f 2 X | 2???? | Macro Control---------- Execute Macro & f 3 X | 2???? | Macro Control---------- Call Macro & f 4 X | 2???? | Macro Control---------- Enable Overlay & f 5 X | 2???? | Macro Control---------- Disable Overlay & f 6 X | 2???? | Macro Control---------- Delete Macros & f 7 X | 2???? | Macro Control---------- Delete All Temp. Macros & f 8 X | 2???? | Macro Control---------- Delete Macro ID & f 9 X | 2???? | Macro Control---------- Make Temporary & f 10 X | 2???? | Macro Control---------- Make Permanent & f # Y | 2???? | Macro Control---------- Macro ID = # 9 | 2???? | Margin Control--------- Clear Horizontal Margins & a # L | 2???? | Margin Control--------- Left Margin Column = # & a # M | 2???? | Margin Control--------- Right Margin Column = # & l # E | 2???? | Margin Control--------- Top Margin Lines = # & l # F | 2???? | Margin Control--------- Text Lenght Lines = # & k # H | 2???? | Motion Control--------- Horizontal Motion (1/20") HMI = # & l # C | 2???? | Motion Control--------- Vertical Spacing (1/48) VMI = # & l 1 D | 2???? | Motion Control--------- Vertical Spacing Lines = 1 & l 2 D | 2???? | Motion Control--------- Vertical Spacing Lines = 2 & l 3 D | 2???? | Motion Control--------- Vertical Spacing Lines = 3 & l 4 D | 2???? | Motion Control--------- Vertical Spacing Lines = 4 & l 6 D | 2???? | Motion Control--------- Vertical Spacing Lines = 6 & l 8 D | 2???? | Motion Control--------- Vertical Spacing Lines = 8 & l 12 D | 2???? | Motion Control--------- Vertical Spacing Lines = 12 & l 16 D | 2???? | Motion Control--------- Vertical Spacing Lines = 16 & l 24 D | 2???? | Motion Control--------- Vertical Spacing Lines = 24 & l 48 D | 2???? | Motion Control--------- Vertical Spacing Lines = 48 & l 1 A | 2???? | Page Size Select------- Executive & l 2 A | 2???? | Page Size Select------- Letter & l 3 A | 2???? | Page Size Select------- Legal & l 26 A | 2???? | Page Size Select------- European A4 & l 80 A | 2???? | Page Size Select------- Monarch & l 81 A | 2???? | Page Size Select------- Commercial 10 & l 90 A | 2???? | Page Size Select------- International DL & l 91 A | 2???? | Page Size Select------- International C5 & l 0 O | 2???? | Page Size Select------- Portrait Orientation & l 1 O | 2???? | Page Size Select------- Landscape Orientation & l # P | 2???? | Page Size Select------- Length Lines = # & l # X | 2???? | Page Size Select------- Number of Copies = # & l 0 H | 2???? | Paper Input Control---- Eject Page & l 1 H | 2???? | Paper Input Control---- Feed from Tray & l 2 H | 2???? | Paper Input Control---- Manual Feed & l 3 H | 2???? | Paper Input Control---- Manual Envelope Feed & l 0 L | 2???? | Perforation Skip------- Disable & l 1 L | 2???? | Perforation Skip------- Enable ( s # H | 2???? | Primary Font Pitch----- Characters / Inch (CPI) = # ( s # V | 2???? | Primary Point Size----- Points = # ( s 0 P | 2???? | Primary Spacing-------- Fixed ( s 1 P | 2???? | Primary Spacing-------- Proportional ( s 0 B | 2???? | Primary Stroke Weight-- Medium ( s 3 B | 2???? | Primary Stroke Weight-- Bold ;----------------------------------------------------------------------------- ; ; ;------------------------------------------------------------------------------ ;p s nnn t | 2DP5L | Functional Area | Detailed Description ;------------------------------------------------------------------------------ ( s 0 S | 2???? | Primary Style---------- Upright ( s 1 S | 2???? | Primary Style---------- Italic ( 0 A | 2???? | Primary Symbol Set----- HP Math 7 ( 0 B | 2???? | Primary Symbol Set----- HP Linedraw ( 0 D | 2???? | Primary Symbol Set----- ISO 60: Norwegian 1 ( 1 D | 2???? | Primary Symbol Set----- ISO 61: Norwegian 2 ( 0 E | 2???? | Primary Symbol Set----- HP Roman Extension ( 1 E | 2???? | Primary Symbol Set----- ISO 4: United Kingdom ( 0 F | 2???? | Primary Symbol Set----- ISO 25: French ( 1 F | 2???? | Primary Symbol Set----- ISO 69: French ( 0 G | 2???? | Primary Symbol Set----- HP German ( 1 G | 2???? | Primary Symbol Set----- ISO 21: German ( 8 G | 2???? | Primary Symbol Set----- HP Greek8 ( 0 I | 2???? | Primary Symbol Set----- ISO 15: Italian ( 0 K | 2???? | Primary Symbol Set----- ISO 14: JIS ASCII ( 1 K | 2???? | Primary Symbol Set----- HP Katakana ( 2 K | 2???? | Primary Symbol Set----- ISO 57: Chinese ( 8 K | x???? | Primary Symbol Set----- Kana-8 ( 0 M | 2???? | Primary Symbol Set----- HP Math 7 ( 1 M | 2???? | Primary Symbol Set----- Technical ( 8 M | 2???? | Primary Symbol Set----- HP Math8 ( 0 N | 2???? | Primary Symbol Set----- ISO100: ECMA-94 (Latin 1) ( 0 O | 2???? | Primary Symbol Set----- OCR-A ( 1 O | 2???? | Primary Symbol Set----- OCR-B ( 0 S | 2???? | Primary Symbol Set----- ISO 11: Swedish ( 1 S | 2???? | Primary Symbol Set----- HP Spanish ( 2 S | 2???? | Primary Symbol Set----- ISO 17: Spanish ( 3 S | 2???? | Primary Symbol Set----- ISO 10: Swedish ( 4 S | 2???? | Primary Symbol Set----- ISO 16: Portuguese ( 5 S | 2???? | Primary Symbol Set----- ISO 84: Portuguese ( 6 S | 2???? | Primary Symbol Set----- ISO 85: Spanish ( 0 U | 2???? | Primary Symbol Set----- ISO 6: ASCII ( 1 U | 2???? | Primary Symbol Set----- HP Legal ( 2 U | 2???? | Primary Symbol Set----- ISO 2: IRV ( 7 U | 2???? | Primary Symbol Set----- OEM-1 ( 8 U | 2???? | Primary Symbol Set----- HP Roman-8 ( 9 U | x???? | Primary Symbol Set----- ANSI ( 10 U | 2???? | Primary Symbol Set----- PC-8 ( 11 U | 2???? | Primary Symbol Set----- PC-8 (D/N) ( 15 U | 2???? | Primary Symbol Set----- HP Pi Font ( s 0 T | 2???? | Primary Typeface------- Lineprinter ( s 3 T | 2???? | Primary Typeface------- Courier ( s 4 T | 2???? | Primary Typeface------- Helvetica ( s 5 T | 2???? | Primary Typeface------- Times Roman ( s 6 T | 2???? | Primary Typeface------- Letter Gothic ( s 8 T | 2???? | Primary Typeface------- Prestige ( s 11 T | 2???? | Primary Typeface------- Presentation ( s 17 T | 2???? | Primary Typeface------- Optima ( s 18 T | 2???? | Primary Typeface------- ITC Garamond ( s 19 T | 2???? | Primary Typeface------- Cooper Black ( s 20 T | 2???? | Primary Typeface------- Coronet Bold ( s 21 T | 2???? | Primary Typeface------- Broadway ( s 22 T | 2???? | Primary Typeface------- Bodini Condensed ;----------------------------------------------------------------------------- ; ; ;------------------------------------------------------------------------------ ;p s nnn t | 2DP5L | Functional Area | Detailed Description ;------------------------------------------------------------------------------ ( s 23 T | 2???? | Primary Typeface------- Century Schoolbook ( s 24 T | 2???? | Primary Typeface------- University Roman E | 2???? | Printer Control-------- RESET * b # W | 2???? | Raster Graphics-------- Transfer Data: Rows = # * r 0 A | 2???? | Raster Graphics-------- Start - Left Graphic Margin * r 1 A | 2???? | Raster Graphics-------- Start - Current Cursor Position * r B | 2???? | Raster Graphics-------- End Graphics * t 75 R | 2???? | Raster Graphics-------- Resolution 75 Dots/Inch * t 100 R | 2???? | Raster Graphics-------- Resolution 100 Dots/Inch * t 150 R | 2???? | Raster Graphics-------- Resolution 150 Dots/Inch * t 300 R | 2???? | Raster Graphics-------- Resolution 300 Dots/Inch * c # A | 2???? | Rectangular Area Fill-- Rectangle Width: Dots = # * c # B | 2???? | Rectangular Area Fill-- Rectangle Height: Dots = # * c 1 G | 2???? | Rectangular Area Fill-- Fill Pattern 1 Horizontal Line * c 2 G | 2???? | Rectangular Area Fill-- Fill Pattern 2% Gray / 2 Vert Lines * c 3 G | 2???? | Rectangular Area Fill-- Fill Pattern 3 Diagonal Lines * c 4 G | 2???? | Rectangular Area Fill-- Fill Pattern 4 Diagonal Lines * c 5 G | 2???? | Rectangular Area Fill-- Fill Pattern 5 Square Grid * c 6 G | 2???? | Rectangular Area Fill-- Fill Pattern 6 Diagonal Grid * c 10 G | 2???? | Rectangular Area Fill-- Fill Pattern 10% Gray * c 15 G | 2???? | Rectangular Area Fill-- Fill Pattern 15% Gray * c 30 G | 2???? | Rectangular Area Fill-- Fill Pattern 30% Gray * c 45 G | 2???? | Rectangular Area Fill-- Fill Pattern 45% Gray * c 70 G | 2???? | Rectangular Area Fill-- Fill Pattern 70% Gray * c 90 G | 2???? | Rectangular Area Fill-- Fill Pattern 90% Gray * c 100 G | 2???? | Rectangular Area Fill-- Fill Pattern 100% Gray * c # H | 2???? | Rectangular Area Fill-- Rectangle Width: Decipoints = # * c 0 P | 2???? | Rectangular Area Fill-- Select Fill = Rule * c 2 P | 2???? | Rectangular Area Fill-- Select Fill = Gray Scale * c 3 P | 2???? | Rectangular Area Fill-- Select Fill = HP Pattern * c # V | 2???? | Rectangular Area Fill-- Rectangle Height: Decipoints = # ) s # H | x???? | Secondary Font Pitch--- Characters/Inch (CPI) = # ) s # V | x???? | Secondary Point Size--- Point = # ) s 0 P | x???? | Secondary Spacing------ Fixed ) s 1 P | x???? | Secondary Spacing------ Proportional ) s 0 B | x???? | Secondary Stroke Wt.--- Meduim ) s 3 B | x???? | Secondary Stroke Wt.--- Bold ) s 0 S | x???? | Secondary Style-------- Upright ) s 1 S | x???? | Secondary Style-------- Italic ) 0 A | x???? | Secondary Symbol Set--- HP Math 7 ) 0 B | x???? | Secondary Symbol Set--- HP Linedraw ) 0 D | x???? | Secondary Symbol Set--- ISO 60: Norwegian 1 ) 1 D | x???? | Secondary Symbol Set--- ISO 61: Norwegian 2 ) 0 E | x???? | Secondary Symbol Set--- HP Roman Extension ) 1 E | x???? | Secondary Symbol Set--- ISO 4: United Kingdom ) 0 F | x???? | Secondary Symbol Set--- ISO 25: French ) 1 F | x???? | Secondary Symbol Set--- ISO 69: French ) 0 G | x???? | Secondary Symbol Set--- HP German ) 1 G | x???? | Secondary Symbol Set--- ISO 21: German ) 8 G | x???? | Secondary Symbol Set--- HP Greek8 ) 0 I | x???? | Secondary Symbol Set--- ISO 15: Italian ) 0 K | x???? | Secondary Symbol Set--- ISO 14: JIS ASCII ) 1 K | x???? | Secondary Symbol Set--- HP Katakana ;----------------------------------------------------------------------------- ; ; ;------------------------------------------------------------------------------ ;p s nnn t | 2DP5L | Functional Area | Detailed Description ;------------------------------------------------------------------------------ ) 2 K | x???? | Secondary Symbol Set--- ISO 57: Chinese ) 8 K | x???? | Secondary Symbol Set--- Kana-8 ) 0 M | x???? | Secondary Symbol Set--- HP Math 7 ) 1 M | x???? | Secondary Symbol Set--- Technical ) 8 M | x???? | Secondary Symbol Set--- HP Math8 ) 0 N | x???? | Secondary Symbol Set--- ISO100: ECMA-94 (Latin 1) ) 0 O | x???? | Secondary Symbol Set--- OCR-A ) 1 O | x???? | Secondary Symbol Set--- OCR-B ) 0 S | x???? | Secondary Symbol Set--- ISO 11: Swedish ) 1 S | x???? | Secondary Symbol Set--- HP Spanish ) 2 S | x???? | Secondary Symbol Set--- ISO 17: Spanish ) 3 S | x???? | Secondary Symbol Set--- ISO 10: Swedish ) 4 S | x???? | Secondary Symbol Set--- ISO 16: Portuguese ) 5 S | x???? | Secondary Symbol Set--- ISO 84: Portuguese ) 6 S | x???? | Secondary Symbol Set--- ISO 85: Spanish ) 0 U | x???? | Secondary Symbol Set--- ISO 6: ASCII ) 1 U | x???? | Secondary Symbol Set--- HP Legal ) 2 U | x???? | Secondary Symbol Set--- ISO 2: IRV ) 7 U | x???? | Secondary Symbol Set--- OEM-1 ) 8 U | x???? | Secondary Symbol Set--- HP Roman-8 ) 9 U | x???? | Secondary Symbol Set--- ANSI ) 10 U | x???? | Secondary Symbol Set--- PC-8 ) 11 U | x???? | Secondary Symbol Set--- PC-8 (D/N) ) 15 U | x???? | Secondary Symbol Set--- HP Pi Font ) s 0 T | x???? | Secondary Typeface----- Lineprinter ) s 3 T | x???? | Secondary Typeface----- Courier ) s 4 T | x???? | Secondary Typeface----- Helvetica ) s 5 T | x???? | Secondary Typeface----- Times Roman ) s 6 T | x???? | Secondary Typeface----- Letter Gothic ) s 8 T | x???? | Secondary Typeface----- Prestige ) s 11 T | x???? | Secondary Typeface----- Presentation ) s 17 T | x???? | Secondary Typeface----- Optima ) s 18 T | x???? | Secondary Typeface----- ITC Garamond ) s 19 T | x???? | Secondary Typeface----- Cooper Black ) s 20 T | x???? | Secondary Typeface----- Coronet Bold ) s 21 T | x???? | Secondary Typeface----- Broadway ) s 22 T | x???? | Secondary Typeface----- Bodini Condensed ) s 23 T | x???? | Secondary Typeface----- Century Schoolbook ) s 24 T | x???? | Secondary Typeface----- University Roman ( s # W | 2???? | Soft Font Creation----- Download Characters: Bytes = # ) s # W | 2???? | Soft Font Creation----- Create Font Header: Bytes = # * c # E | 2???? | Soft Font Creation----- Character Code (Decimal) ASCII = # & p # X | 2???? | Transparent Print Data- Bytes = # & s 0 C | 2???? | Wrap-around Mode------- Enable & s 1 C | 2???? | Wrap-around Mode------- Disable ;----------------------------------------------------------------------------- ; ; ;------------------------------------------------------------------------------ ; ; History of PCLxxx.ARC ; --------------------- ; ; Original release 22 December 1988. L.S.Mundy. ; ; Please add any additions or corrections to this file and redistribute ; using the naming convention specified above through the Bulletin Board ; network of your choice. Enjoy!. ; ; ; ; ; ; ; ; ; ; ; ; ;-----------------------------------------------------------------------------