background image

2009/06/29 

CHAPTER 5 PJL- 32 

Variables 

Description 

Sample Value Range 

ERRORPRINT 

 

OFF, ON, EXCEPTCDCC 
(HL-1650/1670N/1850/1870N/ 
5040/5050/5070N/5140/5150D/ 
5170DN/6050/6050D/6050DN/ 
2070N/5240/5250DN/5270DN/52
80DW/2140/2150N/2170W/5340
D/5350DN/5370DW/5380DN) 

BOISEIDMODE 

 

WIN95, IEEE (HL-1650/1670N/ 
1850/1870N/5040/5050/5070N/ 
5140/5150D/5170DN) 

CONDENCESIZE 

 

P1666, P1714 (HL-1650/1670N/ 
3260N/2460/7050/1850/1870N/ 
5040/5050/5070N/5140/5150D/51
70DN/6050/6050D/6050DN/ 
8050N/2070N/5240/5250DN/527
0DN/5280DW/5340D/5350DN/5
370DW/5380DN) 

FXLFSETMODE 

 

NORMAL, ALL (HL-1650/ 
1670N/3260N/2460/7050/1850/ 
1870N/5040/5050/5070N/5140/51
50D/5170DN/6050/6050D/ 
6050DN/8050N/2070N/5240/525
0DN/5270DN/5280DW/5340D/5
350DN/5370DW/5380DN) 

FXLFITAMODE 

 

OBLIQUE, ITALIC (HL-1650/ 
1670N/3260N/2460/7050/1850/ 
1870N/5040/5050/5070N/5140/ 
5150D/5170DN/6050/6050D/ 
6050DN/8050N/2070N/5240/525
0DN/5270DN/5280DW/5340D/5
350DN/5370DW/5380DN) 

ENVINTERVAL 

 

0 to 255 (HL-1650/1670N/1850/ 
1870N/5040/5050/5070N/5140/51
50D/5170DN/6050/6050D/ 
6050DN) 

PSCEILMODE 

 

FLOOR, CEIL (HL-1650/1670N/ 
3260N/2460/7050/1850/1870N/ 
5040/5050/5070N/5140/5150D/ 
5170DN/6050/6050D/6050DN/ 
8050N/5240/5250DN/5270DN/52
80DW/5340D/5350DN/5370DW/
5380DN) 

PS300RESO 

 

NO, IF2M, FORCE (HL-1650/ 
1670N/3260N/2460/7050/1850/ 
1870N/5040/5050/5070N/5140/ 
5150D/5170DN/6050/6050D/ 
6050DN/8050N/5240/5250DN/52
70DN/5280DW/5340D/5350DN/
5370DW/5380DN) 

DUPLEX 

Duplex mode 

ON or OFF (HL-1650/1670N/ 
3260N/2460/7050/1850/1870N/ 
5040/5050/5070N/5140/5150D/ 
5170DN/6050/6050D/6050DN/ 
8050N/5250DN/5270DN/5280D
W/5340D/5350DN/5370DW/538
0DN) 

Summary of Contents for HL-2600CN Series

Page 1: ...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 7 70 05 50 0 1 18 85 50 0 1 18 87 70 0N N 5 50 04 40 0 5 50 05 50 0 5 50 07 70 0N N 5 51 14 40 0 5 51 15 50 0D D 5 51 17 70 0D DN N 2 26 60 00 0C CN N 3 34 45 50 0C CN N 6 60 05 50 0 6 60 05 50 0D D 6 60 05 50 0D DN N 8 80 05 50 0N N 2 27 70 00 0C CN N 2 20 07 70 0N N 5 52 24 40 0 5 52 25 50 0D DN N 5 52 27 70 0D DN N 5 52 ...

Page 2: ...ary 2004 Correct Epson IBM emulation PJL and Barcode Ver I June 2004 Revised for Addition of HL 6050 6050D 6050DN 8050N 2700CN Ver J July 2004 Revised for Addition of HL 5140 5150D 5150DN and addition of a section of Carbon Copy and addition of a table of Tray Selection of TRAYCOMMAND Special Ver K December 2004 Revised for Addition of HL 2070N Ver L March 2006 Revised for Addition of HL 5240 5250...

Page 3: ...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 4: ......

Page 5: ...OR MODES 4 3 COLOR PALETTES 10 4 COLOR GRAPHICS 12 5 ENHANCE OUTPUT 14 6 HP GL 2 16 7 INDEX 18 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 COMMAND...

Page 6: ...ONTROL 1 INTRODUCTION 3 2 PRINT BAR CODES OR EXPANDED CHARACTERS 4 3 DEFINITION OF PARAMETERS 5 4 EXAMPLE PROGRAM LISTINGS 11 CHAPTER 9 HP GL GRAPHICS LANGUAGE 1 COMMAND LIST 3 2 INTRODUCTION 4 3 COMMANDS 6 4 INDEX 27 CHAPTER 10 CARBON COPY FUNCTION 1 OUTLINE 3 2 SPECIFICATIONS 4 3 DETAILED INFORMATION 8 APPENDIX A COMPARISON LIST APPENDIX B FLASH PCMCIA CARD COMMANDS APPENDIX C HBP MODE COMMANDS ...

Page 7: ...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 characters are designed Character code A number assigned t...

Page 8: ... 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 window The area of the page on which HP GL and HP GL 2 output can appear The effe...

Page 9: ...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 clip limits are determined by the size of the physical page and are equivalent to the LaserJet mode printable area Hatching A method of sh...

Page 10: ...rJet 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 macro has finished running or when you quit HP GL or HP GL 2 mode Monospacing Some bitmap fonts are printed with each character occupying the same space on a line of text This is known as monospacing MSB i The most significant byte of a set of data bytes ii The most significa...

Page 11: ...height Polygon A shape consisting of one or more closed groups of connected lines Polygon buffer An area of printer memory in which you can store one or more polygons and sub polygons defined using HP GL and HP GL 2 commands Some HP GL and HP GL 2 commands use the polygon buffer automatically Portrait The orientation in which the side edges of the page are longer than the top edge Posture A compon...

Page 12: ...the page whose height is equal to the VMI vertical motion index The print position moves down the page a distance equal to the row height when a line feed is performed Sans serif A kind of typeface normally used for headlines Sans serif typefaces do not have little hooks serifs on the individual characters This helps Sans serif headline text stand out more prominently Scalable fonts A font for whi...

Page 13: ...se 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 macro again you must redefine it and download it to the printer again Text area The area of the physical page on which the printer can place text Text direction The orientation of printed text relative to the physical page TIFF Tagged Image ...

Page 14: ...x 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: ...2009 06 29 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...

Page 16: ...2009 06 29 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: ... 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 PCL6 includes both PCLXL and PCL5e As for PCL5e it is described in chapter 2 PCL of this manual As for PCLXL it is mainly used with Windows driver and its command is structured by binary code Therefor...

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: ...2009 06 29 CHAPTER 1 INTRODUCTION 6 ...

Page 21: ...7 17 2009 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...

Page 22: ... environment 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 Media type selection 17 4 1 3 Output tray 17 4 1 4 Paper source 18 4 1 5 Left long edge offset registration 21 4 1 6 Top offset registration 21 4 1 7 Simplex duplex printing 22 4 1 8 Paper side selection 22 4 1 9 Job separation command 22 4 1 10 Reset 22 4 1 11 Reset to ...

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

Page 24: ...71 6 1 2 Set pattern transparency 72 6 1 3 Set area fill identity 73 6 1 4 User defined pattern command 74 6 1 5 Set pattern reference point 74 6 1 6 User defined pattern control 75 6 1 7 Set pattern type 75 6 2 Plotting Rectangles 77 6 2 1 Cursor position 77 6 2 2 Set rectangle width 77 6 2 3 Set rectangle height 77 6 2 4 Draw filled rectangle 77 6 3 Raster Graphics 79 6 3 1 Positioning the curso...

Page 25: ... device 95 7 4 7 Delete macro from the storage device 95 7 4 8 Save macro into the storage device 95 7 4 9 Execute data 96 7 4 10 AppleTalk configuration 96 7 4 11 MIO video I O port control 97 8 STATUS READBACK 98 8 1 Introduction 98 8 2 Memory Status request 98 8 3 Entity Status 98 8 4 Status Response 98 8 5 Status Response Syntax 99 8 5 1 Set status readback location type 99 8 5 2 Set status re...

Page 26: ...7 17 2009 CHAPTER 2 PCL 6 8 5 17 Font cache 105 8 5 18 Memory status response 105 8 5 19 Memory error response 105 8 5 20 Flush all pages command 105 8 5 21 Echo command 105 9 INDEX 106 ...

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

Page 28: ...tion control 79 Esc r F Set raster image orientation 79 Esc r T Set raster area height 80 Esc r S Set raster area width 80 Esc b Y set raster y offset 80 Esc b M Set compression mode 80 Esc r A Start raster transfer 86 Esc b W Send raster data 86 Esc b C Compress transfer graphics 86 Esc rB End raster transfer 86 Esc rC End raster transfer 86 Esc b W Horizontal 1200 dpi image format mode Raster Gr...

Page 29: ...rt control 97 Status Readback 98 Esc s T Set status readback location type 99 Esc s U Set status readback location unit 99 Esc s I Inquire status readback entity 100 Esc s1M Free space command 104 Esc r F Flush all pages command 105 Esc s X Echo command 105 ...

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: ... 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 You...

Page 32: ...acters of each sequence including the Esc character itself are the same Hence Esc c45G and Esc c2P may be combined to give Esc c45g2P The uppercase G which terminated the first sequence becomes a lowercase character in the combined sequence Combined 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 ...

Page 33: ...splay functions mode You can choose to make the printer print escape sequences instead of executing them Send the printer the following sequence EscY 27 89 1B 59 Now the printer prints out escape sequences and prints the characters of the control codes It does not execute them The only exceptions to this are CR the carriage return code which causes a carriage return and line feed to be performed a...

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: ...S 100 B5 101 Free size 1024 B6 1025 A5 1026 A6 1028 13 X19 2048 16 80 Monarch 81 COM 10 90 International DL 91 International C5 Model HL 2460 HL 7050 HL 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 2070N 5240 5250DN 5270 DN 5280DW HL 2600CN HL 3450CN HL 8050N HL 2700CN HL 4040CN 4050CDN 4070CDW 1 Executive 2 Letter 3 Legal 6 Ledger 24 A6 25 A5 26 A4 27 A3 45 B5 JIS 46 B4 JIS 71 P...

Page 36: ... area on the new page Depending on your model you may also set the page size from the printer s control panel or remote printer console program see the User Guide If the paper size you select differs from the size of the currently loaded paper a message appears in the control panel prompting you to load the selected size of paper for HL 1660e 2060 2400C Ce 3400CN 3260N 2460 7050 1850 1870N and 270...

Page 37: ...lope 8WdEnvthin Set as Thin Envelope 9WdRecycled Set as Recycled Paper 9WdPostcard Set as Post Card 6WdLabel Set as Label 4 1 3 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 CT HL 8050N 4 Select 2 bin 5 Select 3 bin 6 Select 4 bin 7 Select 5 bin 8 Select 6 bin 9 Select 7 bin 10 Select 8 bin 11 Select 9 bin 12 Select 10 bin ...

Page 38: ... 5050 5070N 5140 5150D 5170DN 2600CN 3450 6050 6050D 6050DN 2700CN 5240 5250DN 5270DN 5280DW 4050CDN 4070CDW 5340D 5350DN 5370DW 5380DN 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 3450CN 3260N 2460 7050 5240 5250DN 5270DN 5280DW 5340D 5350DN 5370DW 5380DN If 9 the current pa...

Page 39: ... Manual Feed 3 Envelope 4 MP Tray N A MP Tray Tray2 5 Tray 2 N A Tray 2 6 N A 7 Auto selection 8 N A Tray3 N A Tray3 N A Tray3 9 N A Tray4 N A 100 N A Tray ID 1 N A 101 N A Tray ID 2 N A 102 N A Tray ID 3 N A 103 N A Tray ID 4 N A 1001 Fixed tray 1002 Auto selection N A HL 4040CN HL 4050CDN 4070CDW HL 3070CW 0 Eject 1 Tray 1 2 Manual Feed 3 Envelope 4 MP Tray N A 5 N A Tray 2 N A 6 N A 7 Auto sele...

Page 40: ...HL 3450C N 0 Eject 1 Tray 1 2 Manual Feed 3 Envelope 4 Tray 2 N A Tray 2 5 Tray 2 N A Tray 2 6 MP Tray Tray2 MP Tray N A Tray 2 7 Auto selection 8 N A Tray3 N A Tray3 N A Tray3 9 N A Tray4 N A 100 N A 101 N A 102 N A 103 N A 1001 N A Fixed tray 1002 N A Auto selection N A HL 4040CN HL 4050CDN 4070CDW HL 3070CW 0 Eject 1 Tray 1 2 Manual Feed 3 Envelope 4 N A Tray 2 N A 5 N A Tray 2 N A 6 MP Tray N ...

Page 41: ...r to move the logical page to the right on the physical page and a negative number to move it to the left 4 1 6 Top offset registration Esc l Z 27 38 108 90 1Bh 26h 6Ch 5Ah stands for the distance in decipoints 1 720 that the top 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 current position can be p...

Page 42: ... If the currently processing page is an even page the printer finishes the processing of the page If both an even and odd page have been processed and the next odd page has not been processed yet this command is ignored 2 indicates the back face If the currently processing page is an odd page the printer finishes the processing of the page If the odd page has already been processed onto the page a...

Page 43: ...er self test Escz 27 122 1Bh 7Ah A printer self test causes a test sheet to be printed out to show that the machine is working properly Depending on the model you may also see the test pattern for HRC setting 4 1 14 Exit current emulation mode Esc 12345X 27 37 45 49 50 51 52 53 88 1Bh 25h 2Dh 31h 32h 33h 34h 35h 58h When the printer receives this command all page data already received is printed o...

Page 44: ...1660e HL 2060 HL 2400C HL 2400Ce HL 3400CN HL 1650 1670N HL 3260N HL 2460 HL 1450 HL 1470N HL 7050 HL 1850 1870N HL 5040 5140 HL 2070N HL 5050 5070N 5150D 5170DN HL 2600CN HL 3450CN HL 6050 6050D 6050DN HL 5240 5250DN 527 0DN 5280DW HL 8050N HL 2700CN HL 4040CN HL 4050CDN 4070CDW HL 2150N 2170W HL 5340D 5350DN 5 370DW 5380DN HL 3070CW ...

Page 45: ...ting 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 margin...

Page 46: ... 1748 2480 1606 2480 71 0 50 150 A6 1240 1748 1098 1748 71 0 50 150 A4 80 character 2480 3507 2400 3507 40 0 50 150 A4 long 2480 4783 2338 4783 71 0 50 150 COM 10 1237 2850 1087 2850 75 0 50 150 MONARCH 1162 2250 1012 2250 75 0 50 150 C5 1913 2704 1771 2704 71 0 50 150 DL 1299 2598 1157 2598 71 0 50 150 DL Long Edge 2598 1299 2450 1299 74 0 50 150 FOLIO 2550 3900 2400 3900 75 0 50 150 ORGANIZER J ...

Page 47: ...1960 1476 59 0 50 150 A5 2480 1748 2362 1748 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 1299 2480 1299 59 0 50 150 DL Long Edge 1299 2598 1151 2598 60 0 74 150 FOLIO 3900 2550 3780 2550 60 0 50 150 ORGANIZER J 1500 825 1380 825 60 0 5...

Page 48: ...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 49: ...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 50: ...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 51: ...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 52: ...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 53: ...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 54: ...ING 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 paramet...

Page 55: ...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 56: ... 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 270...

Page 57: ...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 58: ...ape 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 printers in LaserJet mode bitmap fonts and scalable fonts 5 1 2 Bitmap fonts The characters which make up a bitmap font are raster bit images of the relevant symbols When text...

Page 59: ...0CN 6050 6050D 6050DN 8050N 2700CN 2070N5240 5250DN 5270DN 5280DW 4040CN 4050CDN 4070CDW 215 0N 2170W 5340D 5350DN 5370DW 5380DN 3070C W Bermuda Script German US Roman San Diego You can select a font in any of these typefaces specifying height point size and symbol set Characters printed in scalable fonts are always proportionally spaced that is the spacing between characters on a line depends on ...

Page 60: ...d instead This facility enables you to have two parallel font definitions that you can switch between easily without invoking long escape sequences You can select the primary and secondary fonts using PCL commands Depending on your model you can also set any available fonts to be the printer s user default primary and secondary fonts using the printer s control panel Refer to the User Guide for in...

Page 61: ... from symbol collections by selecting the required symbols for unbound fonts As symbol collections have more symbols than symbol sets unbound fonts can have more symbols than bound fonts Due to the compatibility between symbol sets and symbol collections the printer searches the designated MSL or Unicode number by using a symbol set mapping table 5 1 18 Type of character spacing Character spacing ...

Page 62: ...at matches your font designation a stroke weight selection of 1 to 7 will produce bold text Likewise for light or thin text you would need to make the requisite light or thin font available for the stroke weight selection to have any effect 5 1 23 Typeface Typeface refers to the designed style of the characters Commonly known typefaces include Times Helvetica Univers and Palatino The printer has i...

Page 63: ... 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 64: ...calable 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 gra...

Page 65: ... 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 66: ...mmand 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 Eng...

Page 67: ...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 pi...

Page 68: ...ight 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 o...

Page 69: ...s 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 70: ... s4143T PC Tennessee Esc s4101T Esc s4101T Utah Esc s4148T Esc s4148T BR Symbol Esc s16686T Esc s16686T Helsinki Esc s16602T Esc s16602T Tennessee Esc s16901T Esc s16901T W Dingbats Esc s31402T Esc s31402T Atlanta Esc s155T Esc s155T Calgary Esc s159T Esc s159T Copenhagen Esc s157T Esc s157T Portugal Esc s158T Esc s158T Letter Gothic16 66 Esc s130T Esc s130T Brougham Esc s128T Esc s128T OCR A Esc ...

Page 71: ...cified code a space is printed The command is useful when using character sets like the IBM All Character Set in which every single code has a corresponding character Any control codes within the data will have no effect The control code byte is treated as a character code 5 2 15 Esc d D 27 38 100 68 1Bh 26h 64h 44h This command enables the underline facility is either 0 or 3 A value of 0 signifie...

Page 72: ...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 73: ...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 74: ...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 75: ...oke 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 Glo...

Page 76: ...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 77: ... 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 f...

Page 78: ...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 79: ...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 PC ...

Page 80: ... 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 a...

Page 81: ...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 82: ...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 83: ...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 84: ...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 85: ...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 86: ...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 87: ...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 Intel...

Page 88: ...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 89: ...aper 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 90: ...per 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 91: ...elf consist 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 6 1 1 Set source transparency Esc v N 27 42 118 78 1Bh 2Ah 76h 4Eh This command sets the s...

Page 92: ...que 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 93: ...attern 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 P...

Page 94: ...e 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 directio...

Page 95: ...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 Identi...

Page 96: ...BACKGROUND 90 LPRINT ESC c80G ESC 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 LPRIN...

Page 97: ...rinted in dots is the number of dots Esc c 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 ...

Page 98: ...NG 8 GRAY SCALES 120 Y 400 130 FOR 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 3...

Page 99: ...7 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 3 4 Set raster image orientation Esc r F 27 42 114 70 1...

Page 100: ... 1152 or 1024 0 signifies no compression is to be used 1 indicates that run length encoding is to be used The raster data bytes are transmitted in pairs The second byte of each pair specifies the raster output the first byte specifies the number of times the second byte is successively repeated A value of 0 for the first byte indicates a single occurrence of the second byte a value of 1 indicates ...

Page 101: ...ntain only up to 32 767 bytes As mode 5 compression compresses multiple rows the amount of transferred data may become large If compressed data exceeds this limit reduce the number of rows in the block We can use mode 0 to mode 3 compression to compress each row We can even compress empty white rows and duplicate rows with these compression methods Command byte Mode 5 compressed data consists of m...

Page 102: ...s will continue until the value is less than 255 The total Offset value is the sum of the offset count in the control byte and all the optional offset bytes Bits 2 to 0 of the control byte contains the replacement count 1 The value is from 0 to 7 If this value is 7 optional replacement byte s follow the control byte or optional offset byte s if any If the first optional replacement count byte is 2...

Page 103: ...section 11 11 11 Offset count 3 Replacement count 3 Replacement data 11 Second section 66 66 66 66 Offset count 2 Replacement count 4 Replacement data 66 1 1 1 0 0 0 0 1 7 6 5 4 3 2 1 0 Replacement count 1 2 3 Offset count 3 Optional offset count byte 0 Replacement data 11 1 1 0 0 0 1 0 7 6 5 4 3 2 1 0 Replacement count 2 2 4 Offset count 2 Replacement data 66 0 1152 indicates that CCITT G3 G4 dat...

Page 104: ...icture If picture dot count 3 100 these 2 bytes become 1C 0C 71 71 Lines picture Same as above 72 73 00 00 Reserved 74 75 Photometrics 00 00 or 01 00 00 00 data 0 white 01 00 data 0 black 76 77 02 00 Reserved 78 79 Fill order 01 00 or 02 00 01 00 filled from MSB 02 00 filled from LSB 80 81 01 00 Reserved 82 83 00 00 Reserved 84 85 01 00 Reserved 86 87 Resolution 200 300 400 600 C8 00 00 00 200 dpi...

Page 105: ...g Tag ID 259 The printer supports 1 2 3 4 and 32773 1 no compression Bits Sample 1 4 8 2 CCITT G3 MH Bits Sample 1 3 CCITT G3 MR Bits Sample 1 4 CCITT G4 Bits Sample 1 32773 Pack Bits Bits Sample 1 3 Sample pixel Tag ID 277 This value should be 1 This means the printer accepts only monochrome TIFF files 4 Bits Sample Tag ID 258 The printer supports 1 4 and 8 If you specify 4 or 8 and the printer r...

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: ... 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: ... 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 compressed 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 12 ...

Page 110: ...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 111: ...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 112: ...o 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 2600CN 3450CN 2460 7050 3260N 6050 6050D 6050DN 8050N 2700CN printers Macros can be saved to these cards as required and then executed from the card For the HL 2400Ce 3400CN 2600CN 3450CN 2460 3260N ...

Page 113: ...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 114: ...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 115: ...h 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 3...

Page 116: ...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 117: ...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 inte...

Page 118: ...ge 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 entit...

Page 119: ...pe 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 p...

Page 120: ...e 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 statu...

Page 121: ...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 122: ...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 123: ...tion 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 r...

Page 124: ...fied 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 spac...

Page 125: ...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 126: ...rinting 22 E Echo command 105 emulation mode change 23 exit 23 end of line wrap 13 entity error code 104 entity status 98 entity status response 100 envelope 15 environment 14 error response memory 105 Esc 12 escape 11 escape sequence 12 F factory default environment 14 factory default setting 23 fill pattern 75 filled rectangle draw 77 fixed spacing 47 fixed underlining 51 floating underlining 51...

Page 127: ...nt environment 14 multi purpose tray 18 O orientation raster image 79 output tray 17 P page 25 page dimensions landscape 27 portrait 26 page length 32 page size 15 paper side selection 22 paper source 18 paper type 15 pattern 71 pattern reference point 74 pattern transparency 72 pattern type 75 PCL 12 perforation skip 32 physical page 25 picture frame 91 horizontal size 91 vertical size 91 pitch 4...

Page 128: ...85 top margin 29 top offset registration 21 transfer start raster imge 86 transparent print data 51 type of character spacing select 47 typeface 42 select 49 U unbound font 39 unbound scalable font 101 underlining text 51 unit of measure 28 units 28 upper cassette 18 upright 49 user default environment 14 user settings 23 user defined pattern command 74 user defined pattern control 75 user defined...

Page 129: ...2009 06 29 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...

Page 130: ...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 131: ...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 132: ...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 133: ...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 134: ...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 135: ...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 136: ...g 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 11...

Page 137: ... 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 138: ...ending on the specified black white reference 3 3 Set Color 3 Command ESC v C 27 42 118 67 1Bh 2Ah 76h 43h Range 32767 32767 Default value 0 This command sets the blue value in the palette Use the Set Color to Palette command to set the value The value range to 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...

Page 139: ...e palette stack This command does not affect the current palette The value of 1 pops the palette from the top of the palette stack and replacesthe current palette with it If the Pop Palette command is executed without a Push palette having first having been executed it is ignored The palette stack is controlled as a First In Last Out stack The parameters below are pushed to the palette stack Color...

Page 140: ...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 141: ...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 142: ... dither device best dither for the HL 2400C Ce 3400CN 2600CN 3450CN 2700CN 0 4 11 13 These show halftones using a dither method which places dots in a dither pattern to make the special 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 10...

Page 143: ...ixels specifies the dither matrix height by the number of pixels 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 327...

Page 144: ... returns the graphics mode to initial 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 ...

Page 145: ...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 146: ...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 147: ...2009 06 29 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...

Page 148: ...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 Initialize Command...

Page 149: ...2009 06 29 CHAPTER 4 HP GL 2 3 7 6 Character Plot Instructions 38 7 6 1 Introduction 39 8 INDEX 52 ...

Page 150: ...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 151: ...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 152: ...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 153: ...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 154: ...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 155: ... 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 156: ...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 157: ... 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 158: ...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 159: ...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 160: ...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 161: ... 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 Xmin 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 162: ...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 163: ...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 164: ...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 165: ...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 166: ...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 167: ...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 168: ...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 169: ... 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 170: ...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 171: ...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 172: ...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 173: ...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 174: ...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 175: ...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 176: ...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 177: ...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 178: ...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 179: ... 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 180: ...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 181: ...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 182: ... 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 either 0 off or 1 on When transparency mode...

Page 183: ...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 184: ...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 185: ...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 186: ...inese 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 187: ...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 188: ...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 189: ...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 190: ...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 191: ...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 192: ...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 193: ...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 194: ... 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 195: ...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 most ...

Page 196: ...ed 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 ...

Page 197: ... 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 198: ...olygon 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 18 Pen up 18 Pen wi...

Page 199: ... 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 200: ...2009 06 29 CHAPTER 4 HP GL 2 54 ...

Page 201: ...2009 06 29 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...

Page 202: ...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 203: ...mand 53 7 STATUS READBACK COMMANDS 55 7 1 Introduction 55 7 1 1 Synchronization with the printer 55 7 1 2 Basic format of status readback responses 55 7 2 Inquire Command 56 7 3 DINQUIRE Command 57 7 4 ECHO Command 58 7 5 INFO Command 59 7 5 1 ID category 60 7 5 2 CONFIG category 61 7 5 3 MEMORY category 63 7 5 4 STATUS category 64 7 5 5 VARIABLES category 64 7 5 6 USTATUS category 66 7 6 USTATUS ...

Page 204: ... 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 205: ...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 206: ...ormat 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 accordi...

Page 207: ...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 208: ...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 209: ...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 210: ... 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 EXECUTE Command The EXECUTE command orders the printer to execute the specified operation This command is supported only by HL 1...

Page 211: ...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 212: ... 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 213: ... 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 job PASSWORD password HL 1660e 2060 2400C 2400Ce 3400CN 1650 1670N 3260N 2460 7050 1850 1870N 5040 5050 5070N 5140 ...

Page 214: ...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 215: ...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 216: ...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 217: ...settings can be modified using PJL SET PJL RESET PJL DEFAULT and PJL INITIALIZE By using the PJL INQUIRE and 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 comma...

Page 218: ...0 5250DN 5270DN 5280DW 2140 2150N 2170W 5340D 5350DN 5 370DW 5380DN MANUALFEED Feeds the paper from manual feed slot ON or OFF ECONOMODE Turn the economy mode toner saving mode ON or OFF ON or OFF ECONOLEVEL Selects the toner saving level from 1 high to 3 low 1 to 3 0 to 3 HL 1650 1670N 3260N 2460 7050 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 8050N PERSONALITY Sets the emulat...

Page 219: ...IMEOUTFF Sets the timeout value for auto FF 1 to 99 seconds TIMEOUT Sets the timeout value for Automatic interface switching 1 to 99 seconds CDCCHIGH Sets the high speed transfer mode of the Centronics interface to ON or OFF ON or OFF HL 1050 1070 1250 1270N 1450 1470N P2500 DTRCTRL Selects when DTR becomes low 0 the printer is turned off line by the SEL switch the input buffer is full or when a p...

Page 220: ...870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 8050N 2070N 5240 5250DN 5270 DN 5280DW 2140 2150N 2170 W 5340D 5350DN 5370DW 538 0DN PAGEPROTECT Configuration of the Page protection mode This mode reserves a block of printer memory to avoid 31 PRINT OVERRUN errors AUTO OFF LETTER LEGAL A4 RESOLUTION Printer resolution setting If the printer can not print a large file at 600 dpi because of...

Page 221: ...N ENGLISH FRENCH GERMAN DUTCH SPANISH ITALIAN PORTUGUESE HL 8050N ENGLISH FRENCH GERMAN DUTCH SPANISH ITALIAN NORWEGIAN FINNISH PORTUGUESE DANISH SWEDISH HL 2070N ENGLISH FRENCH GERMAN DUTCH SPANISH ITALIAN PORTUGUESE HL 8050N ENGLISH FRENCH GERMAN DUTCH SPANISH ITALIAN NORWEGIAN FINNISH PORTUGUESE DANISH SWEDISH CZECH POLISH HUNGARIAN RUSSIA BULGARIAN ROMANIAN HL 5240 5250DN 5270DN 5280DW ENGLISH...

Page 222: ...0DN 5370DW 538 0DN PASSWORD Password for panel lock to write to the NVRAM with the DEFAULT INITIALIZE command 0 to 65535 HL 1650 1670N 3260N 2460 7050 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 8050N 2070N 5240 5250DN 5270 DN 5280DW 2140 2150N 2170 W 5340D 5350DN 5370DW 538 0DN BIDI ON or OFF HL 1650 1670N 3260N 2460 7050 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D ...

Page 223: ...onfiguration of the High Resolution Control hardware LIGHT MEDIUM DARK OFF HL 1650 1670N 3260N 2460 7050 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 8050N IMAGEADAPT OFF ON AUTO HL 1650 1670N 3260N 2460 7050 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 2070N 5240 525 0DN 5270DN 5280DW 2140 215 0N 2170W 5340D 5350DN 5370 DW 5380DN INTRAY 1 Read Only Returns the auto selection loc...

Page 224: ... UNLOCKED HL 3260N 2460 7050 INTRAY1SIZE Selects the paper size in Tray1 Selects the paper size in MP Tray HL 7050 6050 6050D 6050DN 5240 5250D N 5270DN 5280DW 5340D 5350DN 5 370DW 5380DN LETTER LEGAL EXECUTIVE A3 A4 B5 A5 A6 COM10 C5 DL MONARCH LEDGER JISB4 LTRS A4S EXECUTIVES B5S HL 3260N LETTER LEGAL EXECUTIVE A4 JISB5 B5 A5 B6 A6 COM10 DL MONARC C5 A4LONG CUSTOM HL 2460 LETTER LEGAL EXECUTIVE ...

Page 225: ...260N A4 LETTER B5 EXECUTIVE ENVELOPES LEGAL A5 B6 A6 A4LONG NO CASSETTE HL 2460 A4LETTER B5EXECUTIVE ENVELOPES LEGAL A5 B6 A6 A4LONG NOCASSETTE HL 7050 A4LETTER B5EXECUTIVE ENVELOPES LEGAL A5 B6 A6 A4 LETTER JISB5 B5 EXECUTIVE FOLIO POSTCARD NOCASSETTE HL 6050 6050D 6050DN LETTER LEGAL EXECUTIVE A4 B5 A5 A6 JISB5 B6 COM10 C5 DL MONARCH HL 8050N ANY LETTER LEGAL A4 EXECUTIVE JISB5 B5 A5 B6 A6 FOLIO...

Page 226: ...ETTE HL 6050 6050D 6050DN LETTER LEGAL EXECUTIVE A4 B5 A5 A6 JISB5 B6 COM10 C5 DL MONARCH HL 8050N ANY LETTER LEGAL A4 EXECUTIVE JISB5 B5 A5 B6 FOLIO HL 5240 5250DN 5270DN 5280DW 5340D 5350DN 5370DW 5380D N INTRAY4SIZE Selects the paper size in Tray4 Selects the paper size in Tray3 HL 7050 5240 5250DN 5270DN 5280DW 5340D 5350DN 5370DW 5380DN LETTER LEGAL EXECUTIVE A3 A4 B5 A5 A6 COM10 C5 DL MONARC...

Page 227: ... 5250DN 5270DN 5280DW 5340D 5350DN 5370DW 5380D N AUTO TRAY1 TRAY2 TRAY3 TRAY4 MPTRAY HL 3260N 2460 7050 TRAYID1 TRAYID2 TRAYID3 TRAYID4 HL 2460 7050 AUTO TRAY1 TRAY2 TRAY3 TRAY4 HL 8050N AUTO TRAY1 HL 2070N 2140 2150N 2170W MPTRAYSIZE LETTER LEGAL EXECUTIVE A3 A4 B5 A5 A6 COM10 C5 DL MONARCH LEDGER JISB4 LTRS A4S EXECUTIVE B5S HL 3260N ANY LETTER LEGAL A4 EXECUTIVE COM10 MONARCH C5 DL DLL B5 A5 A...

Page 228: ...40 5150D 5170DN 6050 6050D 6050DN 5240 5250DN 5270DN 5280DW TRAY1SIZE A3 JISB4 LEDGER A4 A4S A5 B5 B5S LEGAL LETTER LTRS EXECUTIVE EXECUTIVES HL 3260N ANY LETTER LEGAL A4 EXECUTIVE B5 A5 A6 B6 JISB5 A4LONG POSTCARD FOLIO HL 1850 1870N 5040 5050 5070N 5140 5150D 5170DN DETECTSENSOR LETTER LEGAL EXECUTIVE A4 JISB5 B5 A5 B6 A6 FOLIO POSTCARD HL 6050 6050D 6050DN DETECTSENSOR B5 B6 A6 COM10 DL MONARCH...

Page 229: ...HL 5240 5250DN 5270DN 5280DW 5340D 5350DN 5370DW 5380D N TRAY3SIZE PS400 installed A3 JISB4 LEDGER A4 A4S A5 B5S LEGAL LETTER LTRS EXECUTIVE EXECUTIVES PS420 installed A4 LETTER PS440 installed A3 JISB4 LEDGER A4 A4S A5 B5 B5S LEGAL LETTER LTRS EXECUTIVE EXECUTIVE HL 3260N DETECTSENSOR B5 B6 A6 COM10 DL MONARCH C5 USERDEFINED HL 8050N ANY LETTER LEGAL A4 EXECUTIVE B5 A5 B6 JISB5 FOLIO HL 5240 5250...

Page 230: ...OTEBIN ON or OFF HL 1650 1670N 2460 7050 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 8050N 5240 5250DN 5270DN 52 80DW 5340D 5350DN 5370DW 5380DN DOWNFPROD Creates bold and italic fonts from download fonts ON or OFF HL 1650 1670N 2460 7050 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 8050N 2070N 5240 5250DN 527 0DN 5280DW 2150N 2170W 53 40D 5350DN 5370DW 5380DN ...

Page 231: ... 5070N 5140 5150D 5170DN 6050 6050D 6050DN 8050N 2070N 5240 5250DN 527 0DN 5280DW 2150N 2170W 53 40D 5350DN 5370DW 5380DN PROTECTOFF AUTO NORMAL HL 1650 1670N 2460 7050 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 8050N 2070N 5240 5250DN 527 0DN 5280DW 2140 2150N 2170 W 5340D 5350DN 5370DW 538 0DN ISRFONT Sets the Israeli font ON or OFF ON or OFF HL 1650 1670N 2460 7050 1850 1870...

Page 232: ...0DN 5270DN 5280DW 5340D 5 350DN 5370DW 5380DN FXLFITAMODE OBLIQUE ITALIC HL 1650 1670N 3260N 2460 7050 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 8050N 2070N 5240 525 0DN 5270DN 5280DW 5340D 5 350DN 5370DW 5380DN ENVINTERVAL 0 to 255 HL 1650 1670N 1850 1870N 5040 5050 5070N 5140 51 50D 5170DN 6050 6050D 6050DN PSCEILMODE FLOOR CEIL HL 1650 1670N 3260N 2460 7050 1850 1870N 5040 ...

Page 233: ...N 3260N 2460 7050 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 8050N 2070N 5240 5250DN 527 0DN 5280DW 2140 2150N 2170 W 5340D 5350DN 5370DW 538 0DN LCDDENSITY Sets the LCD angle value 0 to 2 HL 1650 1670N 2460 7050 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 5270DN 52 80DW 5380DN FAXRINGDELAY 0 to 4 HL 3260N 2460 7050 FAXREDUCTION AUTO OFF FIX90 HL 3260N 2460 7...

Page 234: ...460 7050 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 8050N 2070N 5240 5250DN 527 0DN 5280DW 5340D 5350DN 5 370DW 5380DN PICKUPRETRY 0 to 7 HL 2460 7050 6050 6050D 6050DN 5240 5250DN 52 70DN 5280DW 2070N 2140 215 0N 2170W 5340D 5350DN 5370 DW 5380DN 0 to 63 HL 1650 1670N 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 2070N COLLATE Sets the collate printing ON or OFF HL 2460 7050 60...

Page 235: ...CKER UPPER HL 8050N MAILBOXPROTECT 0 4 HL 3260N 0 10 HL 2460 7050 AVOIDMAILBOXFULL ON or OFF HL 3260N2460 7050 8050N TOWERFEED ON or OFF HL 2460 7050 RAMDISKSIZE 0 to XX Mbyte s Except for HL 2070N 5270DN 5280DW 5380D N TRANSFERVOLT MODE1 MODE2 MODE3 MODE4 MODE1 Normal MODE2 Low MODE3 Middle MODE4 High HL 2460 7050 COLDSTARTMODE Sets the cold start mode OFF MODE1 MODE2 MODE1 MODE2 HL 2460 7050 TNC...

Page 236: ...0 6050D 6050DN 5270DN 5280DW 5380 DN ERRORBUZZER Sets Buzzer mode at Error condition OFF ON HL 7050 6050 6050D 6050DN PANELBUZZER Sets Buzzer mode for Panel Operation OFF ON HL 7050 6050 6050D 6050DN BUZZERVOLUME Sets Buzzer volume LOW HIGH HL 7050 6050 6050D 6050DN CARBONMODE Sets Carbon mode OFF ON AUTO PARALLEL HL 6050 6050D 6050DN 5270DN 52 80DW 5380DN CARBONCOPIES Set the number of Carbon cop...

Page 237: ...DN 5280DW 5380 DN CARBON6MACRO Sets if a Macro is added to sixth page or not OFF ON HL 6050 6050D 6050DN 5270DN 5280DW 5380 DN CARBON7MACRO Sets if a Macro is added to seventh page or not OFF ON HL 6050 6050D 6050DN 5270DN 5280DW 5380 DN CARBON8MACRO Sets if a Macro is added to eighth page or not OFF ON HL 6050 6050D 6050DN 5270DN 5280DW 5380 DN CARBON1MACROID Sets Macro ID to added to first page ...

Page 238: ...2009 06 29 CHAPTER 5 PJL 38 Variables Description Sample Value Range CARBONMACRO Sets the order of Macro addition BEHIND FRONT HL 6050 6050D 6050DN 5270DN 5280D W 5380DN ...

Page 239: ...TCARD FOLIO A4LONG A5L P3X5 ENVYOU4 ENVCHOU3 HL 5340D 5350DN 5370DW 5380DN ORIENTATION Sets the orientation PORTRAIT or LANDSCAPE LEFTMARGIN Sets the left margin 0 to 126 columns HL 1050 1070 1250 1270N 1450 1470N P2500 3 260N 2460 7050 6050 6050D 6050DN 8050N 0 to 145 columns HL 1650 1670N 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 2070N 2150N 2170W 5240 5250D N 5270DN 5280DW 5340D 5350 DN 5370...

Page 240: ...8050N 5270DN 5280DW 5380DN FONTNUMBER Sets the font number 0 to n HL 1050 1070 1250 1270N 1450 1470N P2500 0 to 0x7FFFFFFF HL 1650 1670N 3260N 2460 7050 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 8050N 2070N 5240 5250 DN 5270DN 5280DW 2150N 217 0W 5340D 5350DN 5370DW 538 0DN PITCH Pitch of the default font in units of characters per inch The pitch value can be specified to two ...

Page 241: ...SOL6 PC775 HL 1650 1670N 3260N 2460 7050 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 8050N 2070N 5240 5250DN 5270DN 528 0DW 2150N 2170W 5340D 5350 DN 5370DW 5380DN HERBREW7 HL 1650 1670N 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 8050N 2070N 5240 5250 DN 5270DN 5280DW 2150N 217 0W 5340D 5350DN 5370DW 538 0DN ABIBP ABIINTL RUSSIAN UKRAINIAN PC866 PC8LG PC851 W...

Page 242: ...DN 5280DW B6 DLL POSTCARD FOLIO A4LONG A5L P3X5 ENVYOU4 ENVCHOU3 HL 5340D 5350DN 5370DW 5380DN ORIENTATION Sets the orientation PORTRAIT LANDSCAPE LEFTMARGIN Sets the left margin 0 to 126 HL 1050 1070 1250 1270N 1450 1470N P2500 3260N 2460 7050 6050 6050D 6050DN 8050N 0 to 145 HL 1650 1670N 1850 1870N 5050 5070N 5150D 5170DN 2070N 5240 5250DN 527 0DN 5280DW 5340D 5350DN 53 70DW 5380DN RIGHTMARGIN ...

Page 243: ...ters per inch The pitch value can be specified to two decimal places 0 44 0 45 99 99 PTSIZE Height of the default font in units of points The point size can be specified to a quarter of a point 4 00 4 25 999 75 SYMSET Sets the symbol set USASCII GERMAN UKASCI1 FRENCH1 DANISH1 ITALY SPANISH SWEDISH JAPAN NORWEG DANISH2 UKASCI2 FRENCH2 DUTCH SAFRICA PC8 PC8DN PC850 PC852 PC860 PC863 PC865 PC8TK SYMB...

Page 244: ...DN 5280DW B6 DLL POSTCARD FOLIO A4LONG A5L P3X5 ENVYOU4 ENVCHOU3 HL 5340D 5350DN 5370DW 5380DN ORIENTATION Sets the orientation PORTRAIT LANDSCAPE LEFTMARGIN Sets the left margin 0 to 126 HL 1050 1070 1250 1270N 1450 1470N P2500 3260N 2460 7050 6050 6050D 6050DN 8050N 0 to 145 HL 1650 1670N 1850 1870N 5050 5070N 5150D 5170DN 2070N 5240 5250DN 527 0DN 5280DW 5340D 5350DN 53 70DW 5380DN RIGHTMARGIN ...

Page 245: ...FFFFF HL 1650 1670N 3260N 1850 1870N 5050 5070N 5150D 5170DN 6050 6050 D 6050DN 8050N 2070N5240 5250DN 5270 DN 5280DW 5340D 5350DN 537 0DW 5380DN 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 font in units of points The point size can be specified to a quarter of a point 4 00 4 25 ...

Page 246: ...VES B5S A4LONG HL 3260N B6 DLL POSTCARD ORGANIZERJ ORGANIZERK ORGANIZERL ORGANIZERM FOLIO USERDEF A4LONG HL 1850 1870N 5050 5070N 5150D 51 70DN 6050 6050D 6050DN 5240 5250DN 5270DN 52 80DW B6 DLL POSTCARD FOLIO A4LONG A5L P3X5 ENVYOU4 ENVCHOU3 HL 5340D 5350DN 5370DW 5380DN ORIENTATION Sets the orientation PORTRAIT LANDSCAPE PRTPSERRS The printing of a PostScript error page is enabled or disabled b...

Page 247: ... A4 JISB5 B5 A5 B6 A6 COM10 DL MONARCH C5 A4LONG HL 3260N 2460 7050 A3 LEGER JISB4 LTRS A4S EXECUTIVES B5S HL 3260N LETTER LEGAL EXECUTIVE A4 JISB5 B5 A5 B6 A6 COM10 DL MONARC C5 HL 8050N ORIENTATION Sets the orientation PORTRAIT or LANDSCAPE HL 3260N 2460 7050 SYMSET Sets the symbol set ANSIASCII CHRSET9825 FRENCHGERMAN SCANDINAVIAN SPANISHLATIN JISASCII ROMAN8EXT ISOIRV ISOSWEDISH ISOSWEDISHN IS...

Page 248: ...rs AUTO OFF LETTER LEGAL A4 RESOLUTION Printer resolution setting If the printer cannot print a large file at 600 dpi because of insufficient memory the printer decreases the resolution to 300 dpi automatically 300 600 PERSONALITY Personality emulation can be switched with the PJL ENTER command or ESC CR command If the AUTO option is selected factory default the printer senses the data from the co...

Page 249: ...d faster by starting the polygon mirror motor at Power On Setting to MIDDLE is effective only for the first page after Power ON Setting to HIGH makes the scanner motor rotate continuously NORMAL MIDDLE HIGH DENSITY Returns the printing density level setting from 1 to 15 The default value is 8 1 lighter to 15 darker LANG Returns the language for control panel and status readback information ENGLISH...

Page 250: ...t type is set to PRIVATE 0 to 9 4 digits to be selected TIMESETYEAR Clock year setting 1998 to 2039 TIMESETMONTH Clock month setting 1 to 12 TIMESETDAY Clock date setting 1 to 31 TIMESETHOUR Clock hour setting 0 to 23 TIMESETMIN Clock minute setting 0 to 59 TIMESETSEC Clock second setting 0 to 59 TIMESTYLE Sets the display style of the clock YMD YYYY MM DD hh mm MDY MM DD YYYY hh mm DMY DD MM YYYY...

Page 251: ...he point size can be specified to a quarter of a point 4 00 4 25 999 75 SYMSET Symbol set ROMAN8 ISOL1 ISOL2 ISOL5 PC8 PC8DN PC850 PC852 PC8TK WINL1 WINL2 WINL5 DESKTOP PSTEXT VNINTL VNUS MSPUBL MATH8 PSMATH VNMATH PIFONT LEGAL ISO2 ISO4 ISO6 ISO10 ISO11 ISO 14 ISO15 ISO16 ISO17 ISO21 ISO 25 ISO 57 ISO60 ISO61 ISO69 ISO84 ISO85 WIN30 HPGERM HPSPAN MCTEXT LEFTMARGIN Sets the left margin 0 to 145 co...

Page 252: ...s 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 INITIALIZE command resets the PJL Current Environment and User Default Environment varia...

Page 253: ... 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 254: ...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 255: ...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 256: ... 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 t...

Page 257: ...entical to the Control Panel Setting This DINQUIRE command can request only one variable at a time If you would like to get information from more variables send multiple DINQUIRE commands 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 fol...

Page 258: ...owing response for the above DINQUIRE commands 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 pr...

Page 259: ...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 260: ...N 5240 5250DN 5270DN 5280DW 4040CN 4050CDN 4070CDW 2070N 2140 2150N 2170W 5340D 5350DN 5370DW 5380 DN 3040CN 3070CW INTRAYCONFIG The information of the paper cassette HL 2460 3260N 1650 1670N 7050 1850 1870N 5040 5050 5070N 5140 5150D 5170DN 6050 6050D 6050DN 8050N 2070N 5240 5250DN 5270DN 5280DW 4040CN 4050CDN 4070CDW 2140 2150N 2170W 5340D 5350DN 53 70DW 5380DN 3040CN 3070CW OUTTRAYCONFIG The in...

Page 261: ...ormation CR LF HT returned option attribute CR LF feature value value feature information CR LF HT returned option attribute CR LF FF Parameters Parameter Range of Characters Description feature alphabetical letters ASCII 65 90 or 97 122 numbers ASCII 48 57 Beginning with a letter Name of an item of the printer configuration for example IN TRAYS paper sources OUT TRAYS output trays PAPER paper siz...

Page 262: ...L 62 attribute alphabetical letters ASCII 65 90 or 97 122 numbers ASCII 48 57 Further information for a returned option For example a PC attribute following an INTRAY2 returned option indicates INTRAY2 means LC optional tray2 ...

Page 263: ...Y CHARACTER SIZE 16 CR LF FF In this example IN TRAYS 2 ENUMERATED 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 MEMORY command to check the size of total free memory and the largest free memory block in the printer The free memory size may vary acco...

Page 264: ... 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 265: ...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 266: ...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 267: ...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 268: ...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 invalid 7 6 1...

Page 269: ...E 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 is sent to ...

Page 270: ...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 271: ...ecovery 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 PAGE command 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 272: ...r 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 RDYMSG command 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 273: ...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 274: ...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 275: ... category 64 USTATUS category 66 VARIABLES category 64 information line 11 INITIALIZE command 52 INQUIRE command 56 invalid command 7 J JOB Command 13 job name 13 JOB recovery 71 K Kernel command 10 O OPMSG command 73 P PCL specific variables 39 47 51 PERMFONT 10 PJL RESET command 53 PostScript specific variable 51 print environment 15 PRTCONFIG 10 R RDYMSG command 72 reset conditions 16 RESIFONT ...

Page 276: ...2009 06 29 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...

Page 277: ...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 13 6 3 Line Spacing 15 6 4 Using Tabs 16 6 5 Using Standard Characters 17 6 6 Using customized characters 23 6 7 Graphics 24 7 INDEX 28 ...

Page 278: ...ge length 13 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 14 Esc 2 Select 1 6 line spacing 14 Esc 0 Select 1 8 line spacing 14 Esc 1 Select 7 72 line spacing 14 Esc A n Select n 72 line spacing 14 Esc 3 n Select n 216 line spacing 14 Esc J n Perform n 216 line feed 14 Esc j n Perform n 216 reverse ...

Page 279: ...e 20 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 21 Esc t n Select italic graphic character table 21 Esc NUL n1 n2 n3 character definition data 22 Define characters Esc n NUL Select standard downloaded characters 22 Esc 0 0 0 Copy ROM character to RAM 23 Esc m n1 n...

Page 280: ...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 281: ...nters 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 Y escape 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 dots per inch HL 2060 1650 1670N 2460 7050 1850 1870N 5050 5070N 5150D ...

Page 282: ... 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 position...

Page 283: ...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 284: ...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 285: ...mmand allows you to print characters a specified distance in from the left margin The unit of movement is 1 60 The specified distance 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 chara...

Page 286: ... character LPRINT CHR 27 CHR 62 Set MSB to 1 Cancel MSB setting Esc 27 35 1Bh 23h This command cancels the two commands that set the most significant bit of incoming data bytes Esc and Esc LPRINT CHR 27 CHR 35 Cancel MSB setting Select Near Letter Quality or Draft Escxn 27 120 n 1Bh 78h n The printer ignores this command Select cancel half speed mode Escsn 27 115 n 1Bh 73h n The printer ignores th...

Page 287: ...ject unless the current page is blank The newly selected emulation mode s default settings come into effect except when mode is set to FD LPRINT CHR 27 CHR 13 CHR 73 Change to IBM Proprinter mode User reset EscCR R 27 13 33 82 1Bh 0Dh 21h 52h 0 the printer restores to the current user setting 1 the printer restores to user settings 1 2 the printer restores to user settings 2 Paper Input Control Es...

Page 288: ...sets the left margin in columns from the left edge of the page The width of a column is the current character width In proportional spacing mode a column width of 1 10 is adopted This command clears all tab settings The minimum space allowed between the left and right margins is 1 5 LPRINT CHR 27 CHR 108 CHR 10 Left margin 1 at 10 cpi Set right margin EscQn 27 81 n 1Bh 51h n This command sets the ...

Page 289: ...2009 06 29 CHAPTER 6 EPSON 14 If the bottom margin specified by this command would be located above the top margin the command is ignored LPRINT CHR 27 CHR 78 CHR 4 Set bottom margin to 4 lines ...

Page 290: ...72 line spacing EscAn 27 65 n 1Bh 41h n This command sets the line spacing to n 72 All subsequent line feed operations will move the print position n 72 down the page Since the printer s resolution is 600 dots per inch the line spacing will 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 Set l...

Page 291: ...tops use the Esc e 0 command Esc D 0 clears all horizontal tab settings The default tab stop settings are at every eighth column starting at the ninth column The default column width is 1 10 The default settings are adopted when the printer is first switched on or when you perform a reset with the Esc instruction You can move the print position to the tab stops using the HT control code LPRINT CHR...

Page 292: ...code LPRINT CHR 27 CHR 98 CHR 1 CHR 10 CHR 20 CHR 0 Set tab stops at lines 10 and 20 Select vertical tab channel Esc n 27 47 n 1Bh 2Fh n This command allows you to select a set of vertical tabs or channel that you defined using the Esc b command All subsequent vertical tab commands use the selected tab channel s settings n must be in the range from 0 to 7 The default channel is channel 0 Channel 0...

Page 293: ...nd selects condensed character mode Subsequent text characters are condensed horizontally when printed Selecting proportional spacing cancels condensed character mode LPRINT CHR 15 Set condensed character mode Select condensed character mode II EscSI 27 15 1B 0F This command selects condensed character mode Subsequent text characters are condensed horizontally when printed Selecting proportional s...

Page 294: ...nt line of text is printed using double width characters and with the line spacing setting doubled The following commands cancel double width printing mode set using the SO control code 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 S...

Page 295: ...ng mode Subsequent text is printed using normal characters LPRINT CHR 27 CHR 84 Turn off superscript mode Select cancel double height printing Escwn 27 119 n 1Bh 77h n This command turns double height printing on or off If n is set to 1 subsequent text is printed using double height characters The line space setting is doubled If n is set to 0 subsequent text is printed using normal sized characte...

Page 296: ... area Esc6 27 54 1Bh 36h This command enables you to print characters whose character codes are in the range 128 to 159 You can define your own characters and assign codes in this range to them LPRINT CHR 27 CHR 54 Expand printable area Cancel expansion of printable code area Esc7 27 55 1Bh 37h This command prevents you from printing characters with codes in the range 128 to 159 LPRINT CHR 27 CHR ...

Page 297: ...I 13 Danish I 4 French II 14 Swedish 5 Dutch 15 Italy 6 South African 16 Spanish 7 If you have selected the graphics character table with the Esc t 1 command the following additional character sets are available Norwegian set I 17 IBM set I 19 Norwegian set II 18 IBM set II 20 LPRINT CHR 27 CHR 82 CHR 3 Select British char set Select italic graphics character table Esctn 27 116 n 1Bh 74h n This co...

Page 298: ...ition 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 blank to the left of the defin...

Page 299: ...he horizontal 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...

Page 300: ...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 301: ...OR 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 byte rep...

Page 302: ...TY 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 comp...

Page 303: ...ps 16 I image mode 24 Initialize 11 inter character space 10 international character set 22 italic graphics character table 22 italic mode 20 J justification mode 10 L left margin 13 line feed 15 Line feed 9 line spacing 15 P page length 13 perforation skip 13 pitch 17 printable code area 21 printing mode 21 proportional spacing 18 Q quadruple density image 27 R relative print position 10 resoluti...

Page 304: ...2009 06 29 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...

Page 305: ...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 306: ...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 14 EscF Cancel emphasized character mode 14 SO Set enlarged character mode for a si...

Page 307: ...TER 4 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 308: ...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 309: ...ription 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 ...

Page 310: ... 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 311: ... 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 312: ...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 313: ...tray Except for HL 8050N n 2 Feed from Tray 1 n 3 Feed from Tray 2 n 4 Feed from Tray 3 n 5 Feed from Tray 4 Only HL 3260N 2460 7050 8050N 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 2400C 2400Ce 3400CN 2600CN 3450CN 2700CN n 0 Initialize the feeder mode n 1 Feed from Tray 1 n 2 Feed from Tray 2 n R ...

Page 314: ... 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 315: ...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 316: ...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 317: ... 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 318: ...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 319: ...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 320: ... 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 321: ... 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 ...

Page 322: ...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 323: ...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 324: ...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 325: ...2009 06 29 CHAPTER 7 IBM PROPRINTER 22 ...

Page 326: ...2009 06 29 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...

Page 327: ...ode 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 Bar Code Data Sta...

Page 328: ...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 329: ... 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 330: ...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 331: ...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 332: ...2 mm 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 333: ...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 334: ...When you put on the end of the data a check digit is automatically added 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 ru...

Page 335: ...1 0x11 69 69 E 0x45 18 18 DC2 0x12 70 70 F 0x46 19 19 DC3 0x13 71 71 G 0x47 20 20 DC4 0x14 72 72 H 0x48 21 21 NAK 0x15 73 73 I 0x49 22 22 SYN 0x16 74 74 J 0x4a 23 23 ETB 0x17 75 75 K 0x4b 24 24 CAN 0x18 76 76 L 0x4c 25 25 EM 0x19 77 77 M 0x4d 26 26 SUB 0x1a 78 78 N 0x4e 27 27 ESC 0x1b 79 79 O 0x4f 28 28 FS 0x1c 80 80 P 0x50 29 29 GS 0x1d 81 81 Q 0x51 30 30 RS 0x1e 82 82 R 0x52 31 31 US 0x1f 83 83 ...

Page 336: ...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 337: ...2009 06 29 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...

Page 338: ...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 339: ...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 340: ...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 341: ...2009 06 29 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 3450CN Letter 6 5 5 5 Legal 6 5 5 5 ...

Page 342: ...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 343: ...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 344: ...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 345: ... 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 346: ...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 347: ...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 348: ...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 349: ...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 350: ... 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 351: ...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 352: ...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 353: ...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 354: ...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 355: ...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 356: ...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 357: ..._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 358: ... run rise run X direction component rise Y direction component Specifies the character plot direction Values for the run and rise are clamped 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 PA3050...

Page 359: ...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 360: ...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 361: ...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 362: ...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 Except for HL 7050 Factory reset Brother original EscCRFD This command causes a factory reset to be performed restoring all the printer s factory default settin...

Page 363: ...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 364: ...2009 06 29 CHAPTER 9 HP GL 28 ...

Page 365: ...2009 06 29 CARBON COPY FUNCTION 1 CHAPTER 10 CARBON COPY FUNCTION ...

Page 366: ...ting on the control panel 5 2 2 2 Setting with the PJL command 6 2 3 Example 7 2 3 1 Setting on the control panel 7 2 3 2 Setting with the PJL command 7 3 DETAILED INFORMATION 8 3 1 Details on the specifications 8 3 1 1 Usable emulation 8 3 1 2 About tray selection 8 3 1 3 About the duplex setting 8 3 1 4 About the USER DEFINED SIZE paper 8 3 1 5 About the reprint function 8 3 1 6 About the spool ...

Page 367: ...and register an additional macro for each copy Therefore it is possible to change the printing format for each copy by selecting the paper tray to change the paper type or registering different macros The main purpose of this function is to support the carbon copy printing on the laser printer which has been provided on the dot printer This function is supported on the HL 6050 6050D 6050DN 5270DN ...

Page 368: ...ng Selects the paper tray for each copy AUTO REMAINING All trays can be selected when AUTO is set When the one tray is selected to fix for other copy the AUTO setting is switched to REMAINING and other trays than the fixed one can be selected If REMAINING is set when all trays are fixed the Tray 1 is fixed MPTRAY The paper tray is fixed to the MP tray TRAY1 The paper tray is fixed to the Tray 1 TR...

Page 369: ...ith COPY 1 Same with COPY 1 COPY 4 MACRO Same with COPY 1 Same with COPY 1 COPY 5 TRAY Same with COPY 1 Same with COPY 1 COPY 5 MACRO Same with COPY 1 Same with COPY 1 COPY 6 TRAY Same with COPY 1 Same with COPY 1 COPY 6 MACRO Same with COPY 1 Same with COPY 1 COPY 7 TRAY Same with COPY 1 Same with COPY 1 COPY 7 MACRO Same with COPY 1 Same with COPY 1 COPY 8 TRAY Same with COPY 1 Same with COPY 1 ...

Page 370: ...itional macro OFF The macro is not added ON The macro is added CARBON1MACROI D ID 0 Specifies the macro When the macro is not set NULL is returned even if sending the INQUIRE or DINQUIRE command CARBON2TRAY Same with CARBON1TRAY CARBON2MACRO Same with CARBON1MACRO CARBON2MACROI D Same with CARBON1MACROID CARBON3TRAY Same with CARBON1TRAY CARBON3MACRO Same with CARBON1MACRO CARBON3MACROI D Same wit...

Page 371: ...N COPY PARALLEL PRINT MENU CARBON MENU COPIES 4 PRINT MENU CARBON MENU COPY 1TRAY TRAY1 PRINT MENU CARBON MENU COPY 1 MACRO 128 PRINT MENU CARBON MENU COPY 2 TRAY TRAY2 PRINT MENU CARBON MENU COPY 2 MACRO 129 PRINT MENU CARBON MENU COPY 3 TRAY MPTRAY PRINT MENU CARBON MENU COPY 3 MACRO OFF PRINT MENU CARBON MENU COPY 4 TRAY MPTRAY PRINT MENU CARBON MENU COPY 4 MACRO OFF 2 3 2 Setting with the PJL ...

Page 372: ... with the carbon copy function it can be fed from the Tray 1 and Tray 2 However the paper which cannot be fed from the selected tray is not supported Ex A6 size or others with the Tray 2 3 1 5 About the reprint function When the carbon copy function is enabled the reprint function cannot be used 3 1 6 About the spool data The carbon copy function cannot be used even if the function is turned on fo...

Page 373: ...2009 06 29 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...

Page 374: ...N FX 850 38 IBM PROPRINTER XL 41 BAR CODE 43 HP GL 44 PJL 46 1 This option is available only when the optional BR Script 2 ROM Board is installed into the printer 48 General PJL Environment Variables 52 2 This option is available only when the optional BR Script 2 ROM Board is installed into the printer 57 PCL Specific Variables 66 PostScript Specific Variables 69 EPSON Specific Variables 70 IBM S...

Page 375: ... HL 1850 1870N HL 5040 5050 5070N HL 5140 5150D 5170DN HL 2070N HL 6050 6050D 6050DN HL 5240 50D 70DN 80DW HL 8050N HL 3260N HL 2460 HL 7050 Esc l1A Paper Size Executive Esc l2A Paper Size Letter Esc l3A Paper Size Legal Esc l6A Paper Size Ledger Esc l25A Paper Size A5 Esc l26A Paper Size A4 Esc l27A Paper Size A3 Esc l45A Paper Size JIS B5 Esc l46A Paper Size JIS B4 Esc l100A Paper Size B5 Esc l1...

Page 376: ... 70DN 80DW HL 8050N HL 3260N HL 2460 HL 7050 Esc l1028A Paper Size 13 X19 Esc l1033A Paper Size Organizer J Esc l1034A Paper Size Organizer K Esc l1035A Paper Size Organizer L Esc l1036A Paper Size Organizer M Esc l1037A Paper Size DL Long Edge Feeding Esc l1038A Paper Size Folio Esc l2048A Paper Size A4 Long Esc l71A Paper Size POSTCARD Esc l80A Paper Size Monarch Esc l81A Paper Size COM 10 Esc l...

Page 377: ...0CW Esc l1A Paper Size Executive Esc l2A Paper Size Letter Esc l3A Paper Size Legal Esc l6A Paper Size Ledger Esc l25A Paper Size A5 Esc l26A Paper Size A4 Esc l27A Paper Size A3 Esc l45A Paper Size JIS B5 Esc l46A Paper Size JIS B4 Esc l100A Paper Size B5 Esc l1024A Paper Size B6 Esc l44A Paper Size JIS B6 Esc l1025A Paper Size A5 Esc l1026A Paper Size A6 ...

Page 378: ...ze Organizer J Esc l1034A Paper Size Organizer K Esc l1035A Paper Size Organizer L Esc l1036A Paper Size Organizer M Esc l1037A Paper Size DL Long Edge Feeding Esc l1038A Paper Size Folio Esc l1039A Paper Size 3 X5 Esc l2048A Paper Size A4 Long Esc l71A Paper Size POSTCARD HAGAKI Esc l80A Paper Size Monarch Esc l81A Paper Size COM 10 Esc l90A Paper Size DL Esc l91A Paper Size C5 ...

Page 379: ...DN 4070CDW HL 2150N 2170W HL 5340D 5350DN 537 0DW 5380DN HL 3070CW Esc l1042A Paper Size A5 Long Edge Esc l1043A Paper Size A4 Short Esc l17A Paper Size 16K 197x273mm Esc l34A Paper Size 16K 195x270mm Esc l89A Paper Size 16K 184x260mm Esc l101A Paper Size Free Size ...

Page 380: ...HL 5040 5140 HL 8050N HL 3260N HL 2460 HL 7050 HL 2070N 2150N 2170W Esc l0H Paper Eject Esc l1H Primary Tray Fee der1 Upper Cassette Tray1 Esc l2H Manual Feed Esc l3H Envelope Feed from Manual Feed Esc l4H Secondary Tray Fee der2 Lower Cassette Tray2 MP Tray Tra y2 MP Tray Esc l5H Optional Tray Lower Cassette Tray2 Esc l7H Automatic Selection Esc l8H Optional Tray Tray3 Tra y3 Tray3 Esc l9H Option...

Page 381: ...7050 HL 2070N 2150N 2170W Esc l103H Tray ID 4 Tray ID 4 Esc l1001H Fixed Tray Esc l1002H Auto Selection PCL5 5e Tray If PJL TRAYCOMMAND is NORMAL continued COMMAND HL 4040CN HL 4050CDN 4070CDW HL 5340D 5350DN 5 370DW 5380DN HL 3070CW Esc l0H Paper Eject Esc l1H Primary Tray Tray1 Tray1 Tray1 Tray1 Esc l2H Manual Feed Esc l3H Envelope Feed from Manual Feed Feed from Manual Feed Feed from Manual Fee...

Page 382: ...0CDN 4070CDW HL 5340D 5350DN 5 370DW 5380DN HL 3070CW Esc l6H Esc l7H Automatic Selection Esc l8H Optional Tray Tray3 Esc l9H Optional Tray Esc l100H Tray ID 1 Esc l101H Tray ID 2 Esc l102H Tray ID 3 Esc l103H Tray ID 4 Esc l1001H Fixed Tray Esc l1002H Auto Selection ...

Page 383: ... HL 5040 5140 HL 8050N HL 3260N HL 2460 HL 7050 HL 2070N 2150N 2170W Esc l0H Paper Eject Esc l1H Primary Tray Feed er1 Upper Cassette Tray1 Esc l2H Manual Feed Esc l3H Envelope Feed from Manual Feed Esc l4H Secondary Tray Feed er2 Lower Cassette Tray2 MP Tray Esc l5H Optional Tray Lower Cassette Tray2 Esc l6H Tray2 MP Tray Tra y2 MP Tra y Tra y2 Esc l7H Automatic Selection Esc l8H Optional Tray Tr...

Page 384: ...070N 2150N 2170W Esc l102H Tray ID 3 Tray ID 3 Esc l103H Tray ID 4 Tray ID 4 Esc l1001H Fixed Tray Esc l1002H Auto Selection PCL5 5e Tray If PJL TRAYCOMMAND is SPECIAL continued COMMAND HL 4040CN HL 4050CDN 4070CDW HL 5340D 5350DN 5 370DW 5380DN HL 3070CW Esc l0H Paper Eject Esc l1H Primary Tray Tray1 Tray1 Tray1 Tray1 Esc l2H Manual Feed Esc l3H Envelope Feed from Manual Feed Feed from Manual Fee...

Page 385: ... HL 5340D 5350DN 5 370DW 5380DN HL 3070CW Esc l6H MP Tray MP Tray MP Tray Esc l7H Automatic Selection Esc l8H Optional Tray Tray3 Esc l9H Optional Tray Esc l100H Tray ID 1 Esc l101H Tray ID 2 Esc l102H Tray ID 3 Esc l103H Tray ID 4 Esc l1001H Fixed Tray Esc l1002H Auto Selection ...

Page 386: ...050 6050D 6050DN HL 5240 50DN 70DN 80DW HL 8050N HL 3260N HL 2460 HL 7050 HL 2070N 2150N 2170W Esc n Media type selection Esc k G Line Termination Esc s C End of Line Wrap EscY Display Function ON EscZ Display Function OFF Esc l0S Simplex Esc l1S Duplex Long Edge Binding Esc l2S Duplex Short Edge Binding Esc l U Long edge Offset Esc l Z Short edge Offset Esc l X Copy Volume 1 32767 Esc l T Job Sep...

Page 387: ...70DN HL 6050 6050D 6050DN HL 5240 50DN 70DN 80DW HL 8050N HL 3260N HL 2460 HL 7050 HL 2070N 2150N 2170W Escz Self test Esc 12345X UEL Esc u D Unit of Measure Esc a L Left Margin Esc a M Right Margin Esc9 Clear Side Margin Esc l E Top Margin Esc l C Line Pitch Esc k H Character Pitch Esc l D Line Spacing Esc l F Text Length Esc l P Page Length Esc l L Perforation Skip Esc a R Vertical Position line...

Page 388: ...L 8050N HL 3260N HL 2460 HL 7050 HL 2070N 2150N 2170W Esc a V Vertical Position decipoint Esc a C Horizontal Position column Esc a H Horizontal Position decipoint Esc p X Horizontal Position dot Esc f0S Push Cursor Position Esc f1S Pop Cursor Position Esc Half line Feed Esc l O Print Orientation 0 1 2 3 Esc a G Paper Side Selection EscCR H Scalable Font Ratio Horizontal EscCR V Scalable Font Ratio...

Page 389: ...0DN 80DW HL 8050N HL 3260N HL 2460 HL 7050 HL 2070N 2150N 2170W SO Secondary Font Select SI Primary Font Select Esc c R Symbol Set ID Set Esc f W Define Symbol Set Esc c S Symbol Set Control Esc symbol ID Selecting the Symbol Set Esc s C Esc s C Character Set Esc s P Esc s P Fixed Pitch or PS Esc s H Esc s H Character Pitch Selection Esc k S Character Pitch Selection Esc s V Esc s V Point Size Esc...

Page 390: ...W HL 8050N HL 3260N HL 2460 HL 7050 HL 2070N 2150N 2170W Esc s T Esc s T Typeface Esc p X Transparent Print Esc d D Esc d Auto Underline Esc c D Download Font Font ID Set Esc c F Download Font Control 0 6 0 6 1026 1028 1029 Esc X Set to Primary Font Esc X Set to Secondary Font Esc Font Default Setting Primary Esc Font Default Setting Secondary Esc s W Download Font Header Esc c E Character Code Se...

Page 391: ...L 3260N HL 2460 HL 7050 HL 2070N 2150N 2170W Esc v O Select Pattern Transparency Mode Esc c G Pattern ID Setting Esc c W Define Pattern Esc p R Set Pattern Reference Point Esc c Q User defined Pattern Control Esc v T Select Pattern 0 4 130 258 Esc c A Pattern Horizontal Size dot Esc c H Pattern Horizontal Size decipoint Esc c B Pattern Vertical Size dot Esc c V Pattern Vertical Size decipoint Esc ...

Page 392: ... 3260N HL 2460 HL 7050 HL 2070N 2150N 2170W Esc r F Raster Graphics Presentation Esc r T Raster Height Esc r S Raster Width Esc b Y Raster Y Offset Esc b M Set Compression Mode 0 1 2 3 5 9 1024 1027 1028 1152 0 1 2 3 5 9 1027 1028 1152 0 1 2 3 5 9 1024 1027 1152 0 1 2 3 5 9 1024 1025 1026 1027 1152 2048 2049 0 1 2 3 5 9 1024 1025 1026 1027 1152 Esc r A Begin Raster Graphics Esc b W Transfer Data E...

Page 393: ...50DN 70DN 80DW HL 8050N HL 3260N HL 2460 HL 7050 HL 2070N 2150N 2170W Esc B Enter HP GL 2 Mode Esc c0T Set Picture Frame Anchor Point Esc c Y Picture Frame Vertical size Esc c X Picture Frame Horizontal size Esc c L HP GL2 Plot Vertical Size Esc c K HP GL2 Plot Horizontal Size Esc f0X Start Macro Definition Esc f1X End Macro Definition Esc f2X Execute Macro Esc f3X Call Macro Esc f4X Macro Overlay...

Page 394: ...50N HL 3260N HL 2460 HL 7050 HL 2070N 2150N 2170W Esc f7X Delete Temporary Macro Esc f8X Delete Current Macro Esc f9X Make Temporary Macro Esc f10X Make Permanent Macro Esc f1030X Delete All Macro from Card Esc f1036X Delete Current Macro from Card Esc f1038X Save Current Macro into Card Esc s T Set Status Readback Location Type Esc s U Set Status Readback Location Unit Esc s l Inquire Status Read...

Page 395: ...Media type selection Esc k G Line Termination Esc s C End of Line Wrap EscY Display Function ON EscZ Display Function OFF Esc l0S Simplex Esc l1S Duplex Long Edge Binding Esc l2S Duplex Short Edge Binding Esc l U Long edge Offset Esc l Z Short edge Offset Esc l X Copy Volume 1 999 1 999 1 32767 1 999 Esc l T Job Separation EscE Printer Reset ...

Page 396: ...scCR R User Reset Escz Self test Esc 12345X UEL Esc u D Unit of Measure Esc a L Left Margin Esc a M Right Margin Esc9 Clear Side Margin Esc l E Top Margin Esc l C Line Pitch Esc k H Character Pitch Esc l D Line Spacing Esc l F Text Length Esc l P Page Length Esc l L Perforation Skip Esc a R Vertical Position line ...

Page 397: ...tical Position decipoint Esc a C Horizontal Position column Esc a H Horizontal Position decipoint Esc p X Horizontal Position dot Esc f0S Push Cursor Position Esc f1S Pop Cursor Position Esc Half line Feed Esc l O Print Orientation 0 1 2 3 Esc a G Paper Side Selection EscCR H Scalable Font Ratio Horizontal EscCR V Scalable Font Ratio Vertical ...

Page 398: ...sc a P Print Direction Esc 3 Esc 3 SO Secondary Font Select SI Primary Font Select Esc c R Symbol Set ID Set Esc f W Define Symbol Set Esc c S Symbol Set Control Esc symbol ID Selecting the Symbol Set Esc s C Esc s C Character Set Esc s P Esc s P Fixed Pitch or PS Esc s H Esc s H Character Pitch Selection Esc k S Character Pitch Selection ...

Page 399: ...s V Esc s V Point Size Esc s S Esc s S Italics or Upright Esc s B Esc s B Stroke Weight Esc s T Esc s T Typeface Esc p X Transparent Print Esc d D Esc d Auto Underline Esc c D Download Font Font ID Set Esc c F Download Font Control 0 6 0 6 0 6 1026 1028 1029 0 6 Esc X Set to Primary Font Esc X Set to Secondary Font ...

Page 400: ...g Secondary Esc s W Download Font Header Esc c E Character Code Set Esc s W Download Character Esc v N Select Source Transparency Mode Esc v O Select Pattern Transparency Mode Esc c G Pattern ID Setting Esc c W Define Pattern Esc p R Set Pattern Reference Point Esc c Q User defined Pattern Control Esc v T Select Pattern 0 4 130 258 0 4 130 258 0 4 130 258 0 4 130 258 ...

Page 401: ...e decipoint Esc c B Pattern Vertical Size dot Esc c V Pattern Vertical Size decipoint Esc c P Print Pattern 0 5 130 258 0 5 130 258 0 5 130 258 0 5 130 258 Esc t R Resolution Setting 75 100 150 200 300 600 75 100 150 200 300 600 75 100 150 200 300 600 75 100 150 200 300 600 Esc r F Raster Graphics Presentation Esc r T Raster Height Esc r S Raster Width Esc b Y Raster Y Offset ...

Page 402: ... 5 9 1024 1025 1026 1027 1152 2048 2049 0 1 2 3 5 9 1024 1025 1026 1027 1152 0 1 2 3 5 9 1024 1025 1026 1027 1152 2048 2049 Esc r A Begin Raster Graphics Esc b W Transfer Data Esc b C Compression Transfer Esc rB End Raster Graphics Esc rC End Raster Graphics Esc B Enter HP GL 2 Mode Esc c0T Set Picture Frame Anchor Point Esc c Y Picture Frame Vertical size Esc c X Picture Frame Horizontal size ...

Page 403: ...L2 Plot Horizontal Size Esc f0X Start Macro Definition Esc f1X End Macro Definition Esc f2X Execute Macro Esc f3X Call Macro Esc f4X Macro Overlay ON Esc f5X Macro Overlay OFF Esc f6X Delete All Macros Esc f7X Delete Temporary Macro Esc f8X Delete Current Macro Esc f9X Make Temporary Macro Esc f10X Make Permanent Macro Esc f1030X Delete All Macro from Card ...

Page 404: ...DN 70DN 80DW HL 3070CW Esc f1036X Delete Current Macro from Card Esc f1038X Save Current Macro into Card Esc s T Set Status Readback Location Type Esc s U Set Status Readback Location Unit Esc s l Inquire Status Readback Entity Esc s1M Free Memory Space Esc r F Flush All Pages Esc s X Echo ...

Page 405: ...050CDN 4070CDW HL 5340D 50DN 7 0DW 80DN Esc s129T Anelia Esc s128T Brougham Esc s130T Letter Gothic Esc s104T OCR A Esc s110T OCR B Esc s152T Helsinki Esc s153T Tennessee Esc s154T Helsinki Narrow Esc s155T Atlanta Esc s156T Brussels Esc s157T Copenhagen Esc s158T Portugal Esc s159T Calgary Esc s4101T PC Tennessee Esc s4143T PC Brussels Esc s4148T Utah Esc s4362T Alaska Esc s4168T Antique Oakland ...

Page 406: ...050 HL 2070N 2150N 2170W HL 4040CN 4050CDN 4070CDW HL 5340D 50DN 7 0DW 80DN Esc s16686T BR Symbol Esc s16602T Helsinki Esc s16901T Tennessee Esc s31402T W Dingbats ESC s134T Bermuda Script ESC s132T Germany ESC s133T San Diego ESC s135T US Roman Typeface Selection PCL continued COMMAND TYPEFACE HL 3070CW Esc s129T Anelia Esc s128T Brougham Esc s130T Letter Gothic Esc s104T OCR A Esc s110T OCR B Es...

Page 407: ...8T Utah Esc s4362T Alaska Esc s4168T Antique Oakland Esc s4099T Brougham Esc s4140T Cleveland Condensed Esc s4116T Connecticut Esc s4197T Guatemala Esc s4102T Letter Gothic Esc s4297T Maryland Esc s4113T Oklahoma Esc s16686T BR Symbol Esc s16602T Helsinki Esc s16901T Tennessee Esc s31402T W Dingbats ESC s134T Bermuda Script ESC s132T Germany ESC s133T San Diego ESC s135T US Roman ...

Page 408: ...2400Ce 3400CN 1650 1670N 3260N 2460 7050 1850 1870N 5050 5070N 5150D 5170DN 2600CN 3450CN 6050 6050D 6050DN 8050N 2700CN 2070N 5240 5250DN 5270DN 5280DW 4040CN 4050CDN 4070CDW 2150N 2170W 5340D 5350DN 5370DW 5380DN 3070CW DF IN IP IR SC IW RO PU PD PA PR AA AR AT RT PE CI BR BZ PM EA ER EP EW RA RR WG FP AC FT LA LT ...

Page 409: ...Ce 3400CN 1650 1670N 3260N 2460 7050 1850 1870N 5050 5070N 5150D 5170DN 2600CN 3450CN 6050 6050D 6050DN 8050N 2700CN 2070N 5240 5250DN 5270DN 5280DW 4040CN 4050CDN 4070CDW 2150N 2170W 5340D 5350DN 5370DW 5380DN 3070CW PW RF SM SP SV TR UL WU SD AD SS SA FI FN LB DT LO DI DR DV CP CF SI SR SL SB ES TD CO PG RP NP ...

Page 410: ...50 1870N 5050 5070N 5150D 5170DN 2600CN 3450CN 6050 6050D 6050DN 8050N 2700CN 2070N 5240 5250DN 5270DN 5280DW 5340 D 5350DN 5370DW 5380DN SP BS CR LF FF Esc SP n Esc a n Esc n1 n2 Esc n1 n2 Esc Esc Esc Esc Esc CR R Esc EM n Esc C n Esc C NUL n Esc l n Esc Q n Esc N n Esc O Esc 2 Esc 0 Esc 1 Esc A n Esc 3 n Esc J n Esc j n Esc D n1 n2 n3 NUL HT Esc B n1 n2 n3 NUL ...

Page 411: ...50 5070N 5150D 5170DN 2600CN 3450CN 6050 6050D 6050DN 8050N 2700CN 2070N 5240 5250DN 5270DN 5280DW 5340 D 5350DN 5370DW 5380DN Esc b n m1 m2 m3 NUL Esc n VT Esc P Esc M Esc p n SI Esc SI DC2 Esc E Esc F Esc G Esc H Esc W n SO Esc SO DC4 Esc 4 Esc 5 Esc S n Esc T Esc w n Esc n Esc n Esc 6 Esc 7 Esc l n Esc R n Esc t n Esc NUL n1 n2 Esc n NUL Esc 000 Esc m n1 n2 ...

Page 412: ... 1470N P2500 1660e 2060 2400C 2400Ce 3400CN 1650 1670N 3260N 2460 7050 1850 1870N 5050 5070N 5150D 5170DN 2600CN 3450CN 6050 6050D 6050DN 8050N 2700CN 2070N 5240 5250DN 5270DN 5280DW 5340 D 5350DN 5370DW 5380DN Esc n m Esc a n1 n2 Esc K n1 n2 Esc L n1 n2 Esc Y n1 n2 Esc Z n1 n2 ...

Page 413: ...050 1850 1870N 5050 5070N 5150D 5170DN 2600CN 3450CN 6050 6050D 6050DN 8050N 2700CN 2070N 5240 5250DN 5270DN 5280DW 5340D 5350DN 5370DW 5380DN ESC SP BS CR LF FF Esc 5 n DC1 Esc Q 22 Esc Q 3 Esc CR R Esc EM n Esc C n Esc C NUL n Esc X m n Esc N n Esc O Esc 0 Esc 1 Esc A n Esc 2 Esc 3 n Esc J n Esc D n1 n2 n3 NUL Esc B n1 n2 n3 NUL HT VT Esc R Esc 7 Esc 6 DC2 Esc ...

Page 414: ...0N 3260N 2460 7050 1850 1870N 5050 5070N 5150D 5170DN 2600CN 3450CN 6050 6050D 6050DN 8050N 2700CN 2070N 5240 5250DN 5270DN 5280DW 5340D 5350DN 5370DW 5380DN Esc P n SI Esc E Esc F SO DC4 CAN Esc W n Esc S n Esc T Esc n Esc _ n Esc n1n2n3n4n5n6 Esc n1 n2 Esc Esc I n Esc n1 n2 20 n3 Esc K n1 n2 Esc L n1 n2 Esc Y n1 n2 Esc Z n1 n2 ...

Page 415: ... 5050 5070N 5150D 5170DN 2600CN 3450CN 6050 6050D 6050DN 8050N 2700CN 2070N 5240 5250DN 5270DN 5280DW 4040CN 4050CDN 4070CDW 2150N 2170W 5340D 5350DN 5370DW 5380DN 3070CW CODE 39 Interleaved 2 of 5 FIM US Post Net Post Net EAN8 EAN13 UPC A UPC E Codabar UPS Code128 set A UPS Code128 set B UPS Code128 set C ISBN EAN ISBN UPC E EAN128 set A EAN 128 set B EAN 128 set C ...

Page 416: ...0e 2060 HL 2400C Ce 2600CN HL 2700CN HL 3400CN 3450CN HL 1650 1670N HL 1850 1870N HL 5040 5050 5070N HL 5140 5150D 5170DN HL 6050 6050D 6050DN HL 5240 50DN 70DN 80DW HL 8050N HL 3260N HL 2460 HL 7050 HL 2070N 2150N 2170W DF IN IP SC IW RO PG PU PD PA PR AA AR CI EA ER EW RA RR WG FT LT PW SM SP TL XT YT PT ...

Page 417: ...e 2060 HL 2400C Ce 2600CN HL 2700CN HL 3400CN 3450CN HL 1650 1670N HL 1850 1870N HL 5040 5050 5070N HL 5140 5150D 5170DN HL 6050 6050D 6050DN HL 5240 50DN 70DN 80DW HL 8050N HL 3260N HL 2460 HL 7050 HL 2070N 2150N 2170W CS CA SS SA DT LB DI DR CP SI SR SL UC DC DP EX IM QA QC QD QE QF QH QI QQ QP QS QW ...

Page 418: ...HL 4050CDN HL 4070CDW HL 2140 HL 2150N HL 2170W HL 5340D HL 5350DN HL 5370DW HL 5380DN HL 3040CN and HL 3070CW Other our printers does not support PJL COMMAND HL 1050 HL 1250 1450 HL 1070 HL 1270N 1470N HL P2500 HL 1660e 2060 HL 2400C Ce 2600CN HL 2700CN HL 3400CN 3450CN HL 1650 1670N HL 1850 1870N HL 5040 5050 5070N HL 5140 5150D 5170DN HL 6050 6050D 6050DN HL 5240 50DN 70DN 80DW HL 8050N HL 3260...

Page 419: ...0N PJL JOB NAME job name START first page END last page PASSWORD password CR LF NAME job name START first page END last page PASSWORD password CR LF PJL EOJ NAME job name CR LF PJL DEFAULT LPARM personality variable value CR LF PJL INITIALIZE CR LF PJL RESET CR LF PJL SET LPARM personality variable value CR LF PJL INQUIRE LPARM personality variable CR LF PJL DINQUIRE LPARM personality variable CR ...

Page 420: ...7050 HL 2070N PJL INFO MEMORY CR LF PJL INFO STATUS CR LF PJL INFO VARIABLES CR LF PJL INFO USTATUS CR LF DEVICE JOB PAGE TIMED PJL INFO PAGECOUNT CR LF PJL INFO PHYSICALMEMORY CR LF PJL INFO FEATURES CR LF PJL INFO DRUMLIFE CR LF PJL USTATUS variable value CR LF DEVICE JOB PAGE TIMED PJL USTATUSOFF CR LF PJL RDYMSG DISPLAY message CR LF PJL OPMSG DISPLAY message CR LF PJL STMSG DISPLAY message CR...

Page 421: ...CN HL 3070CW Esc 123245X PJL ENTER LANGUAGE personality PCL PCLXL EPSON IBM POSTSCRIPT HPGL PJL EXECUTE operation SHUTDOWN DEMOPAGE RESIFONT PERMFONT TESTPRINT PRTCONFIG PJL COMMENT remarks CR LF PJL JOB NAME job name START first page END last page PASSWORD password CR LF PJL EOJ NAME job name CR LF PJL DEFAULT LPARM personality variable value CR LF ...

Page 422: ...sonality variable value CR LF PJL INQUIRE LPARM personality variable CR LF PJL DINQUIRE LPARM personality variable CR LF PJL ECHO words CR LF PJL INFO ID CR LF PJL INFO CONFIG CR LF PJL INFO MEMORY CR LF PJL INFO STATUS CR LF PJL INFO VARIABLES CR LF PJL INFO USTATUS CR LF DEVICE JOB PAGE TIMED DEVICE JOB PAGE TIMED DEVICE JOB PAGE TIMED DEVICE JOB PAGE TIMED DEVICE JOB PAGE TIMED DEVICE JOB PAGE ...

Page 423: ...T CR LF PJL INFO PHYSICALMEMORY CR LF PJL INFO FEATURES CR LF PJL INFO DRUMLIFE CR LF PJL USTATUS variable value CR LF DEVICE JOB PAGE TIMED DEVICE JOB PAGE TIMED DEVICE JOB PAGE TIMED DEVICE JOB PAGE TIMED DEVICE JOB PAGE TIMED DEVICE JOB PAGE TIMED PJL USTATUSOFF CR LF PJL RDYMSG DISPLAY message CR LF PJL OPMSG DISPLAY message CR LF PJL STMSG DISPLAY message CR LF ...

Page 424: ...00CN HL 3400CN 3450CN HL 1660e HL 2060 HL 1650 1670N HL 1850 1870N HL 5040 5050 5070N HL 5140 5150D 5170DN HL 6050 6050D 6050DN HL 5240 50DN 70DN 80DW HL 8050N HL 3260N HL 2460 HL 7050 HL 2070N COPIES 1 200 1 999 PAPER LETTER LEGAL A4 B5 EXECUTIVE DL COM10 MONARCH C5 JISB5 A5 B6 A6 A4LONG ANY DLL POSTCARD ORGANIZERJ ORGANIZERK ORGANIZERL ORGANIZERM FOLIO USERDEF LEDGER A3 JISB4 A3PLUS ...

Page 425: ...EXECUTIVES B5S ORIENTATION PORTRAIT LANDSCAPE FORMLINES 5 128 MANUALFEED ON OFF RET LIGHT MEDIUM DARK OFF LIGHT MEDIUM DARK OFF PAGEPROTECT AUTO OFF LETTER LEGAL A4 RESOLUTION 300 600 300 600 HQ1200 300 600 300 600 HQ1200 300 600 1200 300 600 HQ1 200 1200 300 600 HQ1 200 300 600 300 600 HQ1 200 300 600 1200 300 600 HQ1 200 PERSONALITY AUTO PCL IBM EPSON POSTSCRIPT HPGL TIMEOUT 1 99 INTRAY1 LOCKED ...

Page 426: ...N HL 1660e HL 2060 HL 1650 1670N HL 1850 1870N HL 5040 5050 5070N HL 5140 5150D 5170DN HL 6050 6050D 6050DN HL 5240 50DN 70DN 80DW HL 8050N HL 3260N HL 2460 HL 7050 HL 2070N INTRAY1SIZE LETTER LEGAL A4 EXECUTIVE JISB5 B5 A5 B6 A6 COM10 DL MONARCH C5 A4LONG ANY CUSTOM A3 LEDGER JISB4 A3PLUS LTRS A4S EXECUTIVES B5S FOLIO POSTCARD ORGANIZERJ ORGANIZERK ORGANIZERL ORGANIZERM ...

Page 427: ...HL 1650 1670N HL 1850 1870N HL 5040 5050 5070N HL 5140 5150D 5170DN HL 6050 6050D 6050DN HL 5240 50DN 70DN 80DW HL 8050N HL 3260N HL 2460 HL 7050 HL 2070N USERDEFINED DLL NOCASSETTE INTRAY2SIZE A4LETTER B5EXECUTIVE ENVELOPES LEGAL A5 B6 A6 A4 A4LONG LETTER JISB5 B5 EXECUTIVE FOLIO POSTCARD NOCASSETTE INTRAY3SIZE INTRAY4SIZE INTRAY5SIZE SOURCETRAY AUTO MPTRAY TRAY1 TRAY2 TRAY3 TRAY4 TRAYID1 ...

Page 428: ...050DN HL 5240 50DN 70DN 80DW HL 8050N HL 3260N HL 2460 HL 7050 HL 2070N TRAYID2 TRAYID3 TRAYID4 ECONOMODE OFF ON ECONOLEVEL 0 3 0 3 XOFFSET 500 500 104 500 500 500 YOFFSET 500 500 TIMEOUTEMU 1 99 1 99 PRIORITY EPSON IBM EPSON IBM AUTOFF ON OFF TIMEOUTFF 1 99 CDCCHIGH ON OFF DTRCTRL 0 3 0 3 XOFFTIMINGSEL 0 1 2 3 AUTOSLEEP ON OFF ON OFF TIMEOUTSLEEP 1 99 1 240 IBMCHARE1 BETA ESSZET LANG ENGLISH FREN...

Page 429: ...HL 5240 50DN 70DN 80DW HL 8050N HL 3260N HL 2460 HL 7050 HL 2070N CANADA USA JAPANESE POLISH KEEPPCL ON OFF ON OFF DOUBLESTRIKE ON OFF ON OFF DUPLEX ON OFF BINDING LONGEDGE SHORTEDGE FIRSTPRINT NORMAL MIDDLE HIGH DENSITY 1 15 6 6 2 2 6 6 CPLOCK ON OFF PASSWORD 0 65535 MPTRAY CASSETTE FIRST MEDIATYPE REGULAR THICK THICK2 TRANSPARENCY THIN BOND ENVELOPES ENVTHICK ENVTHIN RECYCLED 2 This option is av...

Page 430: ... HL 4040CN HL 4050CDN 4070CDW HL 2140 2150N 2170W HL 5340D 5350DN 5370DW 5380D N HL 3040CN HL 3070CW COPIES 1 999 1 999 1 999 1 999 1 999 1 999 PAPER LETTER LEGAL A4 B5 EXECUTIVE DL COM10 MONARCH C5 JISB5 A5 B6 JIS B6 A6 A4LONG DLL POSTCARD ORGANIZERJ ORGANIZERK ORGANIZERL ORGANIZERM FOLIO P3X5 ENVYOU4 ENVCHOU3 A5L A3 ...

Page 431: ... PORTRAIT LANDSCAP E PORTRAIT LANDSCAP E PORTRAIT LANDSCAP E PORTRAIT LANDSCAP E PORTRAIT LANDSCAP E FORMLINES 5 128 5 128 5 128 onlyHL 2150N 2170 W 5 128 5 128 MANUALFEED ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF RET PAGEPROTECT AUTO OFF LETTER LEGAL A4 AUTO OFF LETTER LEGAL A4 RESOLUTION 300 600 HQ1200 300 600 HQ1200 1200 PERSONALITY AUTO PCL onlyHL 2150N 2170W IBM EPSON POSTSCRIPT HPGL TIMEOUTE...

Page 432: ... OFF ON OFF ON OFF ON OFF ON OFF ON OFF LOWTONER INTRAY1 LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED INTRAY2 LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED LOCKED UNLOCKED INTRAY3 LOCKED UNLOCKED LOCKED UNLOCKED INTRAY4 LOCKED UNLOCKED INTRAY5 INTRAY1SIZE ANY LETTER LEGAL A4 B5 EXECUTIVE DL COM10 MONARCH C5 JISB5 A5 B6 JIS B6 A6 A4LONG DLL POSTCARD ...

Page 433: ...070CDW HL 2140 2150N 2170W HL 5340D 5350DN 5370DW 5380D N HL 3040CN HL 3070CW ORGANIZERJ ORGANIZERK ORGANIZERL ORGANIZERM FOLIO P3X5 ENVYOU4 ENVCHOU3 A5L USERDEF NOCASSETTE INTRAY2SIZE ANY LETTER LEGAL A4 B5 EXECUTIVE JISB5 A5 B6 JIS B6 A6 FOLIO POSTCARD A5L NOCASSETTE INTRAY3SIZE ANY LETTER LEGAL ...

Page 434: ...CN HL 3070CW A4 B5 EXECUTIVE JISB5 A5 B6 FOLIO NOCASSETTE INTRAY4SIZE INTRAY5SIZE SOURCETRAY AUTO MPTRAY TRAY1 TRAY2 TRAY3 TRAY4 XOFFSET 500 500 500 500 500 500 500 500 500 500 YOFFSET 50 500 50 500 500 500 500 500 50 500 DUPLEX ON OFF ON OFF BINDING LONGEDGE SHORTEDGE LONGEDGE SHORTEDGE FIRSTPRINT DENSITY 6 6 6 6 LANG ENGLISH FRENCH GERMAN DUTCH SPANISH ITALIAN ...

Page 435: ...KISH JAPANESE CPLOCK ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF PASSWORD 0 65535 0 65535 0 65535 0 65535 0 65535 0 65535 ECONOMODE OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON ECONOLEVEL MPTRAY CASSETTE FIRST CASSETTE FIRST CASSETTE FIRST TIMEOUT 1 99 1 99 1 99 1 99 1 99 1 99 AUTOFF ON OFF ON OFF ON OFF ON OFF ON OFF TIMEOUTFF 1 99 1 99 1 99 1 99 1 99 AUTOSLEEP ON OFF ON OFF ON OFF ON OFF ON OFF ON OF...

Page 436: ...F JOB OFF JOB OFF ON JOB OFF ON JOB OFF JOB OFF JOB PRIORITY EPSON IBM IBMCHARE1 BETA ESSZET KEEPPCL ON OFF ON OFF ON OFF DOUBLESTRIKE ON OFF ON OFF COLLATE HOLD OFF STORE OFF STORE OFF STORE Only HL 5380DN OFF STORE OFF STORE HOLDTYPE HOLDKEY 0000 9999 0000 9999 0000 9999 Only HL 5380DN 0000 9999 0000 9999 TIMESETYEAR TIMESETMONTH TIMESETDAY TIMESETHOUR TIMESETMIN TIMESETSEC TIMESTYLE YMD MDY DMY...

Page 437: ...L E AUTOCOLO R COLOR GRAYSCALE AUTOCOLO R COLOR GRAYSCALE AUTOCOLO R COLOR GRAYSCALE AUTOCOLO R APTMODE OFF ON ON4 B8 B8H OFF ON ON4 B8 B8H OFF ON ON4 B8 B8H OFF ON ON4 B8 B8H COLORADAPT OFF ON OFF ON OFF ON OFF ON STRINGCODESET HPROMAN8 ISO88592 ISO88595 HPROMAN8 ISO88592 ISO88595 HPROMAN8 ISO88592 ISO88595 JISX0201197 6 HPROMAN8 ISO88592 ISO88595 JISX0201197 6 HPROMAN8 ISO88592 ISO88595 HPROMAN8...

Page 438: ...9 75 4 00 4 25 999 75 LEFTMARGIN 0 145columns 0 126 columns 0 145 columns 0 145 columns 0 126 columns 0 126 columns RIGHTMARGIN 10 155 columns 10 136 columns 10 155 columns 10 155 columns 10 136 columns 10 136 columns TOPMARGIN 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 0 0 33 0 5 1 0 1 5 2 0 inch BOTM...

Page 439: ... 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 PC850 PC852 PC8TK PC1004 WINL1 WINL2 WINL5 WINBALT DESKTOP PSTEXT VNINTL VNU...

Page 440: ...MLINES 5 128 AUTOLF ON OFF AUTOCR ON OFF AUTOWRAP ON OFF AUTOSKIP ON OFF SYMSET 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 ROMAN8 ISOL1 ISOL2 ISOL5 ISOL6 PC775 ABIBP ABIINTL RUSSIAN UKRAINI...

Page 441: ...SERRS ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ORIENTATION PORTRAIT LANDSCAPE PORTRAIT LANDSCAPE PORTRAIT LANDSCAPE PORTRAIT LANDSCAPE PORTRAIT LANDSCAPE PORTRAIT LANDSCAPE PORTRAIT LANDSCAPE CRLFCONV ON OFF APPLETALKPS ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF PostScript Specific Variables continued POSTSCRIPT SPECIFIC VARIABLES HL 4050CDN 4070CDW HL 5340D 5350DN 5370D W 5380DN HL ...

Page 442: ...5 2 0 inch FORMLINES 5 128 5 128 5 128 5 128 FONTNUMBER 0 1 2 n 0 1 2 n 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 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 SYMSET USASCII GERMAN UKASCI1 FRENCH1 DANISH1 ITALY SPANISH SWEDISH JAPAN NORWEG DANISH2 UKASCI2 FRENCH2 DUTCH SAFRICA PC8 PC8DN PC850 PC852 PC860 PC863 PC86...

Page 443: ...N 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 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 FORMLINES 5 128 5 128 5 128 5 128 FONTNUMBER 0 1 2 n 0 1 2 n 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 PTSIZE ...

Page 444: ...CMCIA CARD COMMANDS 1 APPENDIX B FLASH PCMCIA CARD COMMANDS For HL 1270N 1470N 1660e 2060 2400C 2400Ce 3400CN 1650 1670N 2460 3260N 7050 1850 1870N 5070N 5170DN 2600CN 3450CN 6050 6050D 6050DN 8050N 2700CN 5270DN 5280DW 5380DN Only ...

Page 445: ...ata 8 3 4 1 Save data 8 3 4 2 Execute data 8 3 5 Font 9 3 5 1 Save 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 13...

Page 446: ...050N 2700CN 3 Internal flash memory HL 1270N 1470N 1650 1670N 1850 1870N 5070N 5170DN 6050 6050D 6050DN 5270DN 5280DW 5380DN 4 Internal HDD HL 2400Ce 3400CN 2460 3260N 7050 2600CN 3450CN 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 re...

Page 447: ...anual using the abbreviations as follows Abbreviation Device Type F Flash memory card HL 1660e 2060 2400C 2400Ce 3400CN 2600CN 3450CN A ATA flash memory card HL 1660e 2060 2400C 2400Ce 3400CN 2460 3260N 7050 2600CN 3450CN 6050 6050D 6050DN 8050N 2700CN H Internal IDE HDD HL 2400C 2400Ce 3400CN 2460 3260N 7050 2600CN 3450CN I Internal flash memory HL 1650 1670N 1270N 1470N 1850 1870N 5070N 5170DN 6...

Page 448: ...scribe each command in detail Command Physical Format ESC CR 12340F 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...

Page 449: ...260N 2600CN 3450CN 7050 43 CARD ERROR 43 HDD ERROR HL 1650 1670N 1850 1870N 5070N 5170DN 5270DN 5280DW 5380DN 43 SERVICE E74 HL 6050 6050D 6050DN 8050N 2700CN 43 CARD ERROR 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 450: ...e 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 DEVICE1 W ERROR 43 DEVICE2 W ERROR 43 DEVICE3 W ERROR HL...

Page 451: ...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 2600CN 3450CN 7050 43 CARD ERROR 43 HDD ERROR HL 1650 1670N 1850 1870N 5070N 5170DN 5270DN 5280DW 5380DN 43 SERVICE E74 HL 6050 6050D 6050DN 8050N 2700CN 43 CARD ERROR 3 4 2 Execute data Command ESC CR ...

Page 452: ...ERROR HL 1650 1670N 1850 1870N 5070N 5170DN 5270DN 5280DW 5380DN 43 SERVICE E74 HL 6050 6050D 6050DN 8050N 2700CN 43 CARD ERROR 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 453: ...E E74 HL 6050 6050D 6050DN 8050N 2700CN 43 CARD ERROR 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 454: ...wnload 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 2460 3260N 2600CN 3450CN 7050 43 CARD ERROR 43 HDD ERROR HL...

Page 455: ...ICE E74 HL 6050 6050D 6050DN 8050N 2700CN 43 CARD ERROR 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 456: ...0 1870N 5070N 5170DN 5270DN 5280DW 5380DN 43 SERVICE E74 HL 6050 6050D 6050DN 8050N 2700CN 43 CARD ERROR 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 devic...

Page 457: ...s 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 that de...

Page 458: ... 2 Slot 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 ...

Page 459: ...cros 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 For HL 6050 6050D 6050DN printers the priority for searching is as follows 1 Macro in printer memory 2 Macro in Card 3 Macro in Internal flash memory For HL 8...

Page 460: ...he priority for searching is as follows 1 Font in printer memory 2 Font in Card 1 3 Font in Card 2 4 Font 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 select command in PCL For HL 6050 6050D 6050DN printers the priority for searching is as follows 1 Font in printer memory 2 Font in Card...

Page 461: ...eate 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 7050 2600CN 3450...

Page 462: ...2009 06 29 APPENDIX C HBP MODE COMMANDS 1 APPENDIX C HBP MODE COMMANDS For HL 820 1020 1040 Only ...

Page 463: ... 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 464: ...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 465: ...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 466: ...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 467: ...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 468: ...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 469: ...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 470: ...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 471: ...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 472: ... 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 473: ...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 474: ...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 475: ...2009 06 29 APPENDIX C HBP MODE COMMANDS 14 ...

Page 476: ...2009 06 29 APPENDIX D REFERENCE LIST OF MX 2000 4000 5000 7000 SERIES UNIQUE COMMANDS 1 APPENDIX D REFERENCE LIST OF MX 2000 4000 5000 7000 SERIES UNIQUE COMMANDS ...

Page 477: ...ERAL 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 478: ...y installed onto the HL 2060 printer the MX 4000 series are optionally installed onto the HL 2460 printer MX 5000 series are optionally installed onto the HL 3260N printer and MX 7000 series are optionally installed onto the HL 7050 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 7000 Mailb...

Page 479: ...01 4100 and also consists of five bins The MX 2003 4300 7010 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 HL 7050 MX 7000 7005 7010 Function Description Stacker Printed paper is ejected into the multiple output bins behaving as a single high capacity tr...

Page 480: ...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 481: ...fective 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 OF...

Page 482: ... 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 7050 BROutbinMode setpagedevice Parameter 0 Select the printer fac...

Page 483: ...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 7050 BROutbinMode 0 setpagedevice ...

Page 484: ...umber 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 7050 Setting type Effective range MX not installed 0 Lower unit installed 0 1 5 Lower ...

Page 485: ...2009 06 29 APPENDIX D REFERENCE LIST OF MX 2000 4000 5000 7000 SERIES UNIQUE COMMANDS 10 ...

Page 486: ...2009 06 29 APPENDIX E REFERENCE LIST OF FS 5050 SERIES UNIQUE COMMANDS 1 APPENDIX E REFERENCE LIST OF FS 5050 UNIQUE COMMANDS ...

Page 487: ... 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 488: ...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 489: ... 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 490: ...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 491: ...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: