background image

2001/10/02

 

 

APPENDIX D REFERENCE LIST OF MX-2000/4000/5000 SERIES UNIQUE COMMANDS - 8

 

Explanation 

• 

This operator selects the specified output tray and output mode. 

• 

This operator is ignored when no tray is specified.  

• 

The ‘1’ and ‘2’ parameters are executed for all output trays other than ones which are defined and protected 

as mailboxes. 

<Example> 
(HL-2060) 
This operator is registered in ‘statusdict’. 

statusdict begin 

0 setoutputmode 

end 

(HL-2460/3260) 

<</BROutbinMode

 0

>> setpagedevice 

 
 

Summary of Contents for HL-1250

Page 1: ... 1 12 25 50 0 1 12 27 70 0N N 1 14 45 50 0 1 14 47 70 0N N P P2 25 50 00 0 1 16 66 60 0e e 2 20 06 60 0 2 24 40 00 0C C 2 24 40 00 0C Ce e 3 34 40 00 0C CN N 1 16 65 50 0 1 16 67 70 0N N 3 32 26 60 0N N 2 24 46 60 0 First version August 1999 Created for HL 1050 1070 1250 1270N 1450 1470N P2500 1660e 2060 2400C Ver A March 2000 Revised for Addition of HL 2400Ce 3400CN Ver B March 2001 Revised for A...

Page 2: ...oration TrueType is a trademark of Apple Computer Inc All other brand and product names mentioned in this manual are registered trademarks or trademarks of respective companies Compilation and Publication Under the supervision of Brother Industries Ltd this manual has been compiled and published covering the latest product s descriptions and specifications The contents of this manual and the speci...

Page 3: ...COLOR PALLETS 10 4 COLOR GRAPHICS 13 5 ENHANCE OUTPUT 15 6 HP GL 2 17 7 INDEX 19 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE 1 COMMAND LIST 4 2 INTRODUCTION 6 3 TERMINOLOGY 7 4 COMMAND SYNTAX 9 5 THE HP GL GRAPHICS WINDOW 10 6 PREPARING TO PRINT GRAPHIC IMAGES 11 7 COMMANDS 12 8 INDEX 52 CHAPTER 5 PJL PRINTER JOB LANGUAGE 1 INTRODUCTION 4 2 HOW TO USE PJL 8 3 COMMAND GROUP 9 4 KERNEL COMMANDS 10 5 JOB SEP...

Page 4: ...ED IN THIS EMULATION DESCRIPTION 7 5 COMMANDS 8 6 INDEX 21 CHAPTER 8 BARCODE CONTROL 1 INTRODUCTION 3 2 PRINT BAR CODES OR EXPANDED CHARACTERS 4 3 DEFINITION OF PARAMETERS 5 4 EXAMPLE PROGRAM LISTINGS 10 CHAPTER 9 HP GL GRAPHICS LANGUAGE 1 COMMAND LIST 3 2 INTRODUCTION 4 3 COMMANDS 6 4 INDEX 27 APPENDIX A COMPARISON LIST APPENDIX B FLASH PCMCIA CARD COMMANDS APPENDIX C HBP MODE COMMANDS APPENDIX D...

Page 5: ...macro has finished running Cartridge A storage medium that you can insert into the printer cartridge slots Cartridges can store fonts The advantage of using cartridges is that they allow you to use more fonts without taking up printer memory space Cartridge font A font that is stored on a cartridge These are widely available commercially Character cell The imaginary grid on which downloadable char...

Page 6: ...acter font that can be downloaded from your computer to the printer You can either buy Downloadable fonts or create your own A downloadable font consists of a font descriptor block followed by a character code character descriptor block and the data for each character in the font Downloading The process of sending either a font a macro or a graphic image from your computer to the printer Effective...

Page 7: ...HP GL 2 graphic images can appear Initially this is the same as the picture frame but you can change the size position and aspect ratio of the graphics window using the IW command Gray scale A degree of continuous shading ranging from 0 white to 100 black Hard clip limits The area of the page on which it is physically possible to print using HP GL and HP GL 2 graphics language commands The hard cl...

Page 8: ...completed Macro overlay environment Used only by a macro that has been enabled for overlay A combination of the user default environment and the modified print environment Medium The line thickness of normal type Modified print environment The collection of all current LaserJet printer settings This environment is saved if you call a macro or enter HP GL and HP GL 2 mode it is restored when the ma...

Page 9: ...GL 2 graphics language So called because the language was originally invented for use with plotters Plotter units See graphics units Point The standard unit of measurement for character height Equal to 1 72 Point factor scaling A form of image scaling using the SC command in HP GL or HP GL 2 mode in which the user units and the location of the scaling point P1 are specified in terms of graphics un...

Page 10: ...viii Print position The position from which printing of the next character or graphic object will begin providing that no operations that change the print position are performed in the interim ...

Page 11: ...r s memory that contains the software controlling the printer and the printer internal fonts The ROM cannot be altered unless the type of ROM fitted to the printer is Flash ROM in which case it can be written to electronically via the parallel port of the printer Row A horizontal sub division of the page whose height is equal to the VMI vertical motion index The print position moves down the page ...

Page 12: ...x Secondary font In LaserJet mode the printer maintains two current font settings The secondary font is the second of these ...

Page 13: ...ab channel A set of up to sixteen vertical tab stops Up to eight vertical tab channels can be set up in the Epson FX 850 mode Temporary font A downloaded font that is erased from the printer s memory when a printer reset is performed To use the font again you must download it again Temporary macro A macro that is erased from the printer s memory when a reset is performed If you want to use the mac...

Page 14: ... HP GL and HP GL 2 graphics languages use this method Vertical plot size The original vertical size of an imported HP GL and HP GL 2 image VMI Vertical motion index The vertical distance that the print position moves down the page when a line feed is performed This can be set using printer commands or with the printer s control panel by adjusting the Lines menu option in PAGE FORMAT MODE ...

Page 15: ...2001 10 02 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...

Page 16: ...2001 10 02 CHAPTER 1 INTRODUCTION 2 CONTENTS 1 ABOUT THE MANUAL 3 2 AREAS OF USE 4 2 1 Using Word Processing Packages and Spreadsheets 4 2 2 Graphics 4 2 3 Programming 4 2 4 Font Development 5 ...

Page 17: ...ion describes the software commands the escape sequences and control codes that you can use to make the printer perform each of its available functions Some example programs are included to give you useful ideas This manual is for our PCL models For the differences between each model see the Appendix Model Comparison For basic set up information such as how to connect the printer to your computer ...

Page 18: ...ickly and easily Many commercial graphic packages notably computer aided design applications programs produce HP GL 2 or HP GL output LaserJet mode also has several graphics features You can either write your own programs to generate images or use existing graphics software 2 3 Programming If you are writing software for example in BASIC or C to drive the printer the description and formal specifi...

Page 19: ...signs to an HL Series laser printer and print text using them To do this you need first to design your characters on paper Having done this you can then either input and download your characters using a commercial software package or encode your designs numerically and write your own program to download them ...

Page 20: ...2001 10 02 CHAPTER 1 INTRODUCTION 6 ...

Page 21: ...2001 10 02 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...

Page 22: ...nment 14 3 3 3 Modified print environment 14 3 3 4 Macro overlay environment 14 4 JOB CONTROL 15 4 1 1 Page size 15 4 1 2 Output tray 16 4 1 3 Paper source 17 4 1 4 Left long edge offset registration 18 4 1 5 Top offset registration 19 4 1 6 Simplex duplex printing For HL 1660e 2060 3400CN 19 4 1 7 Paper side selection 19 4 1 8 Job separation command 20 4 1 9 Reset 20 4 1 10 Reset to factory defau...

Page 23: ...2 Bitmap fonts 35 5 1 3 Scalable fonts 35 5 1 4 Bound fonts 36 5 1 5 Unbound fonts 36 5 1 6 Font sources 36 5 1 7 Internal fonts 36 5 1 8 Card cartridge fonts 36 5 1 9 Downloadable fonts 38 5 1 10 Primary and secondary fonts 38 5 1 11 Specifying the primary font 38 5 1 12 Specifying the secondary font 38 5 1 13 Selecting the default fonts 38 5 1 14 Switching between the primary and secondary fonts...

Page 24: ...2 6 1 4 User defined pattern command 73 6 1 5 Set pattern reference point 73 6 1 6 User defined pattern control 74 6 1 7 Set pattern type 74 6 2 Plotting Rectangles 76 6 2 1 Cursor position 76 6 2 2 Set rectangle width 76 6 2 3 Set rectangle height 76 6 2 4 Draw filled rectangle 76 6 3 Raster Graphics 78 6 3 1 Positioning the cursor 78 6 3 2 Set raster resolution 78 6 3 3 Set high resolution contr...

Page 25: ...ro into the storage device 96 7 4 9 Execute data 97 7 4 10 AppleTalk configuration 97 7 4 11 MIO video I O port control 98 8 STATUS READBACK 99 8 1 Introduction 99 8 2 Memory Status request 99 8 3 Entity Status 99 8 4 Status Response 99 8 5 Status Response Syntax 100 8 5 1 Set status readback location type 100 8 5 2 Set status readback location unit 100 8 5 3 Inquire status readback entity 101 8 5...

Page 26: ...2001 10 02 CHAPTER 2 PCL 6 8 5 19 Memory error response 107 8 5 20 Flush all pages command 107 8 5 21 Echo command 107 9 INDEX 108 ...

Page 27: ... the horizontal margins 24 Esc l E Setting the top margin 24 Esc l C Setting the vertical motion index VMI 25 Esc k H Setting the horizontal motion index HMI 25 Esc l D Setting line spacing 26 Esc l F Text length 26 Esc l P Page length 27 Esc l L Perforation skip 27 Esc a R Vertical cursor positioning rows 28 Esc p Y Vertical cursor positioning units 28 Esc a V Vertical cursor positioning decipoin...

Page 28: ...ution 73 EscCR Set high resolution control 73 Esc r F Set raster image orientation 73 Esc r T Set raster area height 74 Esc r S Set raster area width 74 Esc b Y set raster y offset 74 Esc b M Set compression mode 74 Esc r A Start raster transfer 79 Esc b W Send raster data 79 Esc b C Compress transfer graphics 79 Esc rB End raster transfer 79 Esc rC End raster transfer 79 Esc b W Horizontal 1200 d...

Page 29: ...89 EscCR 1234 M MIO video I O port control 90 Status Readback 91 Esc s T Set status readback location type 92 Esc s U Set status readback location unit 92 Esc s I Inquire status readback entity 93 Esc s1M Free space command 97 Esc r F Flush all pages command 98 Esc s X Echo command 98 ...

Page 30: ... Packard LaserJet printer Features include raster and vector graphics support for bitmap and scalable fonts and page control There are many resident fonts in the printer and you can gain access to more by inserting a font cartridge card or the storage device into the printer or by downloading fonts from your computer ...

Page 31: ...e printer subsequent characters will be printed in the current primary font This is explained further in the sub section entitled Using fonts 3 1 6 Select secondary font 15 0Fh ASCII code 14 When you send this code to the printer subsequent characters will be printed in the current secondary font This is explained further in the sub section entitled Using fonts 3 1 7 Escape 27 1Bh ASCII code 27 Yo...

Page 32: ...ined escape sequences are executed left to right so be careful to place commands in the order in which you want them to be executed 3 2 1 Line termination You can set the carriage return line feed and form feed control codes to perform compound functions You can either do this using the printer s control panel see the User Guide or by sending the printer the following escape sequence 0 Carriage re...

Page 33: ...t execute them The only exceptions to this are CR the carriage return code which causes a carriage return and line feed to be performed and the EscZ escape sequence which turns the mode off To turn the display functions mode off and enable escape sequences to be executed again send EscZ 27 90 1B 5A The printer exits the display function mode after printing a character of code 1B Hex and the letter...

Page 34: ...ed print environment is made up of all the current printer settings If you call a macro or go into HP GL 2 graphics language the modified print environment settings are saved When the macro has been executed or when you quit HP GL 2 these saved settings are restored The modified print environment consists of settings for the following features Page length Page size Orientation Left registration To...

Page 35: ...250 P2500 HL 1270N HL 1660e HL 2060 HL 2400C HL 2400Ce HL 3400CN 1 Executive 2 Letter 3 Legal 6 Ledger 25 A5 26 A4 27 A3 45 B5 JIS 46 B4 JIS 100 B5 1024 B6 1025 A5 1026 A6 1028 13 X19 2048 16 80 Monarch 81 COM 10 90 International DL 91 International C5 Model HL 1650 1670N HL 3260N HL 2460 HL 1450 1470N 1 Executive 2 Letter 3 Legal 6 Ledger 25 A5 26 A4 27 A3 45 B5 JIS 46 B4 JIS 100 B5 1024 B6 1025 ...

Page 36: ...Example Select letter size Esc l2A 1Bh 26h 6Ch 32h 41h Select the width of free size paper Esc l G 1 720 inch unit for HL 3260N and 2460 Select the height of free size paper Esc l F 1 720 inch unit for HL 3260N and 2460 4 1 2 Output tray Esc l G 27 38 108 71 1Bh 26h 6Ch 47h denotes the output tray 1 Select the printer output tray 3 Select 1 bin 4 Select 2 bin 5 Select 3 bin 6 Select 4 bin 7 Select...

Page 37: ... the paper source HL 1660e 2060 2400C 2400Ce 3400CN 1650 1670N 3260N 2460 If 7 the current page is printed and the paper source is auto selected If 8 the current page is printed and the lower cassette Tray 3 becomes the paper source HL 3400CN 3260N 2460 If 9 the current page is printed and the lower cassette Tray 4 becomes the paper source HL 3260N 2460 If 100 the current page is printed and the T...

Page 38: ...Auto selection 8 N A Tray 3 9 N A Tray 4 100 N A Tray ID 1 101 N A Tray ID 2 102 N A Tray ID 3 103 N A Tray ID 4 4 1 4 Left long edge offset registration Esc l U 27 38 108 85 1Bh 26h 6Ch 55h stands for the distance in decipoints 1 720 that the left edge of the logical page is to be moved Values for may be in the range 32 767 to 32 767 The distance specified is relative to the logical page s curren...

Page 39: ... unit is not installed onto the printer this mode is set to Simplex mode This command setting is not saved in the printer s NV RAM 4 1 7 Paper side selection Esc a G 27 38 97 71 1Bh 26h 61h 47h can be 0 1 or 2 0 indicates the next side If there is a page being processed the printer finishes the processing of that page If there are no pages being processed this command is ignored 1 indicates the fr...

Page 40: ...a factory reset to be performed restoring all the printer s factory default settings See the section Factory default environment for a list of the factory default settings You can also perform a factory reset using the printer s control panel or remote printer console program see the User Guide 4 1 11 Reset to user settings EscCR R 27 13 33 82 1Bh 0Dh 21h 52h can be 0 1 or 2 0 indicates the curren...

Page 41: ...I 27 13 73 1Bh 0Dh 49h This command changes the emulation mode to IBM Proprinter XL mode EscCRE 27 13 69 1Bh 0Dh 45h This command changes the emulation mode to Epson FX 850 mode Depending on the model you can also switch between emulation modes using the printer s control panel see the User Guide Emulations available for each model are listed below PCL HP GL BR Script2 BR Script3 Epson FX 850 IBM ...

Page 42: ...nting of a character or graphic starts as the cursor position You can alter the size of the logical page using the left offset registration and top offset registration commands The logical page is also called the PCL printer control language addressable area 4 2 4 Text area The text area is the area of the physical page on which text can be printed and is determined by the left right and top margi...

Page 43: ...4 2480 3507 2338 3507 71 0 50 150 B5 2078 2952 1936 2952 71 0 50 150 JIS B5 2148 3030 2010 3030 69 0 50 150 B6 1476 2078 1334 2078 71 0 50 150 A5 1754 2480 1612 2480 71 0 50 150 A6 1240 1754 1098 1754 71 0 50 150 A4 80 character 2480 3507 2400 3507 40 0 40 150 A4 long 2480 4783 2400 4783 40 0 40 150 COM 10 1237 2850 1087 2850 75 0 50 150 MONARCH 1162 2250 1012 2250 75 0 50 150 C5 1913 2704 1771 27...

Page 44: ...5 3030 2175 60 0 50 150 A4 3507 2480 3389 2480 59 0 50 150 B5 2952 2078 2834 2078 59 0 50 150 JIS B5 3030 2148 2910 2148 60 0 50 150 B6 2078 1476 1960 1476 59 0 50 150 A5 2480 1754 2362 1754 59 0 50 150 A6 1754 1240 1636 1240 59 0 50 150 A4 long 4783 2480 4665 2480 59 0 50 150 COM 10 2850 1237 2730 1237 60 0 50 150 MONARCH 2250 1162 2130 1162 60 0 50 150 C5 2704 1913 2586 1913 59 0 50 150 DL 2598 ...

Page 45: ...c u D 27 38 117 68 1Bh 26h 75h 44h value can be 96 100 120 144 150 160 180 200 225 240 288 300 360 400 450 480 600 720 800 900 1200 1440 1800 2400 3600 7200 stands for the unit of measurement in dots per inch The value set by this command is used as the unit setting for use by other setting commands such as ESC p X The default value of is 300 Example Esc u300D Esc p 100x 200Y move cursor 100 300 i...

Page 46: ...etting the horizontal margins Esc9 27 39 1Bh 39h This command resets the left and right margins to the left and right edges of the logical page respectively 4 2 13 Setting the top margin Esc l E 27 38 108 69 1Bh 26h 6Ch 45h stands for the distance between the top of the logical page and the top margin in rows The row height is as defined by the VMI If you subsequently change the VMI or the line sp...

Page 47: ...RINT line pitch is 1 12 inch 150 REM SET LINE PITCH TO 1 8 INCH 160 LPRINT ESC l6C 170 LPRINT line pitch is 1 8 inch 180 REM SET LINE PITCH TO 1 6 INCH 190 LPRINT ESC l8C 200 LPRINT line pitch is 1 6 inch 210 REM SET LINE PITCH TO 1 4 INCH 220 LPRINT ESC l12C 230 LPRINT line pitch is 1 4 inch 240 LPRINT line pitch is 1 4 inch 250 REM PAPER EJECT 260 LPRINT CHR 12 270 END Sample file 1 4 2 15 Setti...

Page 48: ...e printed per inch can have any of the following values 1 2 3 4 6 8 12 16 24 or 48 This command performs the same function as the VMI command Changing the line spacing setting does not affect the position of the top margin The factory default setting is 6 that is the printer will print six lines of text per inch Depending on your printer model the number of lines per page can also be set from the ...

Page 49: ...es per inch The default lengths for other paper sizes are Legal 84 lines Executive 63 lines all at 6 lines per inch Depending on your printer model you can also set the page length from the printer s control panel or remote printer console by setting LINES to the required number of lines per page in the PAGE FORMAT mode see the User Guide 10 REM SETTING THE PAGE LENGTH TO 66 LINES 20 REM 30 ESC CH...

Page 50: ...70h 79h number of units Units value is defined by the Esc u D command A plus or minus sign preceding the number of dots parameter indicates that the cursor is to be positioned relative to its current position A signed positive parameter value signifies that the cursor is to be repositioned vertically downwards on the page a negative value means that it will be moved upwards An unsigned number as t...

Page 51: ...VING CURSOR 5 COLUMNS TO THE LEFT 80 LPRINT ESC a 5C 90 LPRINT B 100 REM MOVING CURSOR 10 COLUMNS TO THE RIGHT 110 LPRINT ESC a 10C 120 LPRINT C 130 REM PAPER EJECT 140 LPRINT CHR 12 150 END Sample file 3 Horizontal cursor positioning units Esc p X 27 42 112 88 1Bh 2Ah 70h 58h number of units The Units value is defined by the Esc u D command A plus or minus sign preceding the number of dots parame...

Page 52: ...a position that is outside the boundaries of the logical page the cursor will be positioned at either the left or right edge of the logical page as appropriate 10 REM HORIZONTAL CURSOR POSITIONING 20 ESC CHR 27 30 REM 40 REM POSITIONING CURSOR AT 1 INCH 50 LPRINT ESC a720H 60 LPRINT A 70 REM MOVING CURSOR 0 5 INCHES TO THE LEFT 80 LPRINT ESC a 360H 90 LPRINT B 100 REM MOVING CURSOR 1 INCH TO THE R...

Page 53: ...e text area on the next page Portrait or Landscape orientation can also be selected from the printer s control panel The factory default orientation is portrait 0 0 0 0 0 0 0 0 TEXT X Y X X X Y Y Y Portrait Landscape Reverse portrait Reverse landscape Top margin Physical page Logical page Top margin Logical page Physical page 4 2 27 Text direction Esc a P 27 38 97 80 1Bh 26h 61h 50h 0 90 180 or 27...

Page 54: ...this command The factory default orientation is portrait 10 WIDTH LPT1 255 20 REM PRINTER RESET 30 LPRINT CHR 27 E 40 REM MOVING CURSOR TO X 500 Y 500 50 LPRINT CHR 27 p500X 60 LPRINT CHR 27 p500Y 70 REM 0 deg 80 LPRINT CHR 27 a0P 90 LPRINT BROTHER 100 REM 90 deg 110 LPRINT CHR 27 a90P 120 LPRINT BROTHER 130 REM 180 deg 140 LPRINT CHR 27 a180P 150 LPRINT BROTHER 160 REM 270 deg 170 LPRINT CHR 27 a...

Page 55: ...lable that is as a standard font in the ROM on cartridge card or downloaded and the application will do the rest You do not need to concern yourself with sending any escape sequences As well as using software commands you can also select fonts using the printer s control panel Consult the printer User Guide for details 5 1 1 Font types There are two types of fonts supported by the HL Series printe...

Page 56: ... between characters on a line depends on their shapes To add to the number of fonts available you can buy scalable typeface cartridges cards which you can insert into the printer s cartridge card slots and scalable typeface disks from which you can copy the typefaces into the printer s memory You can also create your own downloadable scalable typefaces using software commands 5 1 4 Bound fonts Bou...

Page 57: ...e card into one of the printer s cartridge card slots and then select any font from them as if it were in the printer s ROM Depending on your model you can also save bitmap fonts and scalable typeface in the flash ROM memory installed optional storage device and you can use any of these as if they were a font card ...

Page 58: ... the secondary font When you specify secondary font characteristics you send escape codes with as the second character of the sequence This tells the printer that the font characteristic you are specifying applies to the secondary font 5 1 13 Selecting the default fonts To set the primary font settings to those of the printers default font and discard all the software settings you have made in the...

Page 59: ...2001 10 02 CHAPTER 2 PCL 39 ...

Page 60: ...mmand will have no immediate effect However the new pitch will be stored as part of the primary or secondary font designation and applied the next time a monospaced font is selected as the primary or secondary font The printer s in built bitmap fonts all have a pitch of either 10 12 or 16 66 characters per inch 5 1 20 Height Height refers to the height in points 1 72 of unaccented capital letters ...

Page 61: ... sure to select an unused number for a new ID code that you define If the ID code has been used already the printer deletes the existing symbol set and defines the new symbol set 5 2 3 Define symbol set Esc f W data 27 49 102 87 1Bh 28h 66h 57h value can be from 18 to 32767 stands for number of bytes of data that follow this command If an existing ID code is used for a user defined symbol set it i...

Page 62: ...scalable font Character Requirements for MSL Symbol index Bit Value Designated Use 63 1 0 Basic Latin required such as ISO 8859 1 Latin 1 Basic Latin not required 62 1 0 East European Latin required such as ISO 8859 2 Latin 2 Basic European Latin not required 61 1 0 Turkish required such as ISO 8859 9 Latin 5 Turkish not required 34 1 0 Math required such as Math 8 Math not required 33 1 0 Semi gr...

Page 63: ... selected the symbol set becomes Roman 8 The selectable symbol set varies depending on the printer model Symbol set Set primary font Symbol set Set primary font ISO 60 Norwegian 1 Esc 0D ISO 57 Chinese Esc 2K ISO 61 Norwegian 2 Esc 1D ISO8859 1 ECMA 94 Latin 1 Esc 0N ISO 4 United Kingdom Esc 1E Wingdings Esc 579L Windows 3 1 Latin 2 Esc 9E PS Math Esc 5M ISO 25 French Esc 0F Ventura Math Esc 6M IS...

Page 64: ...ommand selects the symbol set character set for the primary font Esc s C 27 41 115 67 1Bh 29h 73h 43h This command selects the symbol set character set for the secondary font Brother symbol set IDs consist of a number only Symbol Set Set primary font Symbol set Set primary font Roman 8 Esc s1C Portuguese Esc s15C US ASCII Esc s2C Swiss German Esc s16C German Esc s3C American Spanish Esc s17C UK En...

Page 65: ... FONT 20 ESC CHR 27 30 WIDTH LPT1 255 40 REM SELECT A PROPORTIONALLY SPACED FONT 50 LPRINT ESC s1P 60 FOR I 33 TO 127 70 LPRINT CHR I 80 NEXT 90 LPRINT 100 REM SELECT A FIXED SPACE FONT 110 LPRINT ESC s0P 120 FOR I 33 TO 127 130 LPRINT CHR I 140 NEXT 150 LPRINT 160 REM PAPER EJECT 170 LPRINT CHR 12 180 END 5 2 7 Selecting the pitch Esc s H 27 40 115 72 1Bh 28h 73h 48h This command designates the p...

Page 66: ...eight of the secondary font is the size in points 1 72 from 0 25 to 999 75 in 0 25 increments This value is ignored by the printer when a fixed spaced scalable font is selected 5 2 9 Scaling the scalable fonts vertically or horizontally EscCR H 27 13 33 72 1Bh 0Dh 21h 48h This command designates the height of the scalable fonts EscCR V 27 13 33 86 1Bh 0Dh 21h 56h This command designates the width ...

Page 67: ...is command designates the stroke weight of the primary font Esc s B 27 41 115 66 1Bh 29h 73h 42h This command designates the stroke weight of the secondary font is an integer between 7 and 7 A value of 0 signifies a medium stroke weight negative numbers signify thin or light stroke weights and positive numbers signify bold stroke weights If you select a light or bold stroke weight the command will...

Page 68: ...c s133T US Roman Esc s135T Esc s135T 5 2 13 Font orientation The printer s built in fonts are all portrait fonts If you switch the orientation of the logical page to landscape and select a font the printer will automatically create the landscape font in its memory This saves you having to make the landscape font available by installing a card cartridge or by downloading the font but takes up print...

Page 69: ...ies fixed underlining 3 specifies floating underlining Fixed underlining means that the underline is drawn in the same place for all the characters of a particular font Floating underlining means that the underline is drawn in the same place for all the characters on a particular line The command below disables the underline facility Esc d 27 38 100 64 1Bh 26h 64h 40h ...

Page 70: ...h 2Ah 63h 46h This command performs an operation on one or more downloaded fonts identifies the operation to be performed 0 Delete all downloaded fonts from the printer s memory 1 Delete all temporary fonts from the printer s memory Fonts can be made permanent so as to be saved when the printer is reset see below 2 Delete the font whose ID number was most recently specified from the printer s memo...

Page 71: ...t using PCL commands To send a font you must send a font descriptor block followed by the character code a character descriptor data for each character The printer can download 3 types of fonts Bitmap fonts Bound Scalable fonts and Unbound Scalable fonts 5 4 2 Sending the font descriptor Esc s W font descriptor data 27 40 115 58 1Bh 28h 73h 88h This command sends the font descriptor to the printer...

Page 72: ...B Serif Style 28 Quality Placement 30 Underline Distance Underline Height 32 Text Height 34 Text Width 36 First Code 38 Last Code 40 Pitch Extended Height Extended 42 Cap Height 44 47 Font Number 48 63 Font Name 64 Copyright optional Special Bitmap font Byte 15 MSB 8 7 LSB 0 0 Font Descriptor Size 68 2 Descriptor Format 20 Font Type 4 Style MSB Reserved 6 Base Line Position 8 Cell Width 10 Cell He...

Page 73: ...roke Weight Typeface LSB 26 Typeface MSB Serif Style 28 Quality Placement 30 Underline Distance Underline Height 32 Text Height 34 Text Width 36 First Code 38 Last Code 40 Pitch Extended Height Extended 42 Cap Height 44 47 Font Number 48 63 Font Name 64 Scale Factor 66 Master X Resolution 68 Master Y Resolution 70 Master Underline Position 72 Master Underline Thickness Height 74 OR Threshold 76 Gl...

Page 74: ...B 26 Typeface MSB Serif Style 28 Quality Placement 30 Underline Distance Underline Thickness 32 Text Height 34 Text Width 36 Reserved 38 Number of Contours Characters 40 Pitch Extended Height Extended 42 Cap Height 44 47 Font Number 48 63 Font Name 64 Scale Factor 66 Master X Resolution 68 Master Y Resolution 70 Master Underline Position 72 Master Underline Thickness 74 OR Threshold 76 Global Ital...

Page 75: ...e Desc size Segmented Font data 2 Reserved Checksum Attributes are in one of six numerical formats Unsigned integer UI 0 to 65535 Unsigned long integer ULI 0 to 232 1 Signed integer SI 32768 to 32767 Unsigned byte UB 0 to 255 Signed byte SB 128 to 127 Boolean 0 or 1 Font descriptor size UI the size in bytes of the font descriptor block Minimum size values for each font type are shown in the above ...

Page 76: ...2001 10 02 CHAPTER 2 PCL 56 ...

Page 77: ...y 12 15 Patterned with Shadow 16 Inverse 17 Inverse in Open Border 18 30 Reserved 31 Unknown structure The reserved bits should be set to Zero Baseline position UI Bitmap font the height in dots from the top of the character cell to the baseline The units of dots is the same as the defined font resolution This number can be in the range 0 to cell height 1 Intellifont scalable a Y coordinate in the...

Page 78: ...0S HP Spanish 1S ISO 17 Spanish 2S ISO 10 Swedish 3S ISO 16 Portuguese 4S ISO 84 Portuguese 5S ISO 85 Spanish 6S HP European Spanish 7S HP Latin Spanish 8S HP GL Download 16S HP GL Drafting 17S HP GL Special Symbols 18S Turkish 8 8T Thai 8 0T ISO 6 ASCII 0U Legal 1U ISO 2 International Reference Version 2U HP GL Language Set 5U OEM 1 7U Roman 8 8U Windows 9U PC 8 10U PC 8 D N Danish Norwegian 11U ...

Page 79: ...s or the distance from the baseline for Scalable fonts of a lower case x in 1 4 dots Width type SB ignored by the HL Series printers This byte specifies the font character width according to the table below Value Width type 5 Ultra compressed 4 Extra compressed 3 Compressed or Extra condensed 2 Condensed 0 Normal 2 Expanded 3 Extra expanded Style LSB UB see Style MSB Stroke weight SB valid values ...

Page 80: ...ve lines of text in 1 4 dots for bitmap fonts and in design units for scalable fonts This is normally about 1 2 times the fonts height Text width UI ignored by these HL Series printers This word specifies the average width of the fonts lowercase characters in 1 4 dots for bitmap fonts and in design units for scalable fonts First code UI ignored by these printers This word specifies the character c...

Page 81: ...it for the metrics of Intellifont TrueType scalable fonts This is normally set to 8782 and is calculated for Intellifont as follows Scale factor x 72 307 resolution x height 8 This is normally set to 2048 for TrueType fonts Master Underline position UI Specifies the distance from the baseline to the top of the underline in design units and this is an alternative for Underline Position bit 30 only ...

Page 82: ...t is compatible with standard Latin character sets e g Roman 8 ISO 8859 1 Latin 1 otherwise set to 1 0 if font is compatible with East European Latin character sets e g ISO 8859 2 Latin 2 otherwise set to 1 0 if font contains Turkish character sets e g ISO 8859 9 Latin 5 otherwise set to 1 0 if font has access to the math characters of the Math 8 PS Math and Ventura Math character sets otherwise s...

Page 83: ...cintosh character set MS Text otherwise set to 1 0 if font is compatible with PostScript Standard Encoding PS Text otherwise set to 1 0 if font is compatible with Code Pages e g PC 8 PC 850 PC Turk etc otherwise set to 1 110 if font is arranged in Unicode Symbol Index order Checksum This should be set to a value which when added to the contents of the 64 bytes of this font descriptor data produces...

Page 84: ...e font data must follow immediately is the character code can be from 0 to 65535 The specified character is defined by the data which follows the character code Use this command also to designate a character for deletion from a font using the command for deleting a character from a downloaded font 5 4 5 Sending a character descriptor and data Esc s W character descriptor and character data 27 40 1...

Page 85: ...here are more than 255 successive pixels of a single color this is indicated by a byte set to 255 followed by a byte set to 0 followed by a byte indicating the remaining number of pixels of that color The width of each line is determined by the character width attribute All rows must contain the same number of pixels The total number of pixels on each row must equal the character width attribute O...

Page 86: ... represents a new character 0 or is a continuation of the character described by the previous character descriptor block and its data non zero If the continuation byte is non zero the bytes following it are interpreted as character data Descriptor size UB specifies the character descriptor size in bytes Class UB indicates the character format Value Class 1 Bitmap 2 Compressed Bitmap 3 Contour Inte...

Page 87: ...pe font Continuation B specifies whether the character data represents a new character 0 or is a continuation of the character described by the previous character descriptor block non zero If the continuation byte is non zero the bytes following it are interpreted as character data Descriptor size UB specifies the character descriptor size in bytes Class UB indicates the character format Value Cla...

Page 88: ...Paper motion Raster scan Top offset 22 dots Character height 31 dots Baseline Cursor position after character has been printed Character width 26 dots Delta X 30 dots Left offset 2 dots Character reference point Portrait character ...

Page 89: ...aper motion Raster scan Left offset 22 dots Character width 31 dots Baseline Cursor position after character has been printed Delta X 30 dots Character reference point Top offset 27 dots Character height 26 dots Landscape character ...

Page 90: ...t of white and non white areas for example the pattern may consist of vertical spaced lines You can specify the way in which the white and dark areas of the entire source image and the white and dark areas of the pattern interact with the destination image to produce the finished effect For example Pattern Source image Destination image Possible results 6 1 1 Set source transparency Esc v N 27 42 ...

Page 91: ...aque mode Transparent mode means that parts of the destination image will be visible through the patterned areas of the source image when the source image has been printed on top of the destination image If the pattern is a solid black fill obviously you will not be able to see any of the destination image through the patterned areas of the source image Opaque mode means that the destination image...

Page 92: ...pattern ID of a shading tone a fill pattern or a user defined pattern for subsequent selection with the Set Pattern Type command 1 100 specify the percentage of a gray scale 1 6 select a fill pattern 1 32767 select a user defined pattern You can specify a gray scale tone from 1 to 100 To use the specified tone for shading you must then select one of the two gray scale pattern options with the Set ...

Page 93: ...ge A pattern which is defined at 600 dpi cannot be converted to one at 300 dpi Format set to 0 or 20 Continuation set to 0 Pixel Encoding set to 1 Height in Pixels specifies the pattern height by the number of rows Width in Pixels specifies the pattern width by the number of pixels Pattern Image consists of the raster data for the pattern X resolution specifies the resolution in the X scan directi...

Page 94: ... This command selects the fill pattern black white gray scale or cross hatch pattern for use with subsequent graphics operations is in the range 0 to 4 or 130 0 selects solid black as the fill pattern 1 selects white as the fill pattern all source images will be completely white 2 selects one of eight gray scales Specify the gray scale you require as a percentage 0 100 with the Set Area Fill Ident...

Page 95: ... v2T 100 LPRINT ESC p100x100Y ESC c1000a300b2P 110 REM PATTERN 120 LPRINT ESC p150x300Y 130 LPRINT ESC s1p48v0s0b4101T 140 LPRINT ESC c1G ESC v3T LPRINT P 150 LPRINT ESC c2G ESC v3T LPRINT A 160 LPRINT ESC c6G ESC v3T LPRINT T 170 LPRINT ESC c4G ESC v3T LPRINT T 180 LPRINT ESC c5G ESC v3T LPRINT E 190 LPRINT ESC c3G ESC v3T LPRINT R 200 LPRINT ESC c1G ESC v3T LPRINT N 210 REM PAPER EJECT 220 LPRIN...

Page 96: ... V 27 42 99 86 1Bh 2Ah 63h 56h This command sets the height of the rectangle to be printed in decipoints is the number of decipoints 6 2 4 Draw filled rectangle Esc c P 27 42 99 80 1Bh 2Ah 63h 50h This command fills a rectangular area with the specified shading option is 0 to 5 or 130 0 uses solid black as the fill pattern 1 uses white as the fill pattern 2 selects the gray scale you chose with th...

Page 97: ... GRAY 0 TO 100 STEP 2 140 GOSUB 220 150 X GRAY 10 50 XL X XL 160 GOSUB 320 170 XL X 180 NEXT GRAY 190 REM PAPER EJECT 200 LPRINT CHR 12 210 END 220 REM SET THE CURSOR POSITION 230 LPRINT ESC p X X 240 LPRINT ESC p Y Y 250 RETURN 260 REM PRINT 64 GRAY SCALE PATTERN 270 LPRINT ESC c XL A 280 LPRINT ESC c YL B 290 LPRINT ESC c GRAY G 300 LPRINT ESC c130P 310 RETURN 320 REM PRINT 8 GRAY SCALE PATTERN ...

Page 98: ...aphics mode 6 3 3 Set high resolution control EscCRRO 27 13 82 79 1Bh 0Dh 52h 4Fh This command sets high resolution control off EscCRRL 27 13 82 76 1Bh 0Dh 52h 4Ch This command sets high resolution control Light level EscCRRM 27 13 82 77 1Bh 0Dh 52h 4Dh This command sets high resolution control Medium level EscCRRD 27 13 82 68 1Bh 0Dh 52h 44h This command sets high resolution control Dark level 6 ...

Page 99: ...2001 10 02 CHAPTER 2 PCL 79 X Y Y Y Y X X X X1 Y1 X1 Y1 X1 Y1 X1 Y1 Portrait Landscape Portrait Landscape 0 0 3 3 X1 Y1 Cursor position ...

Page 100: ... of bytes The first byte of each group is a control byte and defines how the subsequent data byte or bytes should be interpreted and how many data bytes there are before the next control byte If the two s complement value of the control byte is in the range 1 to 127 the following byte is a repeated data byte The number of successive occurrences of the data byte is given by the absolute value of th...

Page 101: ...ession method is mode 1 The next two bytes upper byte first contain the byte count of the compressed data Compressed data follows the header 2 This element identifies a compressed row Compression method is mode 2 The next two bytes upper byte first contain the byte count of the compressed data Compressed data follows the header 3 This element identifies a compressed row Compression method is mode ...

Page 102: ...55 55 55 55 55 55 55 55 Current row 55 55 55 55 55 11 11 22 33 44 55 66 77 Different section 11 11 22 33 44 55 66 77 Offset count 5 Replacement count 8 Replacement data 11 11 22 33 44 55 66 77 0 0 1 0 1 1 1 1 7 6 5 4 3 2 1 0 Replacement count 7 1 8 Offset count 5 Optional offset count byte 0 8 bytes of repracement data 11 11 22 33 44 55 66 77 7 6 5 4 3 2 1 0 Offset count Replacement count Control ...

Page 103: ...e and should not exceed 32767 Unlike other modes this mode is special and does not have the 32767 size limitation The data must have the following structure Header and Picture data The values in this mode are little endians Byte position Data Description 0 1 6E 6E nn This is header ID 2 3 0A 00 Reserved 4 7 5E 00 00 00 Picture data start offset from header top 8 11 File length File length includin...

Page 104: ...2001 10 02 CHAPTER 2 PCL 84 71 71 Lines picture Same as above ...

Page 105: ... data This mode supports TIFF Version 5 0 file format In this mode the transfer graphics data count does not have a limitation of 32 767 bytes This printer supports both MM big endian format and II little endian format The Print model is not applied to this type of data transfer The printer has some limitations on the TIFF format as follows 1 Tag position has to be prior to the picture strip data ...

Page 106: ... of Pairs of bytes describe the data which follows If the MSB of the first byte of a pair is 1 the byte that follows the pair is repeated The number held in the remaining fifteen bits of the byte pair is the number of times the data byte is repeated If the MSB of the first byte of the pair is 0 the bytes that follow the pair are not repeated The number held in the remaining fifteen bits of the byt...

Page 107: ...M TRANSFER 1 LINE OF DOTS 4 byte line 290 LPRINT ESC b4W 300 FOR J 1 TO 4 310 READ A 320 LPRINT CHR VAL H A 330 NEXT J 340 NEXT I 350 REM END RASTER GRAPHICS 360 LPRINT ESC rB 370 REM PAPER EJECT 380 LPRINT CHR 12 390 END 400 REM RASTER DATA 410 DATA 00 1F E0 00 420 DATA 00 7F F8 00 430 DATA 01 F0 3E 00 440 DATA 03 C0 0F 00 450 DATA 07 00 03 80 460 DATA 0E 00 01 C0 470 DATA 1C 38 70 E0 480 DATA 18...

Page 108: ...data extends over three bands as shown in the following diagram it transfers the data as three blocks of data ESC b W Block 1 Block 2 Block 3 In mode 1027 the transfer graphic data command byte count does not have a limitation of 32 767 bytes The block data is composed as follows Position Data Description 0 1 Block length n 2 2 3 Horizontal position dots from the left of the page 4 5 Vertical posi...

Page 109: ...2001 10 02 CHAPTER 2 PCL 89 ...

Page 110: ...bit data The following 2 bytes should be the 16 bit data to repeat 15 14 13 12 0 1 0 0 number of repeats 13 bits data to repeat 16 bits Ÿ 8 bit repeating comp ressed data When the most significant 3 bits in the first 2 bytes are in the order 1 1 0 the following 5 bits indicate the number of times to repeat 16 bit two by 8 bits data The remaining 8 bits should be the 8 bit data to repeat 15 14 13 1...

Page 111: ...se HL Series printers working in HP GL 2 mode are described in the HP GL 2 section of this manual 6 4 1 Enter HP GL 2 mode Esc B 27 37 66 1Bh 25h 42h This command enters HP GL 2 graphics mode 0 the cursor is positioned at the previous HP GL 2 cursor position If this is the first time you have switched to HP GL 2 mode since switching the printer on the cursor is placed at the origin of the HP GL 2 ...

Page 112: ...ontal size Esc c X 27 42 99 88 1Bh 2Ah 63h 58h This command sets the horizontal size of the picture frame is the width of the picture frame in decipoints 6 5 5 Specify vertical plot size Esc c L 27 42 99 76 1Bh 2Ah 63h 4Ch This command specifies the height in inches of an imported image is the height of the image in inches can be in the range 0 to 32767 and can have up to four places of decimals T...

Page 113: ...rtridge macro all references to the ID number will be interpreted as references to the downloaded macro To access the cartridge macro you would first have to delete the downloaded macro Another method of storing Macros is uniquely available on the HL 1660e 2060 2400C 2400Ce 3400CN printers Macros can be saved to these cards as required and then executed from the card For the HL 2400Ce 3400CN print...

Page 114: ...cro that is to be downloaded or references an existing macro in the printer s memory is the ID number of a macro The ID number must be in the range 0 32767 If you specify the ID number of an existing macro and then download a new macro definition to the printer the new macro will overwrite the existing macro 7 2 2 Start macro definition Esc f0X 27 38 102 48 88 1Bh 26h 66h 30h 58h This command sign...

Page 115: ...opies Orientation Cursor position stack Registration 7 3 1 Execute macro Esc f2X 27 38 102 50 88 1Bh 26h 66h 32h 58h This command executes the macro whose ID number was specified most recently Any changes made to the modified print environment during the execution of a macro such as font selection or margin settings are retained after macro execution has been completed 7 3 2 Call macro Esc f3X 27 ...

Page 116: ...Bh 26h 66h 31h 30h 58h This command makes the macro whose ID number was specified most recently permanent that is it will be retained if the printer is reset 7 4 6 Delete all macros from the storage device Esc f1030X 27 38 102 49 48 51 48 88 1Bh 26h 66h 31h 30h 33h 30h 58h This command deletes all macros and all data from the storage device 7 4 7 Delete macro from the storage device Esc f1036X 27 ...

Page 117: ...JECT 400 LPRINT MACRO OVERLAY OFF 410 LPRINT CHR 12 420 END 7 4 9 Execute data The data saved in the storage device by using Printer s control panel SAVE DATA function can be printed by the following command It can also be printed by operation of the Printer control panel EscCR E 27 13 33 69 1Bh 0Dh 21h 45h indicates the DATA ID Execute the data which is saved in the flash memory card or Hard Disk...

Page 118: ... can be used for the devicetype 00 is used as the terminator If invalid characters are used this command is ignored 7 4 11 MIO video I O port control The HL 1660e and 2060 printers have only the VSREQ signal for vertical synchronization that can be sent to the MIO port This causes a short delay to the actual printing start after sending the VSREQ signal if the video controller is processing an int...

Page 119: ...age device and one additional position specified as currently selected Currently selected means the entity is active However currently selected can be applied only for fonts and user defined patterns Location unit means a more specific position within the location type When the location type and unit are identified you can request the status with the Inquire Status Readback Entity command The enti...

Page 120: ...ype ESC s T 27 42 115 84 1Bh 2Ah 73h 54h This command determines the status location type according to the value of The location type is used in association with the location unit in order to specify an entity location for a status request 0 specifies an invalid location When the printer receives an Inquire Entity Command an error response is generated This is the default value When you execute a ...

Page 121: ...se to be sent when the inquire entity command is received 8 5 3 Inquire status readback entity ESC s I 27 42 115 73 1Bh 2Ah 73h 49h Specifies the entity type and makes the printer produce a status response for the entity identified in the status readback location type and unit Value Entity type 0 Font 1 Macro 2 User defined Pattern 3 Symbol set 4 Font extended 8 5 4 Entity status response The stat...

Page 122: ...equence in the SELECT line The printer for instance returns the printer s internal unbound scalable Brougham medium fixed spaced font and Pc Tennessee bold italic proportional spaced fonts as follows PCL INFO FONTS SELECT Esc s0p__h0s0b4099T SYMBOLSETS 0D 0I 0N 0U 1E 1F 1G SELECT Esc s1p__v1s1s3b4101T SYMBOLSETS 0D 0I 0N 0S 0U 1E 1F 1G 8 5 9 Download fonts For download fonts bitmap bound scalable ...

Page 123: ...2001 10 02 CHAPTER 2 PCL 103 ...

Page 124: ...me way With regard to a font extended request it returns the two additional keywords DEFID and NAME as follows DEFID specifies the internal ID number of the font which is shown on the test print font list This is the number which is used to select the font as the default font from the control panel of printer or from PJL The DEFID number is made of two parts which are a location and an ID number T...

Page 125: ...ation A user defined pattern response may be shown as follows PCL INFO PATTERN IDLIST 1 2 9 13 27 456 When the location type is specified to 1 selected at present LOCTYPE and LOCUNIT lines are added It returns the LOCTYPE only for a status location type 1 requirement It specifies the location type of the pattern which is selected at present It returns the LOCUNIT only for a status location type 1 ...

Page 126: ...ified type in the location or when the type is not correct for the identified entity it generates the NONE error response PCL INFO SYMBOLSETS ERROR NONE ERROR INTERNAL ERROR The status response for some requirements could be quite big When status replies are requested it returns an internal error if the printer runs out of memory as follows PCL INFO SYMBOL SETS ERROR INTERNAL ERROR 8 5 16 Free spa...

Page 127: ...ock size of available memory is specified by LARGEST PCL INFO MEMORY TOTAL 10000 LARGEST 3500 8 5 19 Memory error response When the value field of the free memory command is out of range the response for this command would be as follows PCL INFO MEMORY ERROR INVALID UNIT 8 5 20 Flush all pages command ESC r F 27 38 114 70 1Bh 26h 72h 46h This command suspends accepting data from a PC and clears th...

Page 128: ...x printing 17 E Echo command 98 emulation mode change 19 exit 18 end of line wrap 12 entity error code 97 entity status 91 entity status response 93 envelope 15 environment 14 error response memory 98 Esc 12 escape 11 escape sequence 12 F factory default environment 14 factory default setting 18 fill pattern 69 filled rectangle draw 71 fixed spacing 41 fixed underlining 45 floating underlining 45 ...

Page 129: ...multi purpose tray 16 O orientation raster image 73 output tray 15 P page 20 page dimensions landscape 22 portrait 21 page length 27 page size 15 paper side selection 17 paper source 16 paper type 15 pattern 65 pattern reference point 68 pattern transparency 66 pattern type 69 PCL 12 perforation skip 27 physical page 20 picture frame 84 horizontal size 84 vertical size 84 pitch 36 41 select 41 por...

Page 130: ...rgin 24 top offset registration 17 transfer start raster imge 79 transparent print data 44 type of character spacing select 41 typeface 36 select 43 U unbound font 34 unbound scalable font 94 underlining text 45 unit of measure 23 units 23 upper cassette 16 upright 43 user default environment 14 user settings 18 user defined pattern command 68 user defined pattern control 69 user defined pattern r...

Page 131: ...2001 10 02 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...

Page 132: ...te 11 4 COLOR GRAPHICS 12 4 1 Start Raster Transfer 12 4 2 Set Destination Raster Width 12 4 3 Set Destination Raster Height 12 4 4 Set Scale Algorithm 13 4 5 Send Raster Data by Plane 13 4 6 Enter HP GL 2 Mode 13 5 ENHANCE OUTPUT 14 5 1 Set Render Algorithm 14 5 2 Set Monochrome Mode 14 5 3 Set Gamma Correction 15 5 4 Download Dither Matrix 15 5 5 User defined Pattern Command 15 6 HP GL 2 16 6 1 ...

Page 133: ...nds for the PCL5C emulation PCL5C is upwards compatible with PCL5e For the commands of PCL5e refer to Chapter 2 PCL which describes the PCL5e emulation If you are reading this technical manual for the first time it is recommended that you read Chapter 2 first before reading this Chapter ...

Page 134: ...tte refer to Section 3 Color Palettes of this chapter This section describes the details about each color mode 2 1 Using Simple Color Mode Set Simple Color Command ESC r U 27 42 114 85 1Bh 2Ah 72h 55h 4 CMYK mode 3 CMY mode 1 B W mode 3 RGB mode Default value 1 The value specifies the palette and the colors for the palette For specific colors refer to the table below This command specifies each co...

Page 135: ...ndex No by Pixel 2 Send Direct Value by Plane 3 Send Direct Value by Pixel default Send Index No by Plane 0 default This mode assigns the Index No to the Plane then sends it The necessary number for the Plane is determined depending on the number of bits index 1 one plane should be needed per 1 one bit index For instance 4 planes are needed for 4 bits index Bits index must be 1 2 4 5 6 7 8 This mo...

Page 136: ...2 d1 d2 3rd raster ESC b W d1 d2 d1 d2 d1 d2 4th raster MSB LSB Index No d2 d1 The Italic characters shown above are the index No at the 2nd pixel in the 3rd raster Example If you want to send the index No below Index No 3 2 1 0 1st raster 2 1 0 3 2nd raster 3 0 1 2 3rd raster 0 1 2 3 4th raster Enter ESC v6W 00h 01h 02h 08h 08h 08h then select Send Index No by Plane Select 2 bits index 22 4 Palet...

Page 137: ...must be 8 i e ESC b W r g b r g b r g b r g b 1st raster ESC b W r g b r g b r g b r g b 2nd raster ESC b W r g b r g b r g b r g b 3rd raster ESC b W r g b r g b r g b r g b 4th raster ESC b W r g b r g b r g b r g b 5th raster The Italic characters shown above are the index No at the 4th pixel in the 1st raster Example If you want to send the RGB value below RGB value 0 0 0 128 128 128 128 64 0 ...

Page 138: ...ng mode is 3 it shows the number of bits that are required to send each color It sets the black reference to 0 Valid when the Encoding mode is 0 or 1 It sets the white reference to 2n 1 Valid when the Encoding mode is 0 or 1 2 Long Format MSB LSB 0 1 Format 0 Encoding mode 2 3 Bits index Bits value 1 4 5 Bits value 2 Bits value 3 6 7 White reference for value 1 8 9 White reference for value 2 10 1...

Page 139: ... green 3 blue Range 32767 32767 When the encoding mode is 2 or 3 this setting is valid 2 3 Using HP GL 2 Color Mode Two methods are provided to set the color mode in the HP GL 2 mode Set the color mode by the PCL command then transfer to the HP GL 2 mode Execute the NP command For the details on how to use the color selections in the HP GL 2 mode refer to Section 6 HP GL 2 ...

Page 140: ... be set varies depending on the specified black white reference 3 4 Set Color to Palette Command ESC v I 27 42 118 73 1Bh 2Ah 76h 49h Range 0 2n 1 The value n is specified by the Bit Index setting in the Set PCL Color Setting command Default value 0 This command sets the red green and blue values which are set by the Set Color 1 2 3 commands in the palette When an out of range value is set it is i...

Page 141: ...red The palette stack is controlled as a First In Last Out stack The parameters below are pushed to the palette stack w Color Mode Simple Color PCL Color Mode w Parameters to be set by the Set PCL Color Setting command w Encoding Mode mode 0 1 2 3 w Bits index w Bits value 1 w Bits value 2 w Bits value 3 w Black and White Reference w Parameter of Render Algorithm w Parameter of Gamma Correction w ...

Page 142: ...ination Raster Height commands Refer to the following sections 4 2 Set Destination Raster Width Command ESC t H 27 42 116 72 1Bh 2Ah 74h 48h Range 0 32767 number of decipoints in 1 720 Default value 0 If value 2 or 3 is sent with the Start Raster Transfer command and graphic scaling is set this command sets the destination width Values outside the range are invalid If the setting is 0 or is omitte...

Page 143: ...ate from the raster width When the data sent is shorter than the raster width the data which was not filled within the specified raster width is cleared to 0 Empty planes can be sent when the value is 0 4 6 Enter HP GL 2 Mode Command ESC B 27 37 66 1Bh 2Ah 25h 4Ah 0 Position the cursor at the previous HP GL 2 cursor position 1 Leave the cursor at its current PCL position 2 Use current PCL coordina...

Page 144: ...t crisp dither device best dither for the HL 2400C Ce and HL 3400CN 0 4 11 13 These show halftones using a dither method which places dots in a dither pattern to make the spacial frequency higher 7 This shows halftones using a dither method which enlarges dots from their center 9 This shows halftones using the dither which is specified by the Download Dither Matrix command 5 6 8 10 12 14 1025 This...

Page 145: ...ls specifies the dither matrix height by the number of pixels w Dither matrix width in pixels specifies the dither matrix width by the number of pixels The values for Dither matrix height in pixels and Dither matrix width in pixels should not be 0 The multiple of these two values should not be more than 32767 5 5 User defined Pattern Command Command ESC c W 22 42 99 87 1Bh 2Ah 63h 57h Range 0 3276...

Page 146: ...itial conditions It initializes the parameters listed on Page 9 of Chapter 8 HP GL 2 and also those shown below Function Equivalent Instruction Condition Number of Pens NP 8 Color Range CR Black reference red green blue 0 White reference red green blue 255 This command also initializes the parameters of the palette as follows Palette No Pen No Color 0 White 1 Black 2 Red 3 Green 4 Yellow 5 Blue 6 ...

Page 147: ...e indicated with the value of 2n the next value 2n 1 is selected When a value over 257 is specified 256 is selected When a value less than 2 is specified it is ignored The specified palette can be selected by the Select Pen command When the value specified by the Select Pen command is bigger than the palette number specified by this command the value of the remainder is used 6 4 CR Color Range Com...

Page 148: ...ode 9 HP GL 2 command 16 HP GL 2 mode enter 13 I IN command 16 initialize set instruction 16 L long format 8 M monochrome mode 14 N NP command 17 number of pens 17 P palette 4 palette size 5 PC command 16 PCL color mode 5 pen color 16 pixel 6 Plane 5 pop palette 11 push palette 11 R raster data send 13 raster image 5 raster transfer start 12 red value 10 render algorithm 14 S short format 5 simple...

Page 149: ...2001 10 02 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...

Page 150: ...X 9 4 1 Mnemonic 9 4 2 Parameters 9 4 3 Separators 9 4 4 Terminator 9 5 THE HP GL GRAPHICS WINDOW 10 5 1 Units 10 5 2 The Scaling Points P1 and P2 10 5 3 Scaling 10 5 4 Transformation 10 6 PREPARING TO PRINT GRAPHIC IMAGES 11 6 1 Setting Up the Graphics Window 11 6 2 Using Existing Image Plots 11 6 3 Printing an Image 11 6 4 Entering HP GL 2 Mode 11 6 5 Quitting HP GL 2 Mode 11 7 COMMANDS 12 7 1 I...

Page 151: ...2001 10 02 CHAPTER 4 HP GL 2 3 7 5 Plot Function Instructions 30 7 6 Character Plot Instructions 39 7 6 1 Introduction 40 8 INDEX 54 ...

Page 152: ...de 25 EA Edge rectangle absolute 25 ER Edge rectangle relative 26 EP Edge polygon 26 EW Edge wedge 26 RA Fill rectangle absolute 27 RR Fill rectangle relative 28 WG Fill wedge 28 FP Fill polygon 29 AC Anchor corner 30 FT Fill type 31 LA Line attribute 32 LT Line type selection 33 PW Pen width 34 RF Raster fill definition 34 SM Symbol mode 35 SP Select pen 35 SV Screened vectors 35 TR Transparency ...

Page 153: ...e direction 46 DV Define variable text path 47 CP Relative character movement 47 CF Character fill mode 48 SI Set absolute character size 48 SR Set relative character size 49 SL Character slant 49 SB Scalable or bitmap fonts 50 ES Extra space 50 TD Transparent data 50 ...

Page 154: ...raphics mode to produce vector graphics output using the commands of the HP GL 2 graphics language or to print out existing HP GL 2 format images HP GL 2 is a part of the PCL emulation which includes graphics command The Default plotting measurement unit in the HP GL 2 graphics mode is 1 1016 0 025 mm ...

Page 155: ...ons which define where printed output can appear on a page 3 6 Graphics Units The initial coordinate system employs units of 1 1016 in both the x and y axes 3 7 User Units The HP GL 2 graphics language uses a coordinate system You can impose your own x and y scale units on this system using the SC command 3 8 Current Units The units in use at a given time are called the current units Current units...

Page 156: ...ates specified are the absolute user or graphics coordinates and relative commands whose coordinates are relative to the coordinate position at which the previous graphics command terminated 3 11 Fills You can fill in the shapes you have drawn with the plotting commands by using the fill commands A number of different shading options are available ...

Page 157: ... the nearest integer Real number real numbers whose integer part is in the range 230 to 230 1 Accuracy to at least 6 significant digits is guaranteed If a number outside the range is specified the entire command is ignored The decimal point can be omitted when the number has no fractional part Clamped real number real numbers whose integer part is in the range 32768 to 32767 Parameters outside thi...

Page 158: ...cs window respectively You can alter the position of these points relative to the graphics window or relative to one another by using the IP or IR commands 5 3 Scaling You can easily scale images up or down by increasing or decreasing the distance between P1 and P2 You can do this both with existing images that are to be imported and with images that are generated by a string of HP GL and HP GL 2 ...

Page 159: ... independent if it s HP GL 2 code satisfies the following conditions User units are used exclusively that is an SC command is used before any drawing commands are issued Note in particular that if the graphics window is changed from the default using the IW command it must be specified in user units No absolute units are used or implied that is drawing commands use relative movement only and chara...

Page 160: ...able area according to paper size Symbol mode SM Off Character Fill Mode CF Solid Fill no edging Character set SS Standard character set selected Scalable or Bitmap Fonts SB 0 Scalable font only Character slant SL 0 0 degrees Scaling SC Off Label terminator DT chr 3 chr 3 non printing Raster fill RF Solid black Fill type FT solid fill Transparency mode TR1 Transparency mode on Screened vectors SV ...

Page 161: ...GL 2 origin Character set SS Standard character set selected Character size transformation SI Off Scalable or bitmap fonts SB0 Scalable only Character slant SL 0 0 degrees Character fill CF Solid fill Scaling SC Off Label terminator DT chr 3 chr 3 Raster fill RF Solid black Fill type FT Bi directional fill type 1 Transparency mode TR1 Transparency mode on Screened vectors SV No screening Polygon m...

Page 162: ...omatically so as not to alter the distance between P1 and P2 If P2x and P2y are omitted P2 is set to be in the same position relative to P1 that it was before the command was invoked The IP command remains in effect until another IP command an IR command or an IN command is used IR Input relative scaling points IR P1x P1y P2x P2y P1x x coordinate of P1 P1y y coordinate of P1 P2x x coordinate of P2...

Page 163: ...by the SC instruction Graphics unit the unit 1 1016 of an inch of the coordinates not set by the SC instruction All coordinates are in user units Coordinate values for Xmin Xmax Ymin and Ymax are given as real numbers Xmin Ymin Xmax and Ymax specify the range of the X and Y axes X min and Ymin value should be P1 and Xmax and Ymax should be P2 Xmin must be different from Xmax and Ymin must be diffe...

Page 164: ...ned by P1 and P2 Type 2 scaling point factor scaling specifies the ratio of graphics units to user units and sets user units coordinates for P1 Xfactor specifies the number of graphics units that comprise a single user x axis unit Yfactor specifies the number of graphics units that comprise a single user y axis unit Valid values for Xfactor and Yfactor are real numbers An SC command remains in eff...

Page 165: ...27 E 40 LPRINT CHR 27 0B 50 LPRINT IN SP1 60 LPRINT SI0 2 0 35 PA2000 3200 LBTHIS IS AN EXAMPLE OF IW CHR 3 70 LPRINT IW3000 1300 4500 3700 PD2000 1700 LBTHIS IS AN EXAMPLE OF IW CHR 3 80 LPRINT PU3000 1300 PD4500 1300 4500 3700 PD3000 3700 3000 1300 PU 90 LPRINT CHR 27 0A 100 LPRINT CHR 27 E 110 END Sample 22 RO Rotate coordinate system RO q q Angle in degrees through which the coordinate system ...

Page 166: ...ted unit In symbol mode PU draws the specified symbol at each point in the parameter list In polygon mode the specified coordinate pairs are placed in the polygon buffer If an odd number of coordinates are specified the final unpaired coordinate is ignored PD Pen down PD X Y X X coordinate of the cursor movement destination Y Y coordinate of the cursor movement destination X and Y are either relat...

Page 167: ...65 500 80 LPRINT CHR 27 0A 90 LPRINT CHR 27 E 100 END Sample 24 PR Relative coordinate pen move PR X Y X X coordinate of the cursor movement destination Y Y coordinate of the cursor movement destination Coordinates used are relative values in current units Whether used with or without parameters the command establishes relative plotting as the plotting mode The command moves the cursor to the spec...

Page 168: ...command is invoked with the pen up plotting is not performed but the cursor position moves to what would have been the plot end point X Y qc Arc Angle qd Chord Angle The value for qc is a clamped real number When qc is positive plotting is counterclockwise When qc is negative plotting is clockwise The value for qd is a clamped real number in the range 0 5 to 180 The default value is 5 10 Draw Abso...

Page 169: ...1 IP1000 1000 6000 6000 60 LPRINT SC 100 100 100 100 70 LPRINT PA 100 70 PD PR30 0 AR0 70 90 15 AR70 0 90 PR60 0 PU 80 LPRINT CHR 27 0A 90 LPRINT CHR 27 E 100 END Sample 27 AT Absolute arc three point AT X1 Y1 X2 Y2 qd X1 x coordinate of intermediate point Y2 y coordinate of intermediate point X2 x coordinate of end point y2 y coordinate of end point qd the chord angle used to draw the arc All coo...

Page 170: ...0 PD 120 LPRINT RT100 100 0 200 130 LPRINT PU100 100 PD200 0 140 LPRINT CHR 27 0A 150 LPRINT CHR 27 E 160 END Sample 29 PE Polyline encoded PE flag value Xi Yi flag value Xi Yi flag a command or mode that applies to the data that follows value parameter data for the preceding flag X X coordinate of a cursor movement destination Y Y coordinate of a cursor movement destination This command allows yo...

Page 171: ... 64 or base 32 digit as the corresponding ASCII character To encode a real number proceed as follows Multiply the number of decimal places in your coordinate s data by 3 33 and round the result up to the next highest integer for example round 6 66 up to 7 This gives the number of binary bits needed to represent the number s fractional part the value that you will supply with the flag Call this num...

Page 172: ...e Plotting takes place only when the pen is down If the command is invoked with the pen up plotting is not performed but the cursor position moves to what would have been the plot end point If the curve extends to the outside of the soft hard clip limit it is clipped This command can only be used in polygon mode BZ Bezier absolute BZ X1 Y1 X2 Y2 X3 Y3 X1 Y1 X2 Y2 X3 Y3 X1 X2 X3 X coordinate of the...

Page 173: ...ly draws between points defined when the pen was in the down position The FP command fills the area between the polygon vertices irrespective of whether the pen was up or down when the polygon was defined The first point in the polygon buffer is the pen position when the PM0 command was invoked The next pen position specified after a PM1 command becomes the first vertex of the next sub polygon Whe...

Page 174: ...27 0B 50 LPRINT IN SP1 60 LPRINT SC0 150 0 150 1 70 LPRINT PA25 105 ER40 25 80 LPRINT PR 5 5 ER40 25 90 LPRINT PR 5 5 ER40 25 100 LPRINT CHR 27 0A 110 LPRINT CHR 27 E 120 END Sample 32 EP Edge polygon EP This command plots the outline of the polygon currently stored in the polygon buffer The command only plots between points defined when the pen was down The command plots an outline irrespective o...

Page 175: ...when qc is positive and clockwise when negative The value for qd must be an integer from 32 768 to 32 767 When qd is not specified the chord angle is the default value 5 degrees 10 Edge Wedge 20 WIDTH LPT1 255 30 LPRINT CHR 27 E 40 LPRINT CHR 27 0B 50 LPRINT IN SP1 60 LPRINT PA2000 5000 70 LPRINT EW1250 90 180 5 80 LPRINT EW1250 270 120 90 LPRINT EW1250 30 60 100 LPRINT CHR 27 0A 110 LPRINT CHR 27...

Page 176: ...edge centred on the current position with radius r start point angle q1 arc angle qc and chord angle qd After plotting the cursor returns to its point of origin Plotting is performed whether the pen is up or down You should use this command with the type isotropic Anisotropic type may make the wedge stretch r specifies the radius of circle A positive value places the 0 reference point onto the pos...

Page 177: ...f a polygon is composed of sub polygons the command fills alternate areas On completion of the plot the cursor returns to the original position The command performs a fill irrespective of whether the pen is currently up or down You can specify the fill method There are two types of fill method 0 specifies the even odd fill method Places a point within the polygon and draws a straight line from it ...

Page 178: ...e frame according to the current coordinate system becomes the anchor position This is equivalent to AC0 0 User units or graphics units may be used The value of the coordinates are real numbers in the range 230 to 230 1 10 Anchor Corner 20 WIDTH LPT1 255 30 LPRINT CHR 27 E 40 LPRINT CHR 27 0B 50 LPRINT IN SP1 60 LPRINT PA3000 3000 FT3 400 45 70 LPRINT RR1000 1000 ER1000 1000 80 LPRINT PR1000 0 FT4...

Page 179: ...ng of the angle for the lines in degrees If q is omitted the fill angle already specified will be used The value of q is a clamped real number Option 1 for n 10 is the setting for the shading density It is specified as a percentage from 0 to 100 Option 2 for n 10 is ignored Option 1 for n 11 specifies the HP GL 2 user defined raster fill pattern This uses the index number which is defined by the R...

Page 180: ...in is clipped to the miter limit The miter limit is specified as a clamped real number If no parameters are specified the line attributes are set as follows line ends are butt line joins are mitered and the miter limit is 5 This is equivalent to the command LA1 1 2 1 3 5 Miter length Line width Miter limit Miter length Line width Labels are always drawn with rounded ends and joins An LA command re...

Page 181: ... If no mode number is included in the command the most recently specified mode is used LT99 restores the previous line type and if it is a fixed line type the residue provided that the current line type is solid and that the pen position is the same as it was when the current solid line type was selected An LT command remains in effect until another LT command is issued until the default settings ...

Page 182: ... 20 WIDTH LPT1 255 30 LPRINT CHR 27 E 40 LPRINT CHR 27 0B 50 LPRINT IN SP1 60 LPRINT PA3500 2500 PW1 5 70 LPRINT PD4500 2800 4500 1800 3500 1500 3500 2500 80 LPRINT PW0 8 PD2300 2900 2300 1900 3500 1500 90 LPRINT PW0 5 PU2300 2900 PD3300 3200 4500 2800 100 LPRINT PW0 25 PU4500 1800 PD3500 2100 110 LPRINT CHR 27 0A 120 LPRINT CHR 27 E 130 END Sample 42 RF Raster fill definition RF i w h p i index w...

Page 183: ...forming any drawing or filling commands n should be either 0 or 1 although any other integers will be interpreted as 1 If n is 0 the white pen is selected In this case drawing commands will have no effect unless you are plotting onto a dark background and transparency mode is off If n is 1 the black pen is selected and printing can proceed normally Use SP1 at the start of HP GL 2 programs Invoking...

Page 184: ...0 0 1 1 0 0 0 0 160 LPRINT 0 0 1 1 0 0 1 1 0 0 170 LPRINT 1 1 0 0 0 0 0 0 1 1 180 LPRINT PW15 SV2 3 PA4000 2000 PM0 PD6000 2000 6000 4000 4000 4000 PM1 PM2 EP 190 LPRINT CHR 27 0A 200 LPRINT CHR 27 E 210 END Sample 44 TR Transparency mode TR n n transparency type This command turns transparency mode on and off Transparency mode defines how source and destination graphics images interact n is eithe...

Page 185: ...2001 10 02 CHAPTER 4 HP GL 2 37 150 LPRINT TR0 PA3900 4900 PM0 PA5100 4900 4500 6100 PM1 160 LPRINT PM2 FP ...

Page 186: ...and Maximum definition for the gap of each line type is 20 The sum of the gap parameters must be greater than 0 Specifying an index number with no gap parameters sets the line type to the default pattern for that index number Using the command with no parameter sets all line types to the defaults 10 User Defined Line Type 20 WIDTH LPT1 255 30 LPRINT CHR 27 E 40 LPRINT CHR 27 0B 50 LPRINT IN SP1 60...

Page 187: ...LPRINT PW PA2000 4600 PDPA6000 4600 PU Default 0 35mm 4dot 130 LPRINT IP1000 1000 9000 7000 140 LPRINT WU1 PA2000 4300 PDPA6000 4300 PU 300 10 1016 2dot 150 LPRINT IP1000 1000 5000 4000 160 LPRINT WU1 PA2000 4000 PDPA6000 4000 PU 300 5 1016 1dot 170 LPRINT CHR 27 0A 180 LPRINT CHR 27 E 190 END Sample 47 7 6 Character Plot Instructions Instruction Function SD Define Standard Font AD Define Alternat...

Page 188: ...tandard font and its attribute attribute takes a value from 1 7 1 symbol set 2 spacing 3 pitch 4 height 5 posture 6 stroke weight and 7 typeface value selects an option for the specified attribute If the defined font is not available another font is selected that matches the defined font s specified attributes as closely as possible The symbol set attribute has the highest priority for matching an...

Page 189: ...nese 57 76 Tax Line Draw 78 ECMA 94 Latin 2 8859 2 79 OCR M 83 Spanish 17 85 International Reference Version 2 89 Matrix 2 of 5 Barcode 114 PC Cyrillic 115 Swedish 10 147 Portuguese 16 153 Interleaved 2 of 5 Barcode 173 PS Math 174 ECMA 128 Latin 5 8859 9 179 Portuguese 84 181 HPL Language Set 185 CODABAR Barcode 202 Microsoft Publishing 205 Ventura Math 211 Spanish 85 217 MSI Plessey Barcode 234 ...

Page 190: ...tribute Meaning 7 Ultra Thin 6 Extra thin 5 thin 4 Extra light 3 Light 2 Demi light 1 Semi light 0 Medium Book or Text 1 Semi bold 2 Demi bold 3 Bold 4 Extra bold 5 Black 6 Extra black 7 Ultra black 9999 Stick font at current pen width This attribute value is only effective if the stick font is the current font attribute 7 Typeface You can select any typefaces available in LaserJet mode from the i...

Page 191: ...LPRINT LBStandard font CHR 3 90 Alternate font 100 LPRINT AD2 1 4 24 7 4101 110 LPRINT PA1000 4000 120 LPRINT SA 130 LPRINT LBAlternate font CHR 3 140 LPRINT CHR 27 0A 150 LPRINT CHR 27 E 160 END Sample 49 SS Select standard font SS This command allows you to select the standard font as defined by the SD command All subsequently printed labels will appear in the standard font The SS command is equ...

Page 192: ...ct any accessible font which has previously been given an identity number in PCL mode as the secondary alternate font All subsequently printed labels will appear in the secondary font For scalable fonts the FN command must be preceded by an AD command specifying the font s point size or pitch When the FN command is issued the secondary alternate font s attributes are set to be those of the selecte...

Page 193: ...INT IN SP2 60 LPRINT IN SP2 SC0 5000 0 5000 70 LPRINT PA0 4500 LBDefault control character ETX CHR 13 CHR 3 80 LPRINT LBterminates by performing end CHR 13 CHR 3 90 LPRINT LBof text function CHR 3 100 LPRINT PA0 3500 DT LBPrinting characters terminate CHR 13 110 LPRINT LBbut are also printed 120 LPRINT PA0 3000 DT CHR 7 LBcontrol characters terminate CHR 13 chr 7 130 LPRINT LBand perform their fun...

Page 194: ...offset 100 LPRINT PU0 500 CI10 LO13 LBRight offset from point 110 LPRINT PA500 0 CI10 LO3 LBright hang from point 120 LPRINT CHR 27 0A 130 LPRINT CHR 27 E 140 END Sample 53 DI Absolute direction DI run rise run X direction component rise Y direction component This command determines the direction in which subsequent labels will be printed rise run gives the tangent of the angle between the base li...

Page 195: ...etween P1 and P2 This command determines the direction in which subsequent labels will be printed Values for run and rise are clamped real numbers The instruction is ignored if run and rise are both 0 When you issue a DR instruction the carriage return point is set to the current pen location Any text path that you set with the DV instruction will combine with the current printing direction to det...

Page 196: ...ines spaces the number of text spaces the pen position is moved lines the number of text lines the pen position is moved Use this command to re position the pen The command moves the pen the specified number of lines and spaces corresponding to the currently selected font s pitch and line spacing For proportionally spaced fonts the width of the space character is used to determine the distance mov...

Page 197: ... to CF0 0 If the command is not used all characters are solid and unedged A CF command remains in effect until an IN command is used to initialize the printer a DF command is used to restore the default settings or another CF command is invoked 10 Character Fill Mode 20 WIDTH LPT1 255 30 LPRINT CHR 27 E 40 LPRINT CHR 27 0B 50 LPRINT IN SP1 60 LPRINT SD1 21 2 1 4 140 5 0 6 3 7 52 SS 70 LPRINT PA100...

Page 198: ...e character If you change the positions of P1 and P2 the character size will change unless the scaling points remain in the same relative positions If you move P2 to the left of or below P1 characters will appear in mirror image If you change the character size the line width used to draw stick font characters may also change If you omit the parameters the character size is as specified by the mos...

Page 199: ...2001 10 02 CHAPTER 4 HP GL 2 51 ...

Page 200: ...d The FI and FN commands implicitly set n to 1 if you use either of them to select a bitmap font If you omit n from the command only scalable fonts and the stick font may be selected This is equivalent to an SB0 command The default setting is scalable fonts and stick font only ES Extra space ES width height width factor by which character spacing is changed height factor by which line spacing is c...

Page 201: ... use the command without parameters control codes will perform their normal functions and will not be printed This is equivalent to TD0 10 Transparent Data 20 WIDTH LPT 255 30 LPRINT CHR 27 E 40 LPRINT CHR 27 0B 50 LPRINT IN SP1 60 TD 1 Transparent 70 LPRINT PA1000 5000 LBMODE TD1 Transparent CHR 13 80 LPRINT Print as characters when labeling CHR 3 90 X 1000 100 FOR I H0 O H8 110 LPRINT SD1 341 2 ...

Page 202: ...ll commands 8 Fill polygon 29 Fill rectangle absolute 27 Fill rectangle relative 28 Fill type 31 Fill wedge 28 G graphic units 7 graphics window 7 10 11 H hard clip limits 7 I image plots 11 Initialize command 12 Initialize set instruction 13 Input relative scaling points 14 Input scaling point 14 L Label origin 44 Line attribute 32 Line type selection 33 M mnemonic 9 P parameters 9 pen 7 Pen down...

Page 203: ...ct secondary font 43 Select standard font 42 Select unit for pen width 37 separators 9 Set absolute character size 48 Set relative character size 49 soft clip limits 7 Symbol mode 35 syntax 9 T terminator 9 Transparency mode 36 Transparent data 50 U user units 7 User defined line type 37 W Window 17 ...

Page 204: ...2001 10 02 CHAPTER 4 HP GL 2 56 ...

Page 205: ...2001 10 02 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...

Page 206: ...7 2 HOW TO USE PJL 8 2 1 Overview 8 2 2 PJL Job Requirement 8 3 COMMAND GROUP 9 4 KERNEL COMMANDS 10 4 1 Introduction 10 4 2 UEL Command 10 4 3 EXECUTE Command 10 4 4 ENTER Command 11 4 5 COMMENT Command 11 4 6 Printer Language Switching 12 4 6 1 Explicit switching 12 4 6 2 Implicit switching 12 4 6 3 Context switching 12 5 JOB SEPARATION COMMANDS 13 5 1 Introduction 13 5 2 JOB Command 13 5 3 EOJ ...

Page 207: ...mat of status readback responses 38 7 2 Inquire Command 39 7 3 DINQUIRE Command 40 7 4 ECHO Command 41 7 5 INFO Command 42 7 5 1 ID category 43 7 5 2 CONFIG category 43 7 5 3 MEMORY category 46 7 5 4 STATUS category 47 7 5 5 VARIABLES category 47 7 5 6 USTATUS category 49 7 6 USTATUS Command 50 7 6 1 Device variable 51 7 6 2 JOB variables 52 7 6 3 PAGE variable 53 7 6 4 TIMED variable 53 7 7 USTAT...

Page 208: ... information such as printer model configuration printer feature setting error information and other status information to the application 3 Front panel control PJL can remotely control the printer s control panel settings and messages 4 Easy of utilization All PJL commands except the UEL command have a user friendly construction using printable characters and English words 5 Spooler control PJL p...

Page 209: ...ng the PCL reset command the printer ejects the page and proceeds with the PCL print job on a new page The print job is possibly followed by more printed PJL commands Without the PCL reset command the PJL commands are printed as ASCII text on the same page as the PCL print job 1 2 2 Postscript jobs For Postscript printers when the printer receives a PJL command a Postscript error is reported The P...

Page 210: ...at allows a PJL line without a command and is used to break several PJL command lines visually to make it easier to see the PJL command lines Format 3 PJL command words CR LF This format is used only for the COMMENT and ECHO commands Format 4 PJL command command modifier value option value CR LF This format is used for all other PJL commands PJL Syntax Rules PJL Syntax should be written according ...

Page 211: ...ks which are used to define the start and end of a string Example Print Job KKK This is a sample string 1 5 Invalid Commands There are two general types of invalid commands Each type operates differently Syntax errors include unrecognized command and command modifier strings which are missing quotation marks numeric values which are missing digits before the decimal point 1 5 1 Syntax errors Comma...

Page 212: ...e conditions will work correctly with a PJL printer in both single user and network environments All PJL jobs must begin and end with a UEL command The PJL prefix must be placed immediately after the UEL command which starts PJL jobs and can be followed by CR and LF Characters including control characters must not be placed between the UEL command and the PJL prefix Nothing must be placed after th...

Page 213: ...lt value SET Sets an environment value which is available during a PJL job INITIALIZE Resets the current and default PJL variables to factory values RESET Resets current PJL variables to default values Status Readback Commands INQUIRE Requests the current value for a specified environment DINQUIRE Requests the default value for a specified environment ECHO Returns the words to the host computer IN...

Page 214: ...ob boundaries The PJL prefix which is placed at the beginning of a PJL job must follow immediately after the UEL command If the printer receives codes other than the PJL prefix it enables the default printer language and prints the job ENTER command should be used in order to specify the printer language Example ESC 12345X PJL CR LF PJL ENTER LANGUAGE PCL CR LF ESC E PCL JOB ESC E ESC 12345X 4 3 E...

Page 215: ...er language If this command specifies an emulation which is not supported data after this command is ignored until the next UEL command Example ESC 12345X PJL CR LF PJL ENTER LANGUAGE PCL CR LF ESC E PCL JOB ESC E ESC 12345X PJL COMMENT Start of Postscript job CR LF PJL ENTER LANGUAGE POSTSCRIPT CR LF PS ADOBE Postscript JOB D ESC 12345X PJL COMMENT End of Postscript job CR LF ESC 12345X 4 5 COMME...

Page 216: ... uses the PJL ENTER LANGUAGE command to switch to the desired emulation As the desired emulation is explicitly specified this method is the most reliable 4 6 2 Implicit switching If a default printer language is configured and the PJL ENTER command is not described on a PJL line the printer uses the default printer emulation This may not always select your desired emulation 4 6 3 Context switching...

Page 217: ...age 1 to 2 147 483 647 Default value 1 END last page The END option indicates the page number of the last page to be printed If the END option is not set the printer prints to the end of the job If the end of job is encountered before the START page no pages are printed If the end of job is encountered before the END page printing terminates last page 1 to 2 147 483 647 Default value prints entire...

Page 218: ...uotes in the command syntax The job name need not be same as the job name of the JOB command If the NAME option is described the unsolicited end of job status includes the job name Job names can use printable characters ASCII 33 255 and spaces or horizontal tab characters up to a maximum of 80 characters The EOJ command indicates the end of a job Resets the PJL Current Environment variables to the...

Page 219: ...es these settings when it is powered on for the first time after shipping from the factory and after the PJL INITIALIZE command is performed 2 User Default Environment These environment setting values are stored in the printer s NV RAM and can be altered through the printer s control panel or by using the Remote Printer Console software or the PJL DEFAULT command These values are placed into the P...

Page 220: ...ge specific exit command 9 Emulation switching command 6 1 3 Remember these points about environments Remember the following points when you use PJL to set the printer to a desired state 1 The current feature settings are the same as the control panel values or values in the remote printer console program when beginning a PJL job 2 The current feature settings Modified Print Environment become the...

Page 221: ...settings can be modified using PJL SET PJL RESET PJL DEFAULT and PJL INITIALIZE By using the PJL INQUIREand PJL DINQUIRE you can request value settings for the printer features For the details of these commands see the next section Note 1 Use PJL commands only when no printer language commands are available for a desired feature 2 When setting printer features with PJL use the SET and RESET comman...

Page 222: ...4 to 500 HL 3260N YOFFSET Sets the Y offset vertical offset value 500 to 500 dots AUTOCONT Auto Continue Mode ON or OFF TIMEOUTEMU Sets the time out value for automatic emulation switching 1 to 99 seconds PRIORITY Sets the priority between EPSON or IBM for automatic emulation switching EPSON or IBM HPFSEL ALL LJ4 HL 2460 AUTOFF Sets the auto FF setting to ON or OFF ON or OFF TIMEOUTFF Sets the tim...

Page 223: ...70N 1450 1470N P2500 ENGLISH FRENCH GERMAN DUTCH NORWEGIAN SPANISH ITALIAN SWEDISH DANISH JAPANESE HL 1670N ENGLISH FRENCH GERMAN DUTCH SPANISH ITALIAN DANISH HL 3260N ENGLISH FRENCH GERMAN DUTCH SPANISH ITALIAN NORWEGIAN DANISH SWEDISH HL 2460 KEEP PCL If set to ON the printer keeps the permanent fonts and macros of PCL when the emulation is changed to another mode ON or OFF CONTEXTSWITCH Auto em...

Page 224: ... optional lower paper cassette LOCKED UNLOCKED HL 3260N 2460 INTRAY 5 Read Only Returns the auto selection lock status for the optional lower paper cassette LOCKED UNLOCKED HL 3260N 2460 INTRAY1SIZE Selects the paper size in Tray1 LETTER LEGAL EXECUTIVE A3 A4 B5 A5 A6 COM10 C5 DL MONARCH LEDGER JISB4 LTRS A4S XECUTIVES B5S HL 3260N LETTER LEGAL EXECUTIVE A4 JISB5 B5 A5 B6 A6 COM10 DL MONARC C5 A4L...

Page 225: ... Continues printing by holding down Go switch for manual feeding STOP CONTINUE HL 3260N 2460 TRAY1SIZE A3 JISB4 LEDGER A4 A4S A5 B5 B5S LEGAL LETTER LTRS EXECUTIVE EXECUTIVES HL 3260N TRAY2SIZE A3 JISB4 LEDGER A4 A4S A5 B5 B5S A6 LEGAL LETTER LTRS EXECUTIVE EXECUTIVES COM10 C5 DL MONARCH HL 3260N TRAY3SIZE PS400 installed A3 JISB4 LEDGER A4 A4S A5 B5S LEGAL LETTER LTRS EXECUTIVE EXECUTIVES PS420 i...

Page 226: ...Selects the AUTO LOW HIGH HL 1670N PARALLEL FAST SLOW HL 1670N ERRORPRINT OFF ON EXCEPTCDCC HL 1670N BOISEIDMODE WIN95 IEEE HL 1670N CONDENCESIZE P1666 P1714 HL 1670N 3260N 2460 FXLFSETMODE NORMAL ALL HL 1670N 3260N 2460 FXLFITAMODE OBLIQUE ITALIC HL 1670N 3260N 2460 DTRCTRL 0 1 2 3 HL 1670N ENVINTERVAL 0 to 255 HL 1670N PSCEILMODE FLOOR CEIL HL 1670N 3260N 2460 PS300RESO NO IF2M FORCE HL 1670N 32...

Page 227: ...E FALL HL 2460 SCKBUSY RISE FALL HL 2460 PSQUOTEBIN OFF ON HL 2460 DEFPAPER A4 LETTER DEFAULT HL 2460 PICKUPRETRY 0 to 7 HL 2460 COLLATE Sets the collate printing ON or OFF HL 2460 TIMESETYEAR 1998 to 2039 HL 2460 TIMESETMONTH 1 to 12 HL 2460 TIMESETDAY 1 to 31 Hl 2460 TIMESETHOUR 0 to 23 HL 2460 TIMESETMIN 0 to 59 HL 2460 TIMESETSEC 0 to 59 HL 2460 TIMESTYLE UMD MDY DMY Hl 2460 SUMMERTIME ON or O...

Page 228: ...DSTARTMODE Sets the cold start mode OFF MODE1 MODE2 MODE1 MODE2 HL 2460 TNCHARGETIME O9FF SHORT NORMAL LONG HL 2460 TNCHARGEMODE OFF MODE1 MODE2 MODE3 MDE4 MRDE5 MODE6 MODE7 HL 2460 FUSERSLEEPCTRL ON or OFF HL 2460 THICKPRDLY OFF SHORT NORMAL LONG HL 2460 BONDPRDLY OFF SHORT NORMAL LONG HL 2460 FLICKER MODE 0 to 63 HL 2460 ...

Page 229: ... Sets the right margin 0 to 136 columns HL 1050 1070 1250 1270N 1450 1470N P2500 10 to 155 columns HL 1670N 10 to 136 columns HL 3260N 2460 TOPMARGIN Sets the top margin 0 0 33 0 5 1 0 1 5 2 0 inch BOTMARGIN Sets the bottom margin 0 0 33 0 5 1 0 1 5 2 0 inch FORMLINES Sets the number of lines 5 to 128 lines FONTSOURCE Sets the font source to Internal fonts or Permanent Soft Fonts I or S HL 1050 10...

Page 230: ...ISO4 ISO6 ISO10 ISO11 ISO 14 ISO15 ISO16 ISO17 ISO21 ISO 25 ISO 57 ISO60 ISO61 ISO69 ISO84 ISO85 WIN30 HPGERM HPSPAN MCTEXT All models OCRA OCRB SYMBOL WDINGS HL 1050 1070 1250 1270N 1450 1470N P2500 1670 N PC1004 WINBALT ISOL6 PC775 HL 1670N 3260N 2460 HERBREW7 HL 1670N AUTOLF Sets AUTO LF ON or OFF AUTOCR Sets AUTO CR ON or OFF AUTOWRAP Sets AUTO WRAP ON or OFF AUTOSKIP Sets AUTO SKIP ON or OFF ...

Page 231: ...inch FORMLINES Sets the number of lines 5 to 128 lines FONTSOURCE Sets the font source to Internal fonts or Permanent Soft Fonts I C1 C2 S HL 3260N 2460 FONTNUMBER Sets the font number 0 to n HL 1050 1070 1250 1270N 1450 1470N P2500 0 to 0x7FFFFFFF HL 1670N 3260N 2460 PITCH Pitch of the default font in units of characters per inch The pitch value can be specified to two decimal places 0 44 0 45 99...

Page 232: ...2001 10 02 CHAPTER 5 PJL 28 AUTOLF Sets AUTO LF ON or OFF AUTOMASK Sets AUTO MASK ON or OFF SELREADOUT ON or OFF ...

Page 233: ... Sets the top margin 0 0 33 0 5 1 0 1 5 2 0 inch BOTMARGIN Sets the bottom margin 0 0 33 0 5 1 0 1 5 2 0 inch FORMLINES Sets the number of lines 5 to 128 lines FONTSOURCE Sets the font source to Internal fonts or Permanent Soft Fonts I C1 C2 S HL 3260N FONTNUMBER Sets the font number 0 to n HL 1050 1070 1250 1270N 1450 1470N P2500 0 to 0x7FFFFFFF HL 1670N 3260N PITCH Pitch of the default font in u...

Page 234: ...GAL B5 EXECUTIVE COM10 MONARCH C5 DL JISB5 A4LONG All models A5 A6 B6 HL 1670N 2460 A3 A5 A6 LEDGER JISB4 LTRS A4S EXECUTIVES B5S HL 3260N ORIENTATION Sets the orientation PORTRAIT LANDSCAPE PRTPSERRS The printing of a PostScript error page is enabled or disabled by this variable ON or OFF CRLFCONV HL 1050 1070 1250 1270N 1450 1 470N P2500 When set to ON CR codes in the PostScript data are convert...

Page 235: ...R Sets the paper size LETTER LEGAL EXECUTIVE A4 JISB5 B5 A5 B6 A6 COM10 DL MONARCH C5 A4LONG HL 3260N 2460 A3 LEGER JISB4 LTRS A4S EXECUTIVES B5S HL 3260N ORIENTATION Sets the orientation PORTRAIT or LANDSCAPE HL 3260N 2460 SYMSET Sets the symbol set ANSIASCII CHRSET9825 FRENCHGERMAN SCANDINAVIAN SPANISHLATIN JISASCII ROMAN8EXT ISOIRV ISOSWEDISH ISOSWEDISHN ISONORWAY1 ISOGERMAN ISOFRENCH ISOUK ISO...

Page 236: ...R command If the AUTO option is selected factory default the printer senses the data from the computer and switches the emulation automatically AUTO PCL POSTSCRIPT IBM EPSON HPGL TIMEOUT The time out is the duration during which another automatic emulation change is not allowed Duration of the timeout is set in seconds 1 to 99 AUTOCONT Returns the configuration of the Continue mode ON OFF LOWTONER...

Page 237: ...aving Mode OFF ON ECONOLEVEL Level for Toner saving mode If set to 1 approx 50 toner is saved If set to 2 approx 25 toner is saved 1 2 MPTRAY MP Tray Priority For AUTO feeder selection mode CASSETTE FIRST AUTOSLEEP Power Save Mode ON OFF TIMEOUTSLEEP Timeout for Power Save mode The printer goes into the power save mode after this time out period minutes 1 to 99 MEDIATYPE Media Type The temperature...

Page 238: ...he default value I C C1 S FONTNUMBER Font number This value can be seen on the Print Font Test selected from the Control Panel This value is automatically changed to the lowest value whenever the FONTSOURCE setting is changed 0 1 2 n PITCH Pitch of the default font in units of characters per inch The pitch value can be specified to two decimal places 0 44 0 45 99 99 PTSIZE Height of the default fo...

Page 239: ...les and the range of values for each variable This command can request the information directly from the printer Example ESC 12345X PJL CR LF PJL COMMENT Control Panel Defaults CR LF PJL DEFAULT PAGEPROTECT LEGAL CR LF PJL DEFAULT LPARM PCL SYMSET PC850 CR LF PJL RESET CR LF ESC 12345X 6 4 Initialize Command The INITIALIZEcommand resets the PJL Current Environment and User Default Environment vari...

Page 240: ... ESC 12345X PJL CR LF PJL COMMENT Reset to return to CR LF PJL COMMENT control panel settings CR LF PJL RESET CR LF ESC 12345X 6 6 Set Command The SET command enables you to change the value of PJL Current Environment variables during a PJL job until a PJL reset condition resets the default values Use this command to make a job specific environment Syntax PJL SET LPARM personality variable value C...

Page 241: ...CR LF PJL COMMENT Setting PCL job CR LF PJL COMMENT to desired state CR LF PJL SET RET DARK CR LF PJL SET PAGEPROTECT OFF CR LF PJL SET RESOLUTION 600 CR LF PJL ENTER LANGUAGE PCL CR LF ESC E PCL job ESC E ESC 12345X PJL CR LF PJL RESET CR LF ESC 12345X ...

Page 242: ...ATUSOFF turns off all unsolicited status information set by USTATUS Job Recovery is also described in this chapter 7 1 1 Synchronization with the printer The printer sends the status responses to the same I O port as it received the request from Therefore in a shared or network environment if the I O port was used by another user and the printer is still processing the previous job the printer may...

Page 243: ...used when requesting the information of printer language specific variables such as the font number in the PJL DEFAULT setting variable variable This is a parameter which specifies which variable you would like to get the information about among the PJL Default settings PJL Current Environment The variables which can be used in this command are listed in Appendix A You can also check by sending th...

Page 244: ...entical to the Control Panel Setting This DINQUIREcommand can request only one variable at a time If you would like to get information from more variables send multiple DINQUIREcommands Syntax PJL DINQUIRE LPARM personality variable CR LF Response Syntax PJL DINQUIRE LPARM personality variable CR LF value CR LF FF If the variable is not supported by the printer it returns the response in the follo...

Page 245: ...owing response for the above DINQUIREcommands PJL ECHO 20 33 05 02 20 1993 CR LF FF PJL DINQUIRE LPARM PCL FONTSOURCE CR LF I CR LF FF PJL DINQUIRE LPARM PCL FONTNUMBER CR LF 15 CR LF FF 7 4 ECHO Command The ECHO command requests the printer to send back a specified message in order to ensure that the printer is ready for communication with the application and that the received answer from the pri...

Page 246: ...sends back the answer for the above ECHO command PJL ECHO This is a sample 22 03 00 CR LF FF After receiving the above answer all the messages from the printer are the requested information from the application except for unsolicited status information 7 5 INFO Command The INFO command requests the printer to send back information on a specific category of the printer such as ID model name CONFIG ...

Page 247: ... 2460 3260N 1650 1670N INTRAYCONFIG The information of the paper cassette HL 2460 3260N 1650 1670N OUTTRAYCONFIG The information of the paper output tray HL 2460 3260N 1650 1670N DXCONFIG The information of the Duplex unit HL 2460 3260N 1650 1670N STORAGECONFIG The information of the memory device HL 2460 3260N 1650 1670N 7 5 1 ID category The application can use PJL INFO ID command to find out th...

Page 248: ...2001 10 02 CHAPTER 5 PJL 44 ...

Page 249: ...on the LCD DISPLAY CHARACTER SIZE number of characters available on the LCD etc value numbers Value for the feature or value which shows a number or range of options to follow feature information alphabetical letters ASCII 65 90 or 97 122 numbers ASCII 48 57 separated from others by spaces Type of the following information ENUMERATED RANGE READONLY etc returned option alphabetical letters ASCII 65...

Page 250: ...ERATED indicates that there are two options in IN TRAYS paper sources and MEMORY 2097152 indicates the RAM size in the printer is 2097152 bytes 7 5 3 MEMORY category The application can use the PJL INFO MEMORYcommand to check the size of total free memory and the largest free memory block in the printer The free memory size may vary according to the personality printer language In order to know th...

Page 251: ... environment settings possible language specific variables the current settings for both and the possible values or range for those variables Refer to the Environment Variables in Chapter 6 for more information about the variables for the environment settings The language specific variables returned from the printer depend on the current environment and are indicated with LPARM personality The val...

Page 252: ...600 CR LF PERSONALITY AUTO EPSON 8 ENUMERATED CR LF AUTO CR LF PCL CR LF POSTSCRIPT CR LF Interactive CR LF IBMProprinterXL CR LF EPSONFX850 CR LF HPGL CR LF TIMEOUT 10 2 RANGE CR LF 1 99 INTRAY1 UNLOCKED 2 ENUMERATED CR LF UNLOCKED CR LF LOCKED CR LF INTRAY2 UNLOCKED 2 ENUMERATED CR LF UNLOCKED CR LF LOCKED CR LF AUTOCONT ON 2 ENUMERATED CR LF OFF CR LF ON CR LF LOWTONER OFF 2 ENUMERATED CR LF OF...

Page 253: ...ERATED CR LF ROMAN8 CR LF ISOL1 CR LF ISOL2 CR LF WIN30 CR LF HPGERM CR LF HPSPAN CR LF MCTEXT CR LF LPARM POSTSCRIPT PRTPSERRS OFF 2 ENUMERATED CR LF OFF CR LF ON CR LF FF 7 5 6 USTATUS category The application can send the PJL INFO USTATUS command to check the possible unsolicited status types of the printer and the current setting value and possible values for them Syntax PJL INFO USTATUS CR LF...

Page 254: ...5X PJL CR LF PJL COMMENT the INFO USTATUS command CR LF PJL ECHO This is a sample 2 28 1993 21 15 00 CR LF PJL INFO USTATUS CR LF ESC 12345X The printer may send back the following answer for the above command PJL ECHO This is a sample 2 28 1993 21 15 00 CR LF FF PJL INFO STATUS CR LF DEVICE VERBOSE 3 ENUMERATED CR LF OFF CR LF ON CR LF VERBOSE CR LF JOB ON 2 ENUMERATED CR LF OFF CR LF ON CR LF PA...

Page 255: ...job start job end valid OFF Makes unsolicited job status invalid PAGE ON Makes unsolicited page status reporting respective page printed and ejected valid OFF Makes unsolicited page status invalid TIMED 5 to 300 Makes timed unsolicited status allowing the printer to send back unsolicited status after an interval specified in seconds valid 0 Turn TIMED USTATUS off Makes timed unsolicited status inv...

Page 256: ...NLINE FALSE CR LF FF Example 2 When the following wrong PJL command is sent ESC 12345X PJL CR LF PJL USTATUS DEVICE VERBOSE CR LF PJL ECO wrong sample 3 6 1993 23 12 00 CR LF ESC 12345X The printer may send back the answer for the above command PJL USTATUS DEVICE CR LF CODE 20002 CR LF FF 7 6 2 JOB variables The PJL USTATUS JOB ON command allows the printer to send the job processing status This i...

Page 257: ...ATUS PAGE CR LF 3 CR LF FF PJL USTATUS PAGE CR LF 4 CR LF FF 7 6 4 TIMED variable The PJL USTATUS TIMED XXX command enables the printer to send printer status information to the application at the specified time period This time interval can be set to 0 and from 5 to 300 seconds If set to 0 this function is turned off If set to any value between 5 and 300 the printer automatically sends to the app...

Page 258: ...Recovery You can recover a failed job with the combination of JOB and EOJ commands and the USTATUS PAGE command JOB EOJ commands inform the printer of the beginning and ending of each job and the USTATUS PAGEcommand informs the application of completion of printing of each page of a job When the spooler finds a job failure it can recover the failed job It can send the JOB command with the START op...

Page 259: ...er back on line by the on line off line key the printer name is returned by the printer to the application 8 2 RDYMSG Command With the RDYMSGcommand you can change the message 00 READY on the printer control panel into a specified message The printer will be kept online Syntax PJL RDYMSG DISPLAY message CR LF Parameters Parameter Functional Range Default DISPLAY message ASCII 33 and ASCII 35 throu...

Page 260: ...ailable on the printer except for the quotation marks ASCII 34 up to 16 characters in total including spaces or horizontal tab Characters must be enclosed in double quotes Example The following example shows how to display LOAD C5 ENVELOPE on the printer switch panel ESC 12345X PJL CR LF PJL JOB NAME JOB C5 envelope CR LF PJL OPMSG DISPLAY LOAD C5 ENVELOPE CR LF PJL CR LF PJL ENTER LANGUAGE PCL CR...

Page 261: ...rizontal tab Characters must be enclosed in double quotes key After the operator presses the key in order to put the printer back to on line this variable will be returned with the status response Example Following example shows how to display LOAD LETTER SIZE on the printer switch panel LCD ESC 12345X PJL CR LF PJL CR LF PJL STMSG DISPLAY LOAD LETTER SIZE CR LF PJL CR LF PJL ENTER LANGUAGE PCL CR...

Page 262: ...33 ID category 33 MEMORY category 35 STATUS category 36 USTATUS category 38 VARIABLES category 36 information line 11 INITIALIZE command 25 INQUIRE command 29 invalid command 7 J JOB Command 13 job name 13 JOB recovery 43 K Kernel command O OPMSG command P PCL specific variables PERMFONT PJL RESET command PostScript specific variable print environment PRTCONFIG R RDYMSG command reset conditions RE...

Page 263: ...2001 10 02 CHAPTER 5 PJL 59 ...

Page 264: ...2001 10 02 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...

Page 265: ...4 TERMINOLOGY 7 4 1 Syntax 7 4 2 Conventions 7 5 CONTROLLING THE PRINTER 8 5 1 The Control Panel 8 5 2 Control codes 8 5 3 Escape sequence 8 6 COMMANDS 9 6 1 Basic printer operations 9 6 2 Page set up 12 6 3 Line Spacing 14 6 4 Using Tabs 16 6 5 Using Standard Characters 17 6 6 Using customized characters 22 6 7 Graphics 24 7 INDEX 30 ...

Page 266: ...able out of paper sensor 12 Esc 8 Disable out of paper sensor 12 Esc C n Set page length 12 Esc C NUL n Set page length 13 Esc n Set left margin 13 Esc Q n Set right margin 13 Esc N n Set perforation skip 13 Esc O Cancel perforation skip 13 Esc 2 Select 1 6 line spacing 13 Esc 0 Select 1 8 line spacing 13 Esc 1 Select 7 72 line spacing 14 Esc A n Select n 72 line spacing 14 Esc 3 n Select n 216 li...

Page 267: ...ght printing 19 Esc n Select cancel underline mode 19 Esc n Select printing mode 19 Esc 6 Select expansion of printable code area 20 Esc 7 Cancel expansion of printable code area 20 Esc l n Expand printable code area 20 Esc R n Select international character set 20 Esc t n Select italic graphic character table 20 Esc NUL n1 n2 n3 character definition data 21 Define characters Esc n NUL Select stan...

Page 268: ...orporating control codes and escape sequences into your program Alternatively applications software for example your word processing or spreadsheet software may send the necessary commands to the printer automatically Check the manual that came with your software for instructions on how to use your application with an Epson FX 850 printer ...

Page 269: ...ange the printer s printing speed cannot do so since the HL Series printers always print as fast as they can Hence the Esc s command to select or cancel half speed printing mode is also ignored and the Esc Yescape sequence Print Double Speed Double Density Image performs the same function as the Esc L Print Double Density Image command 3 2 Resolution The resolution of our recent printers is 600 do...

Page 270: ...d within the same command The data consists of numbers represented by bytes which are sent to the printer as if they were ASCII character codes 4 2 Conventions Although the machine is a laser printer and does not physically have a print head for the purposes of this emulation description we refer to the location on the page at which the printer is currently positioned to print as the print positio...

Page 271: ...nd a control code to the printer by sending the same type of instruction you would use to print a character using its ASCII code number For example the ASCII code for a form feed is 12 so to make the printer perform a form feed use the following BASIC statement LPRINT CHR 12 The CHR operator is normally used to convert an ASCII code into its corresponding character 5 3 Escape sequence Escape seque...

Page 272: ...trol code ASCII 13 moves the print position to the left margin on the current line If automatic line feed is on this code moves the current print position to the left margin on the next line On some printers you can turn on automatic line feed using the control panel switches LPRINT CHR 13 Carriage return Line feed LF 10 0Ah The LF control code ASCII code 10 moves the current print position down o...

Page 273: ...e to be moved is n1 n2 256 120 If the specified position is to the right of the right margin the command is ignored LPRINT CHR 27 CHR 36 CHR 120 CHR 0 Print a line 2 in Set relative print position Esc n1n2 27 92 n1n2 1Bh 5Ch n1n2 This command allows you to print characters a specified distance to the left or right of the current print position The unit of movement is 1 120 If you wish to move the ...

Page 274: ... CHR 27 CHR 64 Printer reset Reset printer change emulation mode EscCR mode 27 13 mode 1Bh 0Dh mode This command enables you to switch emulation mode or to reset the printer Change emulation mode by setting mode to the appropriate letter or pair of letters Set mode to D to switch to Diablo mode H to switch to LaserJet mode I to switch to IBM Proprinter XL mode AB to switch to BR Script Batch mode ...

Page 275: ...feeder mode n 1 Feed fromthe Tray 1 n 2 Feed from the Tray 2 n R Eject paper Enable out of paper sensor Esc9 27 57 1Bh 39h The printer ignores this command Disable out of paper sensor Esc8 27 56 1Bh 38h The printer ignores this command 6 2 Page set up Set page length EscCn 27 67 n 1Bh 43h n This command sets the page length in lines or EscCNULn 27 67 00 n 1Bh 43h 00h n This command sets the page l...

Page 276: ...HAPTER 6 EPSON 13 If the second form of the command is used n page length in inches n must be in the range 1 to 14 LPRINT CHR 27 CHR 67 CHR 40 40 lines per page LPRINT CHR 27 CHR 67 CHR 0 CHR 11 11 inches per page ...

Page 277: ...om margin the printer performs a page eject and moves the print position to the top of the next page n the number of lines at the current line spacing setting between the bottom margin and the bottom edge of the paper n must be in the range 1 to 127 Esc C Set Page Length and Esc O Cancel Perforation Skip cancel automatic perforation skip If the bottom margin specified by this command would be loca...

Page 278: ... print position n 216 down the page Since the printer s resolution is 600 dots per inch the line spacing will not be exactly n 216 n must be in the range 1 to 255 LPRINT CHR 27 CHR 51 CHR 25 Select line spacing of 25 216 Perform n 216 line feed EscJn 27 74 n 1Bh 4Ah n This command performs a single line feed moving the print position down the page by n 216 This command does not perform a carriage ...

Page 279: ... command is ignored if there are no tab stops to the right of the current print position or if the next tab stop is beyond the right margin LPRINT CHR 9 Tab Set vertical tab stops EscBn1n2n3 NUL 27 66 n1n2n3 00 1Bh 42h n1n2n3 00h This command enables you to set up to sixteen vertical tab stops based on the current line space setting The tab stops must be set in ascending order If you specify the t...

Page 280: ... current print position one vertical tab stop down the page The current vertical tab channel s settings are used If you have not previously selected a vertical tab channel with the Esc command channel 0 the default channel is used If you have not set any vertical tab stops for the current channel with either the Esc B Esc b or Esc e 1 commands the print position is moved down one line using the cu...

Page 281: ...INT CHR 18 Cancel condensed character mode Select emphasized character mode EscE 27 69 1Bh 45h This command turns emphasized character mode on Subsequent text is printed with a bold stroke width LPRINT CHR 27 CHR 69 Turn emphasized character mode on Cancel emphasized character mode EscF 27 70 1Bh 46h This command turns emphasized character mode off Subsequent text is printed with a medium stroke w...

Page 282: ...th printing mode set using the SO escape sequence LF FF VT Esc W 0 DC4 and ESC If the auto LF automatic line feed function has been turned on from the control panel the carriage return control code CR will also cancel double width printing mode selected with the Esc SO escape sequence This command functions exactly like the SO control code LPRINT CHR 27 CHR 14 Set double width printing mode for on...

Page 283: ...ed LPRINT CHR 27 CHR 119 CHR 1 Set double height printing mode Select cancel underline mode Esc n 27 45 n 1B 2D n This command turns character underlining on or off If n is set to 1 subsequent text is printed underlined All characters including space characters are underlined with a continuous line Horizontal tabbed spaces are never underlined If n is set to 0 subsequent text is not underlined Whe...

Page 284: ...d contains a small number of special characters necessary for printing in that particular language The selection you make with this command does not affect any italic or graphics character table selection that you may have made with the Esc t command The character sets listed below plus several others can also be selected from the printer s control panel The character sets available and the corres...

Page 285: ...to print a dot in that position on the grid or to 0 to print white space The MSB bit 8 of n3 specifies whether the defined character is an ascender or a descender Set bit 8 to 0 when defining an ascender and to 1 for a descender Ascending characters occupy the top 8 rows of the grid while descending characters occupy rows 2 to 9 of the grid Bits 5 to 7 of n3 specify the number of columns left blan...

Page 286: ...2001 10 02 CHAPTER 6 EPSON 23 LPRINT CHR 27 CHR 37 CHR 1 CHR 0 Select downloaded characters ...

Page 287: ...izontal resolution at which the image will be printed m must be in the range 0 to 7 A value of 0 selects 60 dots per inch 1 and 2 select 120 dots per inch 3 selects 240 dots per inch 4 selects 80 dots per inch 5 selects 72 dots per inch 6 selects 90 dots per inch and 7 selects 144 dots per inch Each byte represents a vertical column of eight dots the most significant bit representing the dot at th...

Page 288: ...ns of data each column representing a single vertical column of 1 8 Each pair of bytes represents a vertical column of nine dots the most significant bit of the first byte representing the dot at the top of the column the least significant bit of the first byte representing the second dot from the bottom and the MSB of the second byte representing the dot at the bottom of the column Bits 1 to 7 of...

Page 289: ...8 70 FOR K 1 TO 20 80 N 2 J 1 90 LPRINT CHR N 100 NEXT K 110 NEXT J 120 LPRINT 130 NEXT I END ESC K n1 n2 Sample 11 Print double density image EscLn1 n2 image data 27 76 n1n2 1Bh 4Ch n1n2 This command enables you to define and print a single line raster bit image on a single text line n1 and n2 define the number of bytes that comprise the image The image consists of 256 n2 n1 bytes of data each by...

Page 290: ...2001 10 02 CHAPTER 6 EPSON 27 Sample 12 ...

Page 291: ...DENSITY BIT IMAGE MODE 50 LPRINT CHR 27 Y CHR 160 CHR 0 60 FOR J 1 TO 8 70 FOR K 1 TO 20 80 N 2 J 1 90 LPRINT CHR N 100 NEXT K 110 NEXT J 120 LPRINT 130 NEXT I END ESC Y n1 n2 Sample 13 Print quadruple density image EscZn1 n2 image data 27 90 n1n2 1Bh 5Ah n1n2 This command enables you to define and print a single line raster bit image on a single text line n1 and n2 define the number of bytes that...

Page 292: ...2001 10 02 CHAPTER 6 EPSON 29 Sample 14 ...

Page 293: ...b stops 15 I image mode 22 Initialize 11 inter character space 10 international character set 20 italic graphics character table 20 italic mode 18 J justification mode 10 L left margin 13 Line feed 9 14 line spacing 13 P page length 12 perforation skip 13 pitch 16 printable code area 20 printing mode 19 proportional spacing 16 Q quadruple density image 25 R relative print position 10 resolution 6 ...

Page 294: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...

Page 295: ...nds 6 3 2 Resolution 6 3 3 Character Set selection 6 3 4 Controlling the Printer 6 3 5 Control Codes 6 3 6 Escape sequences 6 4 NOTATION USED IN THIS EMULATION DESCRIPTION 7 4 1 Syntax 7 4 2 Data Conventions 7 5 COMMANDS 8 5 1 Basic Printer Operation 8 5 2 Page Format 11 5 3 Using Characters 14 5 4 Graphics 18 6 INDEX 21 ...

Page 296: ...e n 216 line feed 12 EscDn1n2n3 NUL 13 Set horizontal tab stops EscBn1n2n3 NUL 13 Set vertical tab stops HT Horizontal tab 13 VT Vertical tab 13 EscR Restore default tab settings 13 Esc7 Select character set I 14 Esc6 Select character set II 14 DC2 Set pitch to 10 cpi 14 Esc Set pitch to 12 cpi 14 EscPn Proportional spacing 14 SI Set condensed character mode 14 EscE Set emphasized character mode 1...

Page 297: ...elect character font 17 Esc n1n220n3 n4n5 character definition data 17 Define characters EscKn1n2 image data 18 Set single density image mode EscLn1n2 image data 18 Set double density image mode EscYn1n2 image data 19 Set double speed double density image mode EscZn1n2 image data 20 Set quadruple density image mode ...

Page 298: ...an drive the printer directly by incorporating control codes and escape sequences in your program or alternatively applications software for example your word processing software may send the necessary commands to the printer automatically Check the manual that came with your software package for instructions on how to use your software with an IBM Proprinter XL ...

Page 299: ...iption of how to do this All available character sets are shown in the IBM Proprinter XL mode section of the appendix at the end of this manual 3 4 Controlling the Printer Commands are invoked using either control codes or escape sequences You can send them to the printer as part of a program using the same command that you would use to print a text string on the printer For example in BASIC you w...

Page 300: ... the literal character which and should be sent to the printer as a character code A letter or word in italics is a variable and you must substitute the appropriate value or values when using the command An ellipsis indicates that an element may be repeated any number of times 4 2 Data Conventions The bits that comprise a byte of data are numbered 1 to 8 Bit 1 is the least significant bit LSB and ...

Page 301: ... to the right LPRINT CHR 32 Backspace BS 08 08h The BS control code ASCII 8 moves the current print position one space to the left LPRINT CHR 8 Line feed LF 10 0Ah The LF control code ASCII 10 moves the current print position down one line LPRINT CHR 10 Form feed FF 12 0Ch The FF control code ASCII 12 ejects the current page unless it is blank and moves the current print position to the top of the...

Page 302: ...mulation mode EscCR mode 27 13 mode 1Bh 0Dh mode This command changes the printer emulation mode or performs a reset mode can be E Epson H LaserJet I IBM Proprinter XL AB BR Script Batch AI BR Script Interactive GL HP GL or FD factory default On receiving this command the printer prints any remaining data and performs a page eject unless the current page is blank The new emulation mode default set...

Page 303: ...der mode n 1 Feed from the MP tray n 2 Feed from Tray 1 n 3 Feed from Tray 2 n 4 Feed from Tray 3 n 5 Feed from Tray 4 n R Eject paper n Value HL 1050 n 0 Initialize the feeder mode n 1 2 Feed from the tray n R Eject paper n Value HL 1250 1270N 1450 1470N P2500 1650 1670N n 0 Initialize the feeder mode n 1 Feed from Tray 1 n 2 Feed from Tray 2 n R Eject paper ...

Page 304: ... number of character positions at the current pitch between the left edge of the page and the right margin If you set m 0 the current left margin setting is retained If you set n 0 the current right margin setting is retained LPRINT CHR 18 Set pitch to 10 CPI LPRINT CHR 27 CHR 88 CHR 10 CHR 70 Set margins to 1 and 7 Set perforation skip EscNn 27 78 n 1Bh 4Eh n This command sets the bottom margin a...

Page 305: ...the line spacing may not be exactly n 72 n must be in the range 1 to 85 If n is outside the range 1 to 85 the default line spacing 1 6 is selected LPRINT CHR 27 CHR 65 CHR 10 Select line spacing of 10 72 Activate n 72 line spacing Esc2 27 50 1Bh 32h This command allows you to activate the line spacing setting you specified with the Esc A command LPRINT CHR 27 CHR 50 Activate selected line spacing ...

Page 306: ...ear all vertical tab settings You can move the print position to the tab stops using the VT control code LPRINT CHR 27 CHR 66 CHR 12 CHR 24 CHR 0 Set tab stops at lines 12 and 24 Horizontal tab HT 09 09h The HT control code ASCII 9 moves the current print position one tab stop to the right The command is ignored if there are no tab stops to the right of the current print position or if the next ta...

Page 307: ... on or off Setting n to 1 turns proportional spacing on Subsequent text is printed proportionally spaced Setting n to 0 turns proportional spacing off Subsequent text is printed monospaced If you change the character pitch using DC2 SI or Esc proportional spacing is automatically turned off LPRINT CHR 27 CHR 80 CHR 1 Turn proportional spacing on Set condensed character mode SI 15 0Fh This command ...

Page 308: ...el enlarged character mode set with SO Enlarged character mode EscWn 27 87 n 1Bh 57h n This command turns enlarged character mode on or off If n is set to 1 subsequent text is printed using double width characters The line spacing setting is doubled If n is set to 0 subsequent text is printed using normal sized characters The previous line spacing and character pitch settings are restored Only Esc...

Page 309: ...ngle or double line spacing and single or double character height and width n1 should be set to 4 and n2 n3 and n4 to 0 To set double line spacing and select double height characters set n5 to 34 To set double line spacing and select normal height characters set to n5 to 33 To set single line spacing and select double height characters set to n5 to 18 To set single line spacing and select normal h...

Page 310: ... define and download characters for printing Monospaced characters are designed on a grid eleven dots wide by twelve dots high The width of proportionally spaced characters is specified in n5 1 2 3 4 5 6 7 8 9 10 11 12 Blank columns Character width Rows 1 8 Replication area Rows 2 9 n1 and n2 define the number of characters to be defined as follows number of characters n1 n2 256 2 13 n3 is the cha...

Page 311: ...comprise the image The image consists of 256 n2 n1 bytes of data each byte representing a single vertical column of 4 30 Images are printed left to right Images are printed at a horizontal resolution of 60 dots per inch and at an approximate vertical resolution of 72 dots per inch Each byte represents a vertical column of eight dots the most significant bit representing the dot at the top Simply s...

Page 312: ...e and print a single line raster bit image on a single text line n1 and n2 define the number of bytes that comprise the image The image consists of 256 n2 n1 bytes of data each byte representing a single vertical column of 4 30 Images are printed left to right Images are printed at an approximate horizontal resolution of 120 dots per inch and at an approximate vertical resolution of 72 dots per in...

Page 313: ...to right Images are printed at an approximate horizontal resolution of 240 dots per inch and at an approximate vertical resolution of 72 dots per inch Each byte represents a vertical column of eight dots the most significant bit representing the dot at the top Simply set a bit to 1 if you want a dot to appear in that position and to 0 if you want white space to appear 10 WIDTH LPT1 255 20 LPRINT E...

Page 314: ...cter 15 Escape 8 Escape sequences 6 F feeder mode 10 Form feed 8 G graphics 18 H horizontal tab 13 L left margin 11 Line feed 8 line spacing 12 O overline mode 16 P page length 11 paper input control 10 perforation skip 11 pitch 14 print quality 17 proportional spacing 14 Q quadruple density image mode 20 R resolution 6 right margin 11 S single density image mode 18 Space 8 subscript character mod...

Page 315: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 22 ...

Page 316: ...2001 10 02 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...

Page 317: ...t Zone 6 3 6 Bar Code Expanded Character Unit Line Block Drawing Box Drawing Units 6 3 7 Bar Code Expanded Character Line Block Drawing Box Drawing Offset in the X axis 7 3 8 Bar Code Expanded Character Offset in the Y axis 7 3 9 Bar Code Expanded Character Line Block Drawing Box Drawing Height 7 3 10 Expanded Character Line Block Drawing Box Drawing Width 7 3 11 Expanded Character Rotation 7 3 12...

Page 318: ...CHAPTER 8 BAR CODE CONTROL 3 1 INTRODUCTION Some of the HL series printers can print bar codes in the HP LaserJet EPSON FX 850 and IBM Proprinter XL emulation modes refer to the printer User guide for information ...

Page 319: ... EXPANDED CHARACTERS ESC i n n 27 105 n n 92 1Bh 69h n n 5Ch Creates bar codes or expanded characters according to the parameters n n For further information about the parameters see the following Definition of Parameters This command must end with the code 5CH ...

Page 320: ...T5 EAN 8 EAN 13 or UPC A n t6 or T6 UPC E n t9 or T9 Codabar n t12 or T12 Code 128 set A n t13 or T13 Code 128 set B n t14 or T14 Code 128 set C n t130 or T130 ISBN EAN n t131 or T131 ISBN UPC E n t132 or T132 EAN 128 set A n t133 or T133 EAN 128 set B n t134 or T134 EAN 128 set C This parameter selects the bar code mode as above When n is t5 or T5 the bar code mode EAN 8 EAN 13 or UPC A varies ac...

Page 321: ...able line below the bar code Human readable characters are always printed with OCR B font at 10 cpi pitch and all the current character style enhancements are masked Note that the default setting is subject to the bar code mode selected by t or T 3 5 Quiet Zone n onnn or Onnn nnn 0 32767 Quiet Zone is the space on both side of the bar codes Its width can be specified using the units which are set ...

Page 322: ... Expanded characters Ý 2 2 mm default Line Block Drawing Box Drawing Ý 1 dot This parameter specifies the height of bar codes or expanded characters as above It can take the prefix h H d or D The height is specified in the u or U specified units Note that the default setting of the bar code height 12 mm 18 mm or 22 mm is subject to the bar code mode selected by t or T 3 10 Expanded Character Line ...

Page 323: ...e Post Net US Post Net is selected with the parameter t4 or T4 Characters 0 to 9 can be accepted as bar code data and it must be terminated by a check digit can be used in place of a check digit When the EAN 8 EAN 13 or UPC A is selected with the parameter t5 or T5 Ten numerical characters 0 to 9 can be accepted as bar code data The number of characters for bar codes is limited as follows EAN 8 To...

Page 324: ... the character it must be sent twice When ISBN EAN is selected with the parameter t130 or T130 The rules are the same as for t5 or T5 When the ISBN UPC E is selected with the parameter t131 or T131 The rules are the same as for t6 or T6 When EAN 128 set A set B or set C is selected with the parameter t132 or T132 t133 or T133 or t134 or T134 respectively Same rules apply as for t12 or T12 t13 or T...

Page 325: ...it5r1s0x00y080b1234567 150 LPRINT CHR 27 it5r1s0x70y080b1234567 12345 160 UPC E 170 LPRINT CHR 27 it6r1s0x00y110b0123456 180 LPRINT CHR 27 it6r1s0x70y110b0123456 12344 190 CODABAR 195 LPRINT CHR 27 it9r1s0x00y140bA123456A 210 POST NET 220 LPRINT CHR 27 it4r1x70y140b1234567 230 FIM 240 LPRINT CHR 27 iT3R1x130Y140BA 250 ISBN 260 LPRINT CHR 27 it130r1s0x00y170b123456789012 12345 270 LPRINT CHR 27 it1...

Page 326: ...2001 10 02 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...

Page 327: ...ng Area 4 2 3 1 Coordinate system 4 2 3 2 Printing area 5 3 COMMANDS 6 3 1 Initialization and Default Setting Instructions 6 3 2 Plot Area and Unit Setting Instructions 7 3 3 Pen Control and Plot Instructions 8 3 4 The polygon Group 13 3 5 Plot Function Instructions 18 3 6 Character Plot Instructions 20 3 7 Dual Context Extensions 26 4 INDEX 27 ...

Page 328: ...T Fill type 18 LT Line type selection 18 PW Pen width 19 SM Symbol mode 19 SP Select pen 19 TL Tick length 19 XT X axis tick 20 YT Y axis tick 20 PT Pen thickness select 20 CS Standard character set 20 CA Alternate character set 20 SS Select standard character set 21 SA Select alternate character set 21 DT Define label terminator 21 LB Character plot 22 DI Absolute direction 22 DR Relative directi...

Page 329: ...ield are in one of the following four formats 1 Integer integers between 230 and 230 1 Real numbers specified for a parameter that should be an integer are rounded to the nearest integer 2 Clamped integers integers between 32768 and 32767 Values outside this range are converted to the nearest integer within the range Real numbers are rounded to the nearest integer 3 Real real numbers between 230 a...

Page 330: ...2001 10 02 CHAPTER 9 HP GL 5 2 3 2 Printing area a b d c a b c d mm A4 4 5 5 5 A3 4 5 5 5 HL 3400CN 3260N Letter 6 5 5 5 Legal 6 5 5 5 ...

Page 331: ...g SC Off Label terminator DT chr 3 chr 3 Chord angle 5 degrees Fill type FT Bi directional fill type 1 Fill distance FT 1 of distance from P1 to P2 Fill slant FT 0 degrees Pen Thickness PT Set at 0 3 mm NOTE The location of the scaling points P1 P2 remains constant IN Initialize set instruction IN Returns the graphics mode to the following initial conditions Function Equivalent Instruction Conditi...

Page 332: ...ordinates are outside the print area Using this instruction without a parameter field initializes the scaling points P1 P2 P2X and P2Y may be omitted If P2X and P2Y are omitted P2 is set automatically so as not to alter the distance between P1 and P2 SC Scale SC Xmin Xmax Ymin Ymax Xmin X coordinate of P1 Xmax X coordinate of P2 Ymin Y coordinate of P1 Ymax Y coordinate of P2 Sets the scale for th...

Page 333: ...2 X1 Y1 Using this instruction without a parameter field releases any previous limitations on the plot area X2 Y2 X1 Y1 Window Print paper RO Rotate coordinate system RO q q Angle in degrees through which the coordinate system is rotated This instruction rotates the coordinate system A value of 0 or 90 must be used for q Using this instruction without a parameter field sets the rotation of the coo...

Page 334: ... last plot command executed The absolute coordinates are set as default Moves the cursor to the specified coordinates after lowering the pen This plots a straight line Using this instruction without a parameter lowers the pen without changing the cursor position One dot is plotted When scaling has been performed the cursor is moved by user coordinates Also when scaling has been performed the value...

Page 335: ...ate of the cursor movement destination Coordinates are relative to the current position in user units or graphics units Plots a straight line only when the pen is down When scaling has been performed the cursor is moved by relative coordinates in user units Also when scaling has been performed the values for X and Y are real numbers When there is no scaling the cursor is moved by relative coordina...

Page 336: ...real number When qc is positive counterclockwise plotting from the current point is performed When qc is negative plotting is made clockwise from the current position The value for qd is a clamped real number When qd is not specified the chord angle is the default value 5 degrees X Y qc Arc Angle qd Chord Angle 10 AAEX 20 LPRINT IN SP1 IP2650 1325 7650 6325 30 LPRINT SC0 100 0 100 40 LPRINT PA0 30...

Page 337: ...e 5 degrees 10 AREX1 20 LPRINT IN SP1 IP2650 1325 7650 6325 30 LPRINT SC 100 100 100 100 40 LPRINT PA 80 80 PD AR0 50 90 AR50 0 90 PU 50 END Sample 69 10 AREX2 20 LPRINT IN SP1 IP2650 1325 7650 6325 30 LPRINT SC 100 100 100 100 40 LPRINT PA 100 70 PD PR30 0 AR 70 90 AR70 0 90 PR60 0 PU 50 END 100 END Sample 70 CI Circle plot CI r qd r Radius of circle in user units or graphic units qd Chord angle ...

Page 338: ...0 PR 300 300 CI250 140 LPRINT PR 300 300 CI70 PR600 0 CI70 150 RETURN Sample 67 3 4 The polygon Group Instruction Function EA Edge Absolute Rectangle ER Edge Relative Rectangle EW Edge Wedge RA Fill Absolute Rectangle RR Fill Relative Rectangle WG Fill Wedge EA Edge rectangle absolute EA X Y X X coordinate of opposite angle for the rectangle Y Y coordinate of opposite angle for the rectangle X and...

Page 339: ... the rectangle formed by the current position and the opposite angle specified by X and Y After plotting the cursor returns to its point of origin Plotting is performed whether the pen is up or down When scaling has been performed the rectangle is plotted in user units Also when scaling has been performed the values for X and Y are real numbers When there is no scaling the rectangle is plotted in ...

Page 340: ...cifies the wedge starting point related to the 0 degree reference point When q1 is positive the positive direction of the X axis relative to the current position is set at 0 degrees and the start point is sought in the counterclockwise direction The opposite occurs when q1 is negative the negative X axis is set at 0 degrees and the start point is sought by going clockwise qc specifies the angle of...

Page 341: ...00 RA5750 3250 50 LPRINT FT2 RA5750 4750 60 LPRINT FT4 100 45 RA4250 4750 70 END Sample 71 RR Fill rectangle relative RR X Y X X coordinate of opposite angle for the rectangle Y Y coordinate of opposite angle for the rectangle Coordinates are relative to the current position in user units or graphics units Fill in the rectangle formed by the current position and the opposite angle specified by X a...

Page 342: ...is a clamped real number When q1 is positive the positive direction of the X axis relative to the current position is set at 0 degrees and the start point is sought in the counterclockwise direction The opposite occurs when q1 is negative the negative X axis is set at 0 degrees and the start point is sought by going clockwise The value for qc is a clamped real number Plotting proceeds counterclock...

Page 343: ...l already specified will be used If d is 0 the default value will be used 1 of distance from P1 to P2 The value of d is a clamped real number If q is omitted the fill angle already specified will be used The value of q is a clamped real number LT Line type selection LT n p n Line pattern number p Line pattern length percentage or millimeters of distance between P1 and P2 Specifies the line type an...

Page 344: ...150 SMX PA1850 600 PU 80 END Sample 78 SP Select pen SP n n Pen number Selects the pen specified by the pen number The value for n must be an integer from 0 to 6 TL Tick length TL l1 l2 1 Length of ticks in the positive X and Y axes 2 Length of ticks in the negative X and Y axes Tick length is a percentage of the vertical and horizontal distances between P1 and P2 Sets the length of tick marks for...

Page 345: ...The default value 0 3 mm is used when d is omitted 3 6 Character Plot Instructions Instruction Function CS Standard Set Definition CA Alternate Set Definition SS Select Standard Font SA Select Alternate Font DT Define Label Terminator LB Define Label DI Absolute Direction DR Relative Direction CP Character Plot SI Set Absolute Character Size SR Set Relative Character Size SL Set Character Slant UC...

Page 346: ..._E_T_4 CHR 14 S_E_T_9 CHR 3 40 ENDø Sample 79 DT Define label terminator DT c c Character The specified character is used as the character plotter terminator The character plot mode is canceled by sending a terminator at the end of a character plot string The parameter field used for this command must be only one character in length The default value chr 3 is used when the parameter field is omitt...

Page 347: ... run rise run X direction component rise Y direction component Specifies the character plot direction Values for the run and rise are clamp ed real numbers The instruction is ignored when the values for both run and rise are 0 When the parameter field is omitted the default value horizontal direction is used θ run rise tan θ cos sin θ θ 10 DIEX 15 DEG 45 16 RAD3 1416 180 DEG 20 LPRINT IN SP2 PA305...

Page 348: ...mber of characters Values for X and Y are clamped real numbers When the parameter field is omitted the cursor is not moved along the X axis but it is moved 1 character in the negative direction along the Y axis identical to executing CP 0 1 X increment Y increment Current position 10 CPEX 20 LPRINT DF SP1 PA1000 3000 PDPR3000 0 PU PR 3000 0 30 LPRINT CP5 55 LBABOVE THE LINE CHR 3 PA2000 3000 40 LP...

Page 349: ...d characters expressed as a percentage of the y component of the distance between P1 and P2 Specifies the size of characters to be plotted Values for width and height are clamped real numbers When the parameter field is omitted the default values are used width 0 7500 height 1 5000 10 SREX 20 LPRINT IN SP2 PA100 7000 LBDEFAULT SIZE CHR 3 30 LPRINT IP 2000 2000 6500 6500 PA100 6500 40 LPRINT LBNEW ...

Page 350: ...entered between Xi Yi and Xi 1 Yi 1 the pen will be raised at that point 4 0 2 4 2 4 4 0 0 1 0 1 UC 4 99 0 1 4 0 2 4 2 4 4 0 0 1 Character point of origin 10 UCEX1 20 LPRINT IN SP2 PA2000 2000 30 FOR AA 19 TO 89 STEP 10 40 A AA 100 50 LPRINT SI A A 1 7 60 LPRINT UC4 7 99 0 1 4 0 2 4 2 4 4 0 0 1 70 NEXT AA 80 LPRINT PA2000 3750 90 FOR BB 19 TO 89 STEP 10 100 B BB 100 110 LPRINT SI B B 1 7 120 LPRIN...

Page 351: ... EscCRRD This command sets high resolution control dark level User reset Brother original EscCR R can be 0 1 or 2 0 indicates the current setting are restored 1 indicates the user settings 1 are restored 2 indicates the user settings 2 are restored Factory reset Brother original EscCRFD This command causes a factory reset to be performed restoring all the printer s factory default settings You can...

Page 352: ...ll wedge 17 H High resolution control 26 home position 4 I Initialize set instruction 6 Input scaling point 7 Input window 8 L Line type selection 18 P Pen down 9 Pen thickness select 20 Pen up 9 Pen width 19 Plot absolute 9 printing area 5 R Relative coordinate pen move 10 Relative direction 23 Rotate coordinate system 8 S Scale 7 Select alternate character set 21 Select pen 19 Select standard ch...

Page 353: ...10 5 2001 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...

Page 354: ...E 3 Typeface Selection PCL 15 HP GL 2 17 EPSON FX 850 19 IBM PROPRINTER XL 22 BAR CODE 24 HP GL 25 PJL 27 General PJL Environment Variables 33 PCL Specific Variables 38 PostScript Specific Variables 40 EPSON Specific Variables 41 IBM Specific Variables 42 ...

Page 355: ...rmination v v v v v v v v v v v v Esc s C End of Line Wrap v v v v v v v v v v v v EscY Display Function ON v v v v v v v v v v v v EscZ Display Function OFF v v v v v v v v v v v v Esc l1A Paper Size Executive v v v v v v v v v v v v Esc l2A Paper Size Letter v v v v v v v v v v v v Esc l3A Paper Size Legal v v v v v v v v v v v v Esc l6A Paper Size Ledger v Esc l25A Paper Size A5 v v v v v v Esc...

Page 356: ...5 v v v v v v v v Esc l46A Paper Size JIS B4 v v Esc l100A Paper Size B5 v v v v v v v v v v v v Esc l1024A Paper Size B6 v v v v v v v v v Esc l1025A Paper Size A5 v v v v v v v Esc l1026A Paper Size A6 v v v v v v v v v v Esc l1028A Paper Size 13 X19 v Esc l2048A Paper Size A4 Long v v v v v v Esc l80A Paper Size Monarch v v v v v v v v v v v Esc l81A Paper Size COM 10 v v v v v v v v v v v v ...

Page 357: ...ay1 Esc l2H Manual Feed v v v v v v v v v v v v Esc l3H Envelope v Feed from Manual Feed v Feed from Manual Feed v Feed from Manual Feed v Feed from Manual Feed v Feed from Manual Feed v Feed from Manual Feed v Feed from Manual Feed v Feed from Manual Feed v Feed from Manual Feed v Feed from Manual Feed Esc l4H Secondary Tray v Feeder2 v Lower Cassette v Lower Cassette v Lower Cassette v MP Tray v...

Page 358: ...101H Tray ID 2 v Tray ID 2 v TrayID 2 Esc l102H Tray ID 3 v Tray ID 3 v TrayID 3 Esc l103H Tray ID 4 v Tray ID 4 v TrayID 4 Esc l0S Simplex v v v v v v Esc l1S Duplex Long Edge Binding v v v v v v Esc l2S Duplex Short Edge Binding v v v v v v Esc l U Long edge Offset v v v v v v v v v v v v Esc l Z Short edge Offset v v v v v v v v v v v v Esc l X Copy Volume v 1 327 67 v 1 327 67 v 1 327 67 v 1 3...

Page 359: ...f Measure v v v v v v v v v v v v Esc a L Left Margin v v v v v v v v v v v v Esc a M Right Margin v v v v v v v v v v v v Esc9 Clear Side Margin v v v v v v v v v v v v Esc l E Top Margin v v v v v v v v v v v v Esc l C Line Pitch v v v v v v v v v v v v Esc k H Character Pitch v v v v v v v v v v v v Esc l D Line Spacing v v v v v v v v v v v v Esc l F Text Length v v v v v v v v v v v v Esc l P...

Page 360: ...tal Position dot v v v v v v v v v v v v Esc f0S Push Cursor Position v v v v v v v v v v v v Esc f1S Pop Cursor Position v v v v v v v v v v v v Esc Half line Feed v v v v v v v v v v v v Esc l O Print Orientation v 0 1 2 3 v 0 1 2 3 v 0 1 2 3 v 0 1 2 3 v 0 1 2 3 v 0 1 2 3 v 0 1 2 3 v 0 1 2 3 v v v v Esc a G Paper Side Selection v v v v v v v v v v v v EscCR H Scalable Font Ratio Horizontal v v v...

Page 361: ...fine Symbol Set v v v v v v v v v v v v Esc c S Symbol Set Control v v v v v v v v v v v v Esc symbol ID v v v v v v v v v v v v Esc s C Esc s C Character Set v v v v v v v v v v v v Esc s P Esc s P Fixed Pitch or PS v v v v v v v v v v v v Esc s H Esc s H Character Pitch Selection v v v v v v v v v v v v Esc k S Character Pitch Selection v v v v v v v v v v v v Esc s V Esc s V Point Size v v v v ...

Page 362: ...ID Set v v v v v v v v v v v v Esc c F Download Font Control v 0 6 v 0 6 v 0 6 v 0 6 10 26 1028 1029 v 0 6 v 0 6 10 26 1028 1029 v 0 6 10 26 1028 1029 v 0 6 10 26 1028 1029 v v v v Esc X Set to Primary Font v v v v v v v v v v v v Esc X Set to Secondary Font v v v v v v v v v v v v Esc Font Default Setting Primary v v v v v v v v v v v v Esc Font Default Setting Secondary v v v v v v v v v v v v E...

Page 363: ... Pattern Reference Point v v v v v v v v v v v v Esc c Q User defined Pattern Control v v v v v v v v v v v v Esc v T Select Pattern v 0 4 13 0 v 0 4 13 0 v 0 4 13 0 v 0 4 13 0 v 0 4 13 0 v 0 4 13 0 v 0 4 13 0 v 0 4 13 0 v 0 4 13 0 v v v Esc c A Pattern Horizontal Size dot v v v v v v v v v v v v Esc c H Pattern Horizontal Size decipoint v v v v v v v v v v v v Esc c B Pattern Vertical Size dot v ...

Page 364: ...sc r T Raster Height v v v v v v v v v v v v Esc r S Raster Width v v v v v v v v v v v v Esc b Y Raster Y Offset v v v v v v v v v v v v Esc b M Set Compression Mode v 0 1 2 3 5 9 1027 1028 1152 v 0 1 2 3 5 9 1027 1028 1024 1152 v 0 1 2 3 5 9 1027 1028 1152 v 0 1 2 3 5 9 1027 1028 1152 v 0 1 2 3 5 9 1027 1028 1152 v 0 1 2 3 5 9 1024 1027 1152 v 0 1 2 3 5 9 1024 1027 1152 v 0 1 2 3 5 9 1024 1027 1...

Page 365: ...rame Horizontal size v v v v v v v v v v v v Esc c L HP GL2 Plot Vertical Size v v v v v v v v v v v v Esc c K HP GL2 Plot Horizontal Size v v v v v v v v v v v v Esc f0X Start Macro Definition v v v v v v v v v v v v Esc f1X End Macro Definition v v v v v v v v v v v v Esc f2X Execute Macro v v v v v v v v v v v v Esc f3X Call Macro v v v v v v v v v v v v Esc f4X Macro Overlay ON v v v v v v v v...

Page 366: ...v v v v v v v v v Esc f1030X Delete All Macro from Card v v v v v v v v Esc f1036X Delete Current Macro from Card v v v v v v v v Esc f1038X Save Current Macro into Card v v v v v v v v Esc s T Set Status Readback Location Type v v v v v v v v v v v v Esc s U Set Status Readback Location Unit v v v v v v v v v v v v Esc s l Inquire Status Readback Entity v v v v v v v v v v v v Esc s1M Free Memory...

Page 367: ...penhagen v v v v v v v v v Esc s158T Portugal v v v v v v v v v Esc s159T Calgary v v v v v v v v v Esc s4101T PC Tennessee v v v v v v v v v v v v Esc s4143T PC Brussels v v v v v v v v v v v v Esc s4148T Utah v v v v v v v v v v v v Esc s4362T Alaska v v v v v v v v v v v v Esc s4168T Antique Oakland v v v v v v v v v v v v Esc s4099T Brougham v v v v v v v v v v v v Esc s4140T Cleveland Condens...

Page 368: ...C Ce HL 3400CN HL 1650 1670N HL 3260N HL 2460 Esc s16602T Helsinki v v v v v v v v v v v v Esc s16901T Tennessee v v v v v v v v v v v v Esc s31402T W Dingbats v v v v v v v v v v v v ESC s134T Bermuda Script v v v v v v v v v ESC s132T Germany v v v v v v v v v ESC s133T San Diego v v v v v v v v v ESC s135T US Roman v v v v v v v v v ...

Page 369: ...D HL 1050 1070 1250 1270N 1450 1470N P2500 1660e 2060 2400C 2400Ce 3400CN 1650 1670N 3260N 2460 DF v IN v IP v IR v SC v IW v RO v PU v PD v PA v PR v AA v AR v AT v RT v PE v CI v BR v BZ v PM v EA v ER v EP v EW v RA v RR v WG v FP v AC v FT v LA v LT v ...

Page 370: ... 1050 1070 1250 1270N 1450 1470N P2500 1660e 2060 2400C 2400Ce 3400CN 1650 1670N 3260N 2460 PW v RF v SM v SP v SV v TR v UL v WU v SD v AD v SS v SA v FI v FN v LB v DT v LO v DI v DR v DV v CP v CF v SI v SR v SL v SB v ES v TD v CO v PG v RP v NP v ...

Page 371: ...00Ce 3400CN 1650 1670N 3260N 2460 SP v BS v CR v LF v FF v Esc SP n v Esc a n v Esc n1 n2 v Esc n1 n2 v Esc v Esc v Esc v Esc v Esc CR R v Esc EM n v Esc C n v Esc C NUL n v Esc l n v Esc Q n v Esc N n v Esc O v Esc 2 v Esc 0 v Esc 1 v Esc A n v Esc 3 n v Esc J n v Esc j n v Esc D n1 n2 n3 NUL v HT v Esc B n1 n2 n3 NUL v ...

Page 372: ...650 1670N 3260N 2460 Esc b n m1 m2 m3 NUL v Esc n v VT v Esc P v Esc M v Esc p n v SI v Esc SI v DC2 v Esc E v Esc F v Esc G v Esc H v Esc W n v SO v Esc SO v DC4 v Esc 4 v Esc 5 v Esc S n v Esc T v Esc w n v Esc n v Esc n v Esc 6 v Esc 7 v Esc l n v Esc R n v Esc t n v Esc NUL n1 n2 v Esc n NUL v Esc 000 v Esc m n1 n2 v ...

Page 373: ...APPENDIX A COMPARISON LIST 21 COMMAND HL 1050 1070 1250 1270N 1450 1470N P2500 1660e 2060 2400C 2400Ce 3400CN 1650 1670N 3260N 2460 Esc n m v Esc a n1 n2 v Esc K n1 n2 v Esc L n1 n2 v Esc Y n1 n2 v Esc Z n1 n2 v ...

Page 374: ...C 2400Ce 3400CN 1650 1670N 3260N 2460 ESC v SP v BS v CR v LF v FF v Esc 5 n v DC1 v Esc Q 22 v Esc Q 3 v Esc CR R v Esc EM n v Esc C n v Esc C NUL n v Esc X m n v Esc N n v Esc O v Esc 0 v Esc 1 v Esc A n v Esc 2 v Esc 3 n v Esc J n v Esc D n1 n2 n3 NUL v Esc B n1 n2 n3 NUL v HT v VT v Esc R v Esc 7 v Esc 6 v DC2 v Esc v ...

Page 375: ...1470N P2500 1660e 2060 2400C 2400Ce 3400CN 1650 1670N 3260N 2460 Esc P n v SI v Esc E v Esc F v SO v DC4 v CAN v Esc W n v Esc S n v Esc T v Esc n v Esc _ n v Esc n1n2n3n4n5n6 v Esc n1 n2 v Esc v Esc I n v Esc n1 n2 20 n3 v Esc K n1 n2 v Esc L n1 n2 v Esc Y n1 n2 v Esc Z n1 n2 v ...

Page 376: ...70N P2500 1660e 2060 2400C 2400Ce 3400CN 1650 1670N 3260N 2460 CODE 39 v Interleaved 2 of 5 v FIM US Post Net v Post Net v EAN8 EAN13 UPC A v UPC E v Codabar v UPS Code128 set A v UPS Code128 set B v UPS Code128 set C v ISBN EAN v ISBN UPC E v EAN128 set A v EAN 128 set B v EAN 128 set C v ...

Page 377: ...v v v v v SC v v v v v v IW v v v v v v RO v v v v v v PG v v v v v v PU v v v v v v PD v v v v v v PA v v v v v v PR v v v v v v AA v v v v v v AR v v v v v v CI v v v v v v EA v v v v v v ER v v v v v v EW v v v v v v RA v v v v v v RR v v v v v v WG v v v v v v FT v v v v v v LT v v v v v v PW v v v v v v SM v v v v v v SP v v v v v v TL v v v v v v XT v v v v v v YT v v v v v v PT v v v v v v ...

Page 378: ...S v v v v v v SA v v v v v v DT v v v v v v LB v v v v v v DI v v v v v v DR v v v v v v CP v v v v v v SI v v v v v v SR v v v v v v SL v v v v v v UC v v v v v v DC v v v v v v DP v v v v v v EX v v v v v v IM v v v v v v QA v v v v v v QC v v v v v v QD v v v v v v QE v v v v v v QF v v v v v v QH v v v v v v QI v v v v v v QQ v v v v v v QP v v v v v v QS v v v v v v QW v v v v v v ...

Page 379: ...r our printers does not support PJL COMMAND HL 1050 HL 1070 HL 1250 1450 HL 1270N 1470 N HL P2500 HL 1660e HL 2060 HL 2400C Ce 3400CN HL 1650 1670N HL 3260N HL 2460 Esc 123245X v v v v v v v v v v v PJL ENTER LANGUAGE personality v PCL IBM EPSON PCLXL v PCL IBM EPSON POSTSCRIP T PCLXL v PCL IBM EPSON PCLXL v PCL IBM EPSON PCLXLPOS TSCRIPT v PCL v PCL PCLXL POSTSCRIPT IBM EPSON HPGL v PCL PCLXL POS...

Page 380: ...FONT PRTCONFIG TESTPRINT v DEMOPAG E TESTPRINT RESIFONT PERMFONT PRTCONFI G LAMINATE ROTATERO LLER BRNETDEF AULT BRNETINIT ENTBRNET TEST EXITBRNE TTEST ITEM SERVICEIN IT v TESTPRINT RESIFONT PERMFONT PRTCONFI G BRNETDEF AULT BRNETINIT ENTBRNET TEST EXITBRNE TTEST NVCLR PJL COMMENT remarks CR LF v ...

Page 381: ...L 2400C Ce 3400CN HL 1650 1670N HL 3260N HL 2460 PJL JOB NAME job name START first page END last page PASSWOR D password CR LF v NAME job name START first page END last page PASSWORD password CR LF PJL EOJ NAME job name CR LF v PJL DEFAULT LPARM personality variable value CR LF v PJL INITIALIZE CR LF v PJL RESET CR LF v ...

Page 382: ... CR LF v COMMAND HL 1050 HL 1070 HL 1250 1450 HL 1270N 1470N HL P2500 HL 1660e HL 2060 HL 2400C Ce 3400CN HL 1650 1670N HL 3260N HL 2460 PJL DINQUIRE LPARM personality variable CR LF v PJL ECHO words C R LF v PJL INFO ID CR LF v PJL INFO CONFIG CR LF v feature value information returned option attribute PJL INFO MEMORY CR LF v ...

Page 383: ...ECOUN T CR LF v PJL INFO PHYSICAL MEMORY CR LF v COMMAND HL 1050 HL 1070 HL 1250 1450 HL 1270N 1470N HL P2500 HL 1660e HL 2060 HL 2400C Ce 3400CN HL 1650 1670N HL 3260N HL 2460 PJL INFO FEATURES CR LF v PJL INFO DRUMLIFE CR LF v PJL USTATUS variable value CR LF v DEVICE JOB PAGE TIMED v DEVICE JOB PAGE v DEVICE JOB PAGE TIMED PJL USTATUSO FF CR LF v ...

Page 384: ...COMPARISON LIST 32 PJL RDYMSG DISPLAY message CR LF v PJL OPMSG DISPLAY message CR LF v PJL STMSG DISPLAY message CR LF v 1 This option is available only when the optional BR Script 2 ROM Board is installed into the printer ...

Page 385: ...S A4S LETTER LEGAL A4 EXECUTIVE B5 JISB5 C5 COM10 DL MONARCH A5 A6 B6 LETTER LEGAL EXECUTIVE A3 A4 B5 A5 A6 COM10 C5 DL MONARCH LEDGER JISB4 LTRS A4S EXECUTIVE S B5S LETTER LEGAL EXECUTIVE A4 JISB5 B5 A5 B6 A6 DOM10 DL MONARCH C5 A4 LONG ORIENTATIO N PORTRAIT LANDSCAP E PORTRAIT LANDSCAP E PORTRAIT LANDSCAP E PORTRAIT LANDSCAP E PORTRAIT LANDSCAP E PORTRAIT LANDSCAP E PORTRAIT LANDSCAP E PORTRAIT ...

Page 386: ...1 99 1 99 INTRAY1 LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED INTRAY2 LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED INTRAY3 LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKE...

Page 387: ... C5 DL MONARCH LEDGER JISB4 LTRS A4S EXECUTIVE S B5S LETTER LEGAL EXECUTIVE A4 JISB5 B5 A5 B6 A6 COM10 DL MONARCH C5 A4 LONG CUSTOM INTRAY2SIZE A4 LETTER B5 EXECUTIVE ENVELOPE S LEGAL A5 B6 A6 A4 LONG NO CASSETTE INTRAY3SIZE INTRAY4SIZE INTRAY5SIZE SOURCETRA Y AUTO MP TRAY TRAY1 TRAY2 AUTO MP TRAY TRAY1 TRAY2 TRAY3 TRAY4 AUTO MP TRAY TRAY1 TRAY2 TRAY3 TRAY4 TRAYID1 TRAYID2 TRAYID3 TRAYID4 ECONOMOD...

Page 388: ...40 1 99 IBMCHARA1 BETA ESSZET BETA ESSZET BETA ESSZET BETA ESSZET BETA ESSZET BETA ESSZET BETA ESSZET BETA ESSZET BETA ESSZET BETA ESSZET DEMOPRINT ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF LANG ENGLISH FRENCH GERMAN DUTCH SPANISH ITALIAN FINNISH NORWEGIA N PORTUGUE SE DANISH ENGLISH FRENCH GERMAN DUTCH SPANISH ITALIAN FINNISH NORWEGIA N PORTUGUE SE DANISH ENGLISH FRENCH GERMAN DUTCH SPANIS...

Page 389: ...OFF ON OFF ON OFF ON OFF ON OFF ON OFF PASSWORD 0 65535 0 65535 0 65535 0 65535 0 65535 0 65535 0 65535 0 65535 0 65535 0 65535 MPTRAY CASSETTE FIRST CASSETTE CASSETTE CASSETTE MEDIATYPE REGULAR THICK THICK2 TRANSPAR ENCY REGULAR THICK THICK2 TRANSPAR ENCY REGULAR THIN THICK THICK2 TRANSPAR ENCY REGULAR THIN THICK THICK2 TRANSPAR ENCY REGULAR THICK TRANSPAR ENCY REGULAR THICK TRANSPAR ENCY REGULAR...

Page 390: ... ISO57 ISO60 ISO61 ISO69 ISO84 ISO85 WIN30 HPGERM HPSPAN MCTEXT PC8 PC8DN PC850 PC852 PC8TK PC1004 WINL1 WINL2 WINL5 WINBALT DESKTOP PSTEXT VNINTL VNUS MSPUBL MATH8 PSMATH VNMATH PIFONT LEGAL ISO2 ISO4 ISO6 ISO10 ISO11 ISO14 ISO15 ISO16 ISO17 ISO21 ISO25 ISO57 ISO60 ISO61 ISO69 ISO84 ISO85 WIN30 HPGERM HPSPAN MCTEXT SYMBOL OCRA OCRB WDINGS HEBREW7 ROMAN8 ISOL1 ISOL2 ISOL5 ISOL6 PC775 PC8 PC8DN PC8...

Page 391: ...10 5 2001 APPENDIX A COMPARISON LIST 39 AUTOSKIP ON OFF ON OFF ON OFF ON OFF ...

Page 392: ... 1470N HL P2500 HL 1660e HL 2060 HL 2400C Ce HL 3400CN HL 1650 1670N HL 3260 HL 2460 PRTPSERRS ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ORIENTATION PORTRAIT LANDSCAP E PORTRAIT LANDSCAP E PORTRAIT LANDSCAP E PORTRAIT LANDSCAP E PORTRAIT LANDSCAP E PORTRAIT LANDSCAP E CRLFCONV ON OFF APPLETALKPS ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ...

Page 393: ...99 99 0 44 0 45 99 99 0 44 0 45 99 99 0 44 0 45 99 99 0 44 0 45 99 99 PTSIZE 4 00 4 25 999 75 4 00 4 25 999 75 4 00 4 25 999 75 4 00 4 25 999 75 4 00 4 25 999 75 SYMSET USASCII GERMAN UKASCI1 FRENCH1 DANISH1 ITALY SPANISH SWEDISH JAPAN NORWEG DANISH2 UKASCI2 FRENCH2 DUTCH SAFRICA PC8 PC8DN PC850 PC852 PC860 PC863 PC865 PC8TK USASCII GERMAN UKASCI1 FRENCH1 DANISH1 ITALY SPANISH SWEDISH JAPAN NORWEG...

Page 394: ... 0 5 1 0 1 5 2 0 inch BOTMARGIN 0 0 33 0 5 1 0 1 5 2 0 inch 0 0 33 0 5 1 0 1 5 2 0 inch 0 0 33 0 5 1 0 1 5 2 0 inch 0 0 33 0 5 1 0 1 5 2 0 inch 0 0 33 0 5 1 0 1 5 2 0 inch FORMLINES 5 128 5 128 5 128 5 128 5 128 FONTNUMBER 0 1 2 n 0 1 2 n 0 0x7FFFFFFF 0 0x7FFFFFFF 0 0x7FFFFFFF PITCH 0 44 0 45 99 99 0 44 0 45 99 99 0 44 0 45 99 99 0 44 0 45 99 99 0 44 0 45 99 99 PTSIZE 4 00 4 25 999 75 4 00 4 25 99...

Page 395: ...2001 10 02 APPENDIX B FLASH PCMCIA CARD COMMANDS 1 APPENDIX B FLASH PCMCIA CARD COMMANDS For HL 1270N 1470N 1660e 2060 2400C 2400Ce 3400CN 1650 1670N 2460 3260N Only ...

Page 396: ... primary font 9 3 5 2 Save secondary font 9 3 5 3 Delete all download fonts 10 3 5 4 Delete download font with specified ID 10 3 5 5 Save download font with specified ID 11 3 6 Macro 12 3 6 1 Delete all macros 12 3 6 2 Delete macro with specified ID 12 3 6 3 Save macro with specified ID 13 3 6 4 Save image Fixed printing location For HL 1270N 1470N 1660e 2060 2400C 2400Ce 3400CN only 13 3 6 5 Save...

Page 397: ... flash memory card HL 1660e 2060 2400C 2400Ce 3400CN 2460 3260N 3 Internal flash memory HL 1270N 1470N 1650 1670N 4 Internal HDD HL 2400Ce 3400CN 2460 3260N Both command and control panel operations allow you to read write data onto these devices The PostScript emulation recognizes device types 2 3 and 4 as a hard disk and the PostScript file operator allows you to read write data on these devices...

Page 398: ...card devices which can be used for each command are represented in this manual using the abbreviations as follows Abbreviation Device Type F Flash memory card HL 1660e 2060 2400C 2400Ce 3400CN A ATA flash memory card HL 1660e 2060 2400C 2400Ce 3400CN 2460 3260N H Internal IDE HDD HL 2400C 2400Ce 3400CN 2460 3260N I Internal flash memory HL 1650 1670N 1270N 1470N 2 3 Description The detailed descri...

Page 399: ...340F Logical Format ESC CR 12341F Save Primary Font ESC CR 12343F Save Secondary Font ESC CR 12344F Save by Type ESC CR 12345F Save Data ESC CR 12347F Save Image Fixed Printing Location ESC CR 12348F Execute Data ESC CR 12349F Save Image Infixed Printing Location ESC CR 12350F Delete All Download Fonts ESC c 1028F Delete Download Fonts of Specified ID ESC c 1026F Save Download Fonts of Specified I...

Page 400: ...RD1 W ERROR 43 CARD2 W ERROR HL 2400Ce 3400CN 43 DEVICE1 W ERROR 43 DEVICE2 W ERROR 43 DEVICE3 W ERROR HL 2460 3260N 43 CARD ERROR 43 HDD ERROR HL 1650 1670N 43 SERVICE E74 3 2 2 Logical format Command ESC CR 12341F Available Devices F A H I Description This command executes a logical format When two devices are installed into the printer the command formats the device specified by the select stor...

Page 401: ...d If there is insufficient memory in the printer to store the data a memory full error occurs When the printer supports two or more storage devices the command saves the data onto the device specified by the select storage device command When only one device is enabled the command saves onto that device Error HL 1660e 2060 2400C 34 MEMORY FULL 43 CARD1 W ERROR 43 CARD2 W ERROR HL 2400Ce 3400CN 43 ...

Page 402: ... storage device command When only one device is enabled the command saves onto that device Error HL 1660e 2060 2400C 34 MEMORY FULL 43 CARD1 W ERROR 43 CARD2 W ERROR HL 2400Ce 3400CN 43 DEVICE1 W ERROR 43 DEVICE2 W ERROR 43 DEVICE3 W ERROR HL 2460 3260N 43 CARD ERROR 43 HDD ERROR HL 1650 1670N 43 SERVICE E74 3 4 2 Execute data Command ESC CR 12349F ID 2byte Available Devices F A H Description This...

Page 403: ... 43 DEVICE1 W ERROR 43 DEVICE2 W ERROR 43 DEVICE3 W ERROR HL 2460 3260N 43 CARD ERROR 43 HDD ERROR HL 1650 1670N 43 SERVICE E74 3 5 2 Save secondary font Command ESC CR 12344F Available Devices F A H I Description This command saves the secondary font which is currently selected into the device The secondary font can also be saved by control panel operation The ID specified with the ESC c D Font I...

Page 404: ... CARD ERROR 43 HDD ERROR HL 1650 1670N 43 SERVICE E74 3 5 4 Delete download font with specified ID Command ESC c 1026F Available Devices F A H I Description This command deletes the font with the ID which is specified with the ESC c D Font ID command from the device When two devices are installed into the printer the command deletes the download fonts in the device specified by the select storage ...

Page 405: ... are installed into the printer the command saves the download fonts in the device specified by the select storage device command When only one device is installed the command saves the download fonts in that device This command is only valid in PCL emulation Error HL 1660e 2060 2400C 43 CARD1 W ERROR 43 CARD2 W ERROR HL 2400Ce 3400CN 43 DEVICE1 W ERROR 43 DEVICE2 W ERROR 43 DEVICE3 W ERROR HL 246...

Page 406: ...43 CARD ERROR 43 HDD ERROR HL 1650 1670N 43 SERVICE E74 3 6 2 Delete macro with specified ID Command ESC f 1036X Available Devices F A H I Description This command deletes the macro with the ID which is specified with the ESC f Y Macro ID Configuration command from the device When two devices are installed into the printer the command deletes the macros in the device specified by the select storag...

Page 407: ...43 CARD ERROR 43 HDD ERROR HL 1650 1670N 43 SERVICE E74 3 6 4 Save image Fixed printing location Command ESC CR 12348F Available Devices F Description After transferring the last print data into the image data area this command saves the data with the ID which is specified with the ESC f Y Macro ID Configuration command as a PCL command on the device The printing location for the saved data is fix...

Page 408: ... data is not fixed on the page The move cursor command allows you to print the data anywhere you want when executing this command The data can be executed by the data execute command ESC CR 12349 F When two devices are installed into the printer the command saves the data on the device specified with the select storage device command When only one device is installed the command saves the data on ...

Page 409: ... 2 Slot 1 is the default setting 2 ATA flash memory card After executing a logical format on the transfer device this command copies to the transfer device file by file from the master device If the memory runs short in the transfer device during the data transfer the copy process is discontinued Data written to the transfer device before the error is valid in the device The specify device command...

Page 410: ...lable Devices F A H I Description The macros saved in the device can be executed from the PCL command language as well as saving macros in the printer memory The priority for searching is as follows 1 Macro in printer memory 2 Macro in Card 1 3 Macro in Card 2 4 Macro in Internal HDD The above priority is never affected by the select storage device command ESC CR 12358F Error N A ...

Page 411: ...ad fonts saved in the device can be selected from the PCL command language as well as saving download fonts in printer memory The priority for searching is as follows 1 Macro in printer memory 2 Macro in Card 1 3 Macro in Card 2 4 Macro in Internal HDD The above priority is never affected by the select storage device command ESC CR 12358F The download fonts can be also selected from the font selec...

Page 412: ...evices i e Create the file named test and write the data This is a data string onto the device which is inserted into Slot 1 fl disk0 test w file def fl This is a data string write fl closefile For PostScript the following command should be used to specify the hard disk which is to be used disk number The above number corresponds to the slots of the HL 1660e 2060 2400C 2400Ce 3400CN 2460 2460N pri...

Page 413: ...2001 10 02 APPENDIX C HBP MODE COMMANDS 1 APPENDIX C HBP MODE COMMANDS For HL 820 1020 1040 Only ...

Page 414: ... 6 3 2 1 Resolution setting commands 6 3 2 2 Economy mode setting commands 6 3 2 3 Sleep mode setting commands 7 3 2 4 Mode setting commands 8 3 2 5 Engine related setting commands 9 3 2 6 Engine related execute commands 9 3 2 7 Graphic data input commands 10 3 2 8 Formfeed commands 10 3 2 9 Exit commands 10 3 3 Graphic Data Format 11 4 RECOMMENDED COMMAND STRING 13 ...

Page 415: ...r code Esc 0 x 1b Space 0 x 20 LF 0 x 0a 1byte of data sign for combining data This is not a control code B character string enclosed in parentheses means 1 data byte described in binary format CHR character of the value in decimal enclosed in parentheses H means hexadecimal value Examples ESC 12345X PJL LF 1bH 25H 2dH 31H 32H 33H 34H 35H 58H 40H 50H 4aH 4cH 0aH L 00000000 B 40H 4cH 00H J CHR 0 CH...

Page 416: ...it is in the idle condition during HP emulation IBM emulation Epson emulation and Auto emulation for HL 1040 The printer reports an error if it receives this command when it is already in HBP mode The printer enters HBP mode when it receives this command This mode continues until one of following occurs 1 The printer receives the Exit command 2 The printer power is turned off 3 InputPrime Signal i...

Page 417: ...g F Form feed G Data input H Not used I Information request J Settings for engine related items K Execution for engine related items L Resolution setting M Mode setting N Reserved O Not used P Reserved Q Not used R Reserved S Not used T Setting for sleep time U Not used V Not used W Not used X Exit Y Not used Z Not used Not used An error occurs in the printer if these character strings are sent as...

Page 418: ...resolution is uncertain The driver must resend this command again after the HBP mode switch command is sent After 2 or 3 the resolution returns to default 600 dpi 3 2 2 Economy mode setting commands Command E Function Command Economy Mode E 00000000 B OFF Default E 00000001 B Level 1 Darkest E 00000010 B Level 2 E 00000011 B Level 3 Lightest Explanation This command is applied from the next page p...

Page 419: ...y pressing motor being driven to entering sleep mode 1 byte of binary data 0 255 after the T command indicates the minute s delay to enter sleep mode However there are two exceptions If the value is set to 0 the sleep time is set to 5 seconds If the value is set to 255 the printer does not go into sleep mode For the HL 1040 the command is valid during HBP mode only it is not effective after using ...

Page 420: ...enerates an error when an undefined code is received 1 The printer ignores any undefined codes Bit3 Not used Bit4 0 The printer does not ignore any illegal data which is received before entering the HBP mode The printer will ignore any illegal data until approx 32kbyte is received then the data after that is recognized as undefined code Bit5 Not used Bit6 Not used Bit7 Select printer error message...

Page 421: ...ry to set it from the driver J CHR 2 CHR n Indicates Envelope mode n 0 Normal mode n 1 Envelope mode The driver sets the value to 1 if the paper length is from 180 mm to 250 mm and the value to 0 when it is shorter or longer J CHR 3 CHR n Sets the envelope mode level The value n sets the time limit in continuous envelope printing The default 0 is 20 seconds which represents a printing speed of 3 p...

Page 422: ...formance 3 2 8 Formfeed commands Command F Remark The last raster scan on each page should be a white raster For instance the white raster command G 00H 00H 01H FFH should be sent before the F command Function This command sets a page break The printer works as follows when it receives this command 1 If 1 page of print data is less than the input buffer size in the printer the printer recognizes t...

Page 423: ... which should follow the number of command bytes is not necessary 2 command byte The operation of this byte is divided into the following 2 uses Data replacement 0 b6 b5 b4 b3 b2 b1 b0 b6 b5 b4 b3 the replacement position 4bits b2 b1 b0 the amount of replacement data 3bits The input value is 1 less than the actual data count of the replacement data When both b6 b5 b4 b3 and b2 b1 b0 are overflow t...

Page 424: ...verflow the next data byte becomes an Expansion Offset Byte However if the number is FFh 00h is added The number of command bytes 300 FFh 2Dh The number of command bytes 510 FFh FFh 00h If there are more than two command bytes for 1 raster the replacement position for the second command byte onwards is indicated by the offset byte starting from the data position replaced by the first command byte ...

Page 425: ...040 Esc 12345X PJL LF PJL ENTER LANGUAGE HBP LF Enter into HBP mode L 00H Set 600 dpi resolution E 00H Set economy mode off T 0FH Set Sleep time to 15 minutes M 81H Set mode Error Print on J 00H 00H Set the MediaType normal paper Thick paper J 00H 01H J 02H 00H Normal Paper not Envelope Envelope J 02H 01H G size 3byte data 1 page of data 1st page G 00H 00H 01H FFH white raster F Form feed 1st page...

Page 426: ...2001 10 02 APPENDIX C HBP MODE COMMANDS 14 ...

Page 427: ...2001 10 02 APPENDIX D REFERENCE LIST OF MX 2000 4000 5000 SERIES UNIQUE COMMANDS 1 APPENDIX D REFERENCE LIST OF MX 2000 4000 5000 SERIES UNIQUE COMMANDS ...

Page 428: ...L SPECIFICATION 4 3 COMMAND REFERENCE LIST 5 3 1 Commands Descriptions 5 3 1 1 PJL output tray mode setting 5 3 1 2 PJL mailbox protection bin number setting 6 3 1 3 PJL avoidance of mailbox bin full 6 3 1 4 PCL output tray setting 7 3 1 5 PS output tray mode setting 7 3 1 6 PS mailbox protection bin number setting 9 ...

Page 429: ...units are optionally installed onto the HL 2060 printer the MX 4000 series are optionally installed onto the HL 2460 printer and MX 5000 series are optionally installed onto the HL 3260 printer If you need further information on the mechanical system refer to the service manual of MX 2000 series or MX 4000 series Note While the MX 2001 4100 Mailbox unit is available in all countries the MX 2003 42...

Page 430: ...2001 4100 and also consists of five bins The MX 2003 4300 Mailbox unit consists of ten bins Once you have installed the unit it works as a stacker sorter and mailbox for the printer HL 2060 MX 2001 2002 2003 HL 2460 MX 4001 4002 4003 HL 3260 MX 5000 Function Description Stacker Printed paper is ejected into the multiple output bins behaving as a single high capacity tray Sorter Printed paper is ej...

Page 431: ...box unit except HL 3260 OPTIONALOUTPUTBIN6 Select the 6 bin of the Mailbox unit except HL 3260 OPTIONALOUTPUTBIN7 Select the 7 bin of the Mailbox unit except HL 3260 OPTIONALOUTPUTBIN8 Select the 8 bin of the Mailbox unit except HL 3260 OPTIONALOUTPUTBIN9 Select the 9 bin of the Mailbox unit except HL 3260 OPTIONALOUTPUTBIN10 Select the 10 bin of the Mailbox unit except HL 3260 ALLSTACKER Select t...

Page 432: ... range MX not installed 0 Lower unit installed 0 1 5 Lower upper unit installed 0 1 10 HL 3260 Setting type Effective range MX not installed 0 MX installed 0 1 4 The difference between the SET and DEFAULT selection and the effective period of this setting follow the PJL specifications 3 1 3 PJL avoidance of mailbox bin full Command PJL SET DEFAULT AVOIDMAILBOXFULL ON OFF Parameter ON OFF OFF Paper...

Page 433: ... numbered from the bottom of the unit upwards This command is ignored when the specified tray is not available The PJL OUTBIN command is ignored when this command is executed Refer to the Technical Reference Guide Section 4 1 2 Output tray in Chapter 2 PCL 3 1 5 PS output tray mode setting Command HL 2060 setoutputmode HL 2460 3260 BROutbinMode setpagedevice Parameter 0 Select the printer face dow...

Page 434: ...output tray and output mode This operator is ignored when no tray is specified The 1 and 2 parameters are executed for all output trays other than ones which are defined and protected as mailboxes Example HL 2060 This operator is registered in statusdict statusdict begin 0 setoutputmode end HL 2460 3260 BROutbinMode 0 setpagedevice ...

Page 435: ...er specified as mailbox use only They cannot then be used for either stacker or sorter functions If the bin number is set to 0 the mailbox protection is released then all bins can be used for stacker and sorter functions If the bin number is set out of the effective range this operator is ignored HL 2060 2460 Setting type Effective range MX not installed 0 Lower unit installed 0 1 5 Lower upper un...

Page 436: ...2001 10 02 APPENDIX E REFERENCE LIST OF FS 5050 SERIES UNIQUE COMMANDS 1 APPENDIX E REFERENCE LIST OF FS 5050 UNIQUE COMMANDS ...

Page 437: ... 3 2 GENERAL SPECIFICATION 3 3 COMMAND REFERENCE LIST 3 3 1 Commands Descriptions 4 3 1 1 PJL output tray 4 3 1 2 PCL output tray 4 3 1 3 PS output tray 4 3 1 4 PJL staple on off 5 3 1 5 PS staple on off 5 3 1 6 PJL job offset on off 6 3 1 7 PS job offset on off 6 3 1 8 PCL job separate Esc l1T 6 ...

Page 438: ...r Stapler unit is an option for the HL 3260 printer Function Description Finisher Stapler Printed pages can be sorted or stapled 3 COMMAND REFERENCE LIST This section describes the specific commands as listed below used to support the functions of the Finisher Stapler unit 1 PJL output tray 2 PCL output tray 3 PS output tray 4 PJL staple on off 5 PS staple on off 6 PJL job offset on off 7 PS job o...

Page 439: ... this setting follow the PJL specifications 3 1 2 PCL output tray Command Esc l G 27 38 108 71 1Bh 38h 6ch 47h Parameter denotes the output tray 100 Select the Finisher Stapler unit Default 1 Explanation This command selects the Finisher Stapler unit This command is ignored when the Finisher Stapler unit is not available The PJL OUTBIN command is ignored when this command is executed 3 1 3 PS outp...

Page 440: ...le This command is ignored when the Finisher Stapler unit is not available The difference between the SET and DEFAULT selection and the effective period of this setting follow the PJL specifications 3 1 5 PS staple on off Command BRStaple setpagedevice Parameter 0 Select off of the Finisher Stapler unit 1 Select the upper left of the Finisher Stapler unit 2 Select the upper right of the Finisher S...

Page 441: ...d DEFAULT selection and the effective period of this setting follow the PJL specifications 3 1 7 PS job offset on off Command Parameter bool True Paper is ejected offset by each job False Paper is ejected together Default false Explanation This command selects the job off set This command is ignored when the Finisher Stapler unit is not available Example BRjoboffset true setpagedevice 3 1 8 PCL jo...

Reviews: