Command Reference Guide for Software Developers
Table Of Contents
- Technical Reference Guide
- TABLE OF CONTENTS
- GLOSSARY
- CHAPTER 1 INTRODUCTION
- CHAPTER 2 PCL PRINTER CONTROL LANGUAGE
- 1. COMMAND LIST
- 2. INTRODUCTION
- 3. CONTROLLING THE PRINTER
- 4. JOB CONTROL
- 4.1 . Commands
- 4.1.1. Page size
- 4.1.2. Media type selection
- 4.1.3. Output tray
- 4.1.4. Paper source
- 4.1.5. Left long-edge offset registration
- 4.1.6. Top offset registration
- 4.1.7. Simplex/duplex printing
- 4.1.8. Paper side selection
- 4.1.9. Job separation command
- 4.1.10. Reset
- 4.1.11. Reset to factory default settings
- 4.1.12. Reset to user settings
- 4.1.13. Printer self test
- 4.1.14. Exit current emulation mode
- 4.1.15. Change emulation mode
- 4.2. The Page
- 4.2.1. Physical page
- 4.2.2. Printable area
- 4.2.3. Logical page
- 4.2.4. Text area
- 4.2.5. HP-GL/2 graphics window
- 4.2.6. Portrait page dimensions
- 4.2.7. Landscape page dimensions
- 4.2.8. Coordinates
- 4.2.9. Units
- 4.2.10. Unit of measure
- 4.2.11. Setting the left and right margins
- 4.2.12. Resetting the horizontal margins
- 4.2.13. Setting the top margin
- 4.2.14. Setting the vertical motion index (VMI)
- 4.2.15. Setting the horizontal motion index (HMI)
- 4.2.16. Setting line spacing
- 4.2.17. Text length
- 4.2.18. Page length
- 4.2.19. Perforation skip
- 4.2.20. Positioning the cursor
- 4.2.21. Vertical positioning
- 4.2.22. Horizontal position
- 4.2.23. Positioning the cursor using control codes
- 4.2.24. Using the cursor position stack
- 4.2.25. Half line feed
- 4.2.26. Logical page orientation
- 4.2.27. Text direction
- 4.1 . Commands
- 5. USING FONTS
- 5.1. Introduction
- 5.1.1. Font types
- 5.1.2. Bitmap fonts
- 5.1.3. Scalable fonts
- 5.1.4. Bound fonts
- 5.1.5. Unbound fonts
- 5.1.6. Font sources
- 5.1.7. Internal fonts
- 5.1.8. Card/cartridge fonts
- 5.1.9. Downloadable fonts
- 5.1.10. Primary and secondary fonts
- 5.1.11. Specifying the primary font
- 5.1.12. Specifying the secondary font
- 5.1.13. Selecting the default fonts
- 5.1.14. Switching between the primary and secondary fonts
- 5.1.15. Criteria for font selection
- 5.1.16. Symbol set
- 5.1.17. Symbol collections
- 5.1.18. Type of character spacing
- 5.1.19. Pitch
- 5.1.20. Height
- 5.1.21. Style
- 5.1.22. Stroke weight
- 5.1.23. Typeface
- 5.2. Font Selection Commands
- 5.2.1. User-defined symbol sets
- 5.2.2. Symbol set ID code command
- 5.2.3. Define symbol set
- 5.2.4. Symbol set control command
- 5.2.5. Selecting the symbol set
- 5.2.6. Selecting the type of character spacing
- 5.2.7. Selecting the pitch
- 5.2.8. Selecting the height
- 5.2.9. Scaling the scalable fonts vertically or horizontally
- 5.2.10. Selecting the style
- 5.2.11. Selecting the stroke weight
- 5.2.12. Selecting the typeface
- 5.2.13. Font orientation
- 5.2.14. Transparent print data
- 5.2.15. Esc&d#D (27)(38)(100)#(68) <1Bh><26h><64h>#<44h>
- 5.3. Downloadable font manipulation
- 5.4. Creating Downloadable Fonts
- 5.1. Introduction
- 6. USING GRAPHICS
- 6.1. Source, Pattern and Destination
- 6.2. Plotting Rectangles
- 6.3. Raster Graphics
- 6.3.1. Positioning the cursor
- 6.3.2. Set raster resolution
- 6.3.3. Set high resolution control
- 6.3.4. Set raster image orientation
- 6.3.5. Set raster area height
- 6.3.6. Set raster area width
- 6.3.7. Set raster y-offset
- 6.3.8. Set compression mode
- 6.3.9. Start raster transfer
- 6.3.10. Send raster data
- 6.3.11. Compress transfer graphics
- 6.3.12. End raster transfer
- 6.3.13. Horizontal 1200-dpi image format mode (Raster Graphic Mode 1027)
- 6.4. Vector Graphics
- 6.5. The Picture Frame
- 7. MACROS
- 7.1. The Purpose of a Macro
- 7.2. Defining a Macro
- 7.3. Running a Macro
- 7.4. Handling Macros
- 7.4.1. Delete all macros
- 7.4.2. Delete all temporary macros
- 7.4.3. Delete macro
- 7.4.4. Make macro temporary
- 7.4.5. Make macro permanent
- 7.4.6. Delete all macros from the storage device
- 7.4.7. Delete macro from the storage device
- 7.4.8. Save macro into the storage device
- 7.4.9. Execute data
- 7.4.10. AppleTalk configuration
- 7.4.11. MIO video I/O port control
- 8. STATUS READBACK
- 8.1. Introduction
- 8.2. Memory Status request
- 8.3. Entity Status
- 8.4. Status Response
- 8.5. Status Response Syntax
- 8.5.1. Set status readback location type
- 8.5.2. Set status readback location unit
- 8.5.3. Inquire status readback entity
- 8.5.4. Entity status response
- 8.5.5. Font response
- 8.5.6. Bitmap fonts
- 8.5.7. Bound scalable fonts
- 8.5.8. Unbound scalable fonts
- 8.5.9. Download fonts
- 8.5.10. Location type 1 (currently selected) font
- 8.5.11. Font extended response
- 8.5.12. Macro response
- 8.5.13. Use-defined pattern response
- 8.5.14. Symbol set response
- 8.5.15. Entity error codes
- 8.5.16. Free space command
- 8.5.17. Font cache
- 8.5.18. Memory status response
- 8.5.19. Memory error response
- 8.5.20. Flush all pages command
- 8.5.21. Echo command
- 9. INDEX
- CHAPTER 3 PCL5C
- CHAPTER 4 HP-GL/2 GRAPHICS LANGUAGE
- CHAPTER 5 PJL PRINTER JOB LANGUAGE
- 1. INTRODUCTION
- 2. HOW TO USE PJL
- 3. COMMAND GROUP
- 4. KERNEL COMMANDS
- 5. JOB SEPARATION COMMANDS
- 6. ENVIRONMENT COMMANDS
- 7. STATUS READBACK COMMANDS
- 8. DEVICE ATTENDANCE COMMANDS
- 9. INDEX
- CHAPTER 6 EPSON FX-850
- CHAPTER 7 IBM PROPRINTER XL
- CHAPTER 8 BAR CODE CONTROL
- 1. INTRODUCTION
- 2. PRINT BAR CODES OR EXPANDED CHARACTERS
- 3. DEFINITION OF PARAMETERS
- 3.1. Bar Code Mode
- 3.2. Bar Code Style, Expanded Character Shading, Line Block Drawing & Box Drawing Shading
- 3.3. Bar Code Scaling (Width only)
- 3.4. Bar Code Human Readable Line On or Off
- 3.5. Quiet Zone
- 3.6. Bar Code, Expanded Character Unit, Line Block Drawing & Box Drawing Units
- 3.7. Bar Code, Expanded Character, Line, Block Drawing & Box Drawing Offset in the X-axis
- 3.8. Bar Code & Expanded Character Offset in the Y-axis
- 3.9. Bar Code, Expanded Character, Line, Block Drawing & Box Drawing Height
- 3.10. Expanded Character, Line Block Drawing & Box Drawing Width
- 3.11. Expanded Character Rotation
- 3.12. Bar Code Data Start
- 3.13. Box Drawing
- 3.14. Line Block Drawing
- 3.15. Expanded Character Data Start
- 3.16. Table of Code(EAN) 128 set C
- 4. EXAMPLE PROGRAM LISTINGS
- CHAPTER 9 HP-GL GRAPHICS LANGUAGE
- CHAPTER 10 CARBON COPY FUNCTION
- APPENDIX A COMPARISON LIST
- APPENDIX B FLASH/PCMCIA CARD COMMANDS
- APPENDIX C HBP MODE COMMANDS
- APPENDIX D REFERENCE LIST OF MX-2000/4000/5000/7000 SERIES UNIQUE COMMANDS
- APPENDIX E REFERENCE LIST OF FS-5050 UNIQUE COMMANDS
- APPENDIX F REFERENCE LIST OF SF- 4000 SERIES UNIQUE COMMANDS
CHAPTER 2 PCL - 20
When the printer receives this command any unprinted pages are printed and the left, right and top margins
and the text length are set to their factory defaults for the new page size.
The cursor is moved to the top left of the text 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 2700CN).
Example)
Select letter size: Esc&l2A <1Bh><26h><6Ch><32h><41h>
Select the width of free size paper: Esc&f#G (1/720 inch unit; for HL-3260N, 2460, 7050, 1850, 1870N,
5040, 5050, 5070N, 5140, 5150D, 5170DN, 2600CN, 3450CN, 2700CN, 2070N, 5240, 5250DN, 5270DN,
5280DW, 4040CN, 4050CDN,4070CDW, 2150N, 2170W, 5340D, 5350DN, 5370DW, 5380DN, 3070CW,
3075CW, 2250DN, 2270DW, 4140CN, 4150CDN, 4570CDW, 5440D, 5450DN, 5470DW, 6180DW,
3170CDW, L8250CDN, L8350CDW, L9200CDW, L9300CDW, L2360DN, L2360DW, L2365DW,
2560DN, 2569DW, S7000DN, L2370DN, L2371DN, L2372DN, 2590DN, B2050DN, L2370DW,
L2375DW, L2376DW, B2080DW, L2385DW, L2386DW, 2595DW, L3270CDW, L3230CDW,
L3230CDN, L3210CW, 3190CDW and3160CDW.)
Select the height of free size paper: Esc&f#F (1/720 inch unit; for HL-3260N, 2460, 7050, 1850, 1870N,
5040, 5050, 5070N, 5140, 5150D, 5170DN, 2600CN, 3450CN, 2700CN, 2070N, 5240, 5250DN, 5270DN,
5280DW, 4040CN, 4050CDN,4070CDW, 2150N, 2170W, 5340D, 5350DN, 5370DW , 5380DN, 3070CW,
3075CW, 2250DN, 2270DW, 4140CN, 4150CDN, 4570CDW, 5440D, 5450DN, 5470DW, 6180DW,
3170CDW, L8250CDN, L8350CDW, L9200CDW, L9300CDW, L2360DN, L2360DW, L2365DW,
2560DN, 2569DW, S7000DN, L2370DN, L2371DN, L2372DN, 2590DN, B2050DN, L2370DW,
L2375DW, L2376DW, B2080DW, L2385DW, L2386DW, 2595DW, L3270CDW, L3230CDW,
L3230CDN, L3210CW, 3190CDW and3160CDW.)
4.1.2. Media type selection
Esc&n# (27)(38)(110)# <1Bh><26h><6Eh>#
# stands for the media type of paper to be used.
Values for # correspond to the media type shown in the table.
HL-
2070N/5240/5250DN/5270
DN/5280DW/2150N/2170W
/5340D/5350DN/5370DW/5
380DN
HL-
4040CN/4050CDN/4070CD
W/3040CW/3045CN/2250
DN/2270DW/5440D/5450D
N/5470DW/6180DW
HL-
4140CN/4150CDN/4570CDW/3170
CDW/L8250CDN/L8350CDW/L920
0CDW/L9300CDW/L2360DN/L2360
DW/L2365DW/2560DN/2569DW
HL-S7000DN
HL-
L5000D/5580D/
L5100DN/L5200
DW/L6200DW/
L6300DW/L640
0DW
HL-
L8260CDN/L82
60CDW/L8360
CDW/L8360CD
WT/L9310CDW
HL-
L2370DN/L2371DN/L
2372DN/2590DN/B20
50DN/L2370DW/L23
75DW/L2376DW/B20
80DW/L2385DW/L23
86DW/2595DW
HL-
L3270CDW/L3230CD
W/L3230CDN/L3210
CW/3190CDW/3160
CDW
6WdPlain
8WdRegular
5WdThin
6WdLight
6WdThick
11WdMid Weight
6WdHeavy
12WdExtra Heavy
7WdThick2 Set as Thicker Paper.
5WdBond Set as Bond Paper.
13WdTransparency
Set as Transparent Paper.
10WdEnvelopes
9WdEnvelope
9WdEnvthick Set as Thick Envelope.
8WdEnvthin Set as Thin Envelope.
9WdRecycled Set as Recycled Paper.
9WdPostcard Set as Post Card.
6WdLabel
7WdLabels
7WdGlossy
6WdGloss
18WdHP Soft Gloss 120
12WdHeavy Gloss
18WdExtra Heavy Gloss
14WdHP Glossy 130
14WdHP Glossy 160
14WdHP Glossy 220
12WdCard Glossy
6WdColor Set as Color Paper
11WdLetterhead Set as Letterhead
12WdHolepunched
11WdPrepunched
11WdCard Stock
12WdHP Matte 90
13WdHP Matte 105
13WdHP Matte 120
13WdHP Matte 160
13WdHPCoverMatte
11WdPreprinted
9WdHP Tough
Set as Label.
Set as Glossy
Set as Holepunched
Paper.
Set as Plain Paper.
Model
Set as Plain Paper.
Set as Thin Paper.
Set as Thick Paper.
Set as Envelope.