Brother HL-1050 Technical Reference Manual

Brother HL-1050 Technical Reference Manual

Hide thumbs Also See for HL-1050:
Table of Contents

Advertisement

T
e
c
h
n
i
T
e
c
h
n
i
T
e
c
h
n
i
<
M
O
D
E
L
<
M
O
D
E
L
H
L
-
1
0
5
0
/
1
H
L
-
1
0
5
0
/
1
1
6
6
0
e
/
2
1
6
6
0
e
/
1
6
7
0
N
/
3
1
6
7
0
N
/
3
5
0
5
0
/
5
0
5
0
5
0
/
5
0
3
4
5
0
C
N
/
3
4
5
0
C
N
/
2
0
7
0
N
2
0
7
0
N
4
0
4
0
C
N
4
0
4
0
C
N
2
1
7
0
W
2
1
7
0
W
3
0
4
3
0
4
2
1
3
0
/
2
1
3
0
/
4
1
5
0
4
1
5
0
5
4
7
0
5
4
7
0
3
1
5
0
C
D
3
1
5
0
C
D
1
1
1
2
1
1
1
2
L
9
2
0
0
C
D
L
9
2
0
0
C
D
L
2
3
2
L
2
3
2
L
2
3
4
0
L
2
3
4
0
L
2
3
6
0
L
2
3
6
0
H
L
-
1
H
L
-
1
1
2
1
0
W
E
/
1
2
1
0
W
E
/
L
5
0
0
0
D
L
5
0
0
0
D
L
5
1
0
0
D
N
L
5
1
0
0
D
N
L
6
2
0
0
D
L
6
2
0
0
D
L
6
3
0
0
D
W
L
6
3
0
0
D
W
L
8
2
6
L
8
2
6
B
r
o
t
h
e
B
r
o
t
h
e
c
a
l
R
e
c
a
l
R
e
c
a
l
R
e
S
C
O
V
E
R
E
S
C
O
V
E
R
E
0
7
0
/
1
2
5
0
/
1
2
0
7
0
/
1
2
5
0
/
1
2
0
6
0
/
2
4
0
0
C
/
2
2
0
6
0
/
2
4
0
0
C
/
2
6
0
N
/
2
4
6
0
/
7
2
6
0
N
/
2
4
6
0
/
7
7
0
N
/
5
1
4
0
/
5
1
7
0
N
/
5
1
4
0
/
5
1
6
0
5
0
/
6
0
5
0
D
/
6
0
5
0
/
6
0
5
0
D
/
/
5
2
4
0
/
5
2
5
0
D
/
5
2
4
0
/
5
2
5
0
D
/
4
0
5
0
C
D
N
/
4
/
4
0
5
0
C
D
N
/
4
/
5
3
4
0
D
/
5
3
5
0
/
5
3
4
0
D
/
5
3
5
0
0
C
N
/
3
0
4
5
C
N
0
C
N
/
3
0
4
5
C
N
2
2
4
0
D
/
2
2
5
0
D
2
2
4
0
D
/
2
2
5
0
D
C
D
N
/
4
5
7
0
C
C
D
N
/
4
5
7
0
C
D
W
/
6
1
8
0
D
W
D
W
/
6
1
8
0
D
W
W
/
3
1
5
0
C
D
N
W
/
3
1
5
0
C
D
N
/
1
1
1
8
/
L
8
2
5
0
/
1
1
1
8
/
L
8
2
5
0
W
(
T
)
/
L
9
3
0
0
W
(
T
)
/
L
9
3
0
0
0
D
/
L
2
3
2
1
D
/
2
0
D
/
L
2
3
2
1
D
/
2
D
W
/
L
2
3
6
0
D
D
W
/
L
2
3
6
0
D
D
W
/
L
2
3
6
5
D
W
D
W
/
L
2
3
6
5
D
W
2
1
2
W
/
1
2
1
0
W
2
1
2
W
/
1
2
1
0
W
1
2
1
1
W
/
1
2
1
8
1
2
1
1
W
/
1
2
1
8
/
5
5
8
0
D
/
5
5
8
/
5
5
8
0
D
/
5
5
8
(
T
)
/
5
5
9
0
D
N
(
T
)
/
5
5
9
0
D
N
W
(
T
)
/
L
6
2
0
2
D
W
(
T
)
/
L
6
2
0
2
D
(
T
)
/
L
6
4
0
0
D
W
(
T
)
/
L
6
4
0
0
D
W
0
C
D
W
/
L
8
3
6
0
0
C
D
W
/
L
8
3
6
r
P
r
i
n
t
e
r
r
P
r
i
n
t
e
r
f
e
r
e
n
c
f
e
r
e
n
c
f
e
r
e
n
c
D
B
Y
T
H
I
S
D
B
Y
T
H
I
S
7
0
N
/
1
4
5
0
/
1
4
7
0
N
/
1
4
5
0
/
1
4
4
0
0
C
e
/
3
4
0
0
2
4
0
0
C
e
/
3
4
0
0
0
5
0
/
1
8
5
0
/
1
8
0
5
0
/
1
8
5
0
/
1
8
5
0
D
/
5
1
7
0
D
N
5
0
D
/
5
1
7
0
D
N
6
0
5
0
D
N
/
8
0
5
0
6
0
5
0
D
N
/
8
0
5
0
N
/
5
2
7
0
D
N
/
5
N
/
5
2
7
0
D
N
/
5
0
7
0
C
D
W
/
2
1
0
7
0
C
D
W
/
2
1
D
N
/
5
3
7
0
D
W
D
N
/
5
3
7
0
D
W
/
3
0
7
0
C
W
/
3
0
/
3
0
7
0
C
W
/
3
0
N
/
2
2
7
0
D
W
/
N
/
2
2
7
0
D
W
/
D
W
/
5
4
4
0
D
/
5
D
W
/
5
4
4
0
D
/
5
/
S
7
0
0
0
D
N
/
3
/
S
7
0
0
0
D
N
/
3
/
3
1
7
0
C
D
W
/
1
/
3
1
7
0
C
D
W
/
1
C
D
N
/
L
8
3
5
0
C
C
D
N
/
L
8
3
5
0
C
C
D
W
(
T
)
/
L
2
3
C
D
W
(
T
)
/
L
2
3
2
6
0
/
2
2
6
0
D
/
L
2
6
0
/
2
2
6
0
D
/
L
N
/
L
2
3
6
1
D
N
/
N
/
L
2
3
6
1
D
N
/
/
L
2
3
6
6
D
W
/
/
L
2
3
6
6
D
W
/
/
1
2
1
0
W
R
/
1
/
1
2
1
0
W
R
/
1
W
/
1
2
0
0
/
1
2
0
1
W
/
1
2
0
0
/
1
2
0
1
5
D
/
5
5
9
5
D
N
/
L
5
D
/
5
5
9
5
D
N
/
L
/
L
5
2
0
0
D
W
(
T
/
L
5
2
0
0
D
W
(
T
W
/
L
6
2
5
0
D
N
W
/
L
6
2
5
0
D
N
(
T
)
/
L
6
4
0
2
D
W
(
T
)
/
L
6
4
0
2
D
W
C
D
W
(
T
)
/
L
9
3
0
C
D
W
(
T
)
/
L
9
3
e
G
u
i
d
e
G
u
i
d
e
G
u
i
d
M
A
N
U
A
L
>
M
A
N
U
A
L
>
7
0
N
/
P
2
5
0
0
/
7
0
N
/
P
2
5
0
0
/
C
N
/
1
6
5
0
/
C
N
/
1
6
5
0
/
7
0
N
/
5
0
4
0
/
7
0
N
/
5
0
4
0
/
/
2
6
0
0
C
N
/
/
2
6
0
0
C
N
/
N
/
2
7
0
0
C
N
/
N
/
2
7
0
0
C
N
/
2
8
0
D
W
/
2
8
0
D
W
/
4
0
/
2
1
5
0
N
/
4
0
/
2
1
5
0
N
/
/
5
3
8
0
D
N
/
/
5
3
8
0
D
N
/
7
5
C
W
/
7
5
C
W
/
4
1
4
0
C
N
/
4
1
4
0
C
N
/
4
5
0
D
N
/
4
5
0
D
N
/
1
4
0
C
W
/
1
4
0
C
W
/
1
1
0
/
1
1
1
1
/
1
1
0
/
1
1
1
1
/
D
W
(
T
)
/
D
W
(
T
)
/
0
0
/
L
2
3
0
0
D
/
0
0
/
L
2
3
0
0
D
/
2
3
0
5
W
/
2
3
0
5
W
/
2
5
6
0
D
N
/
2
5
6
0
D
N
/
2
5
6
9
D
W
/
2
5
6
9
D
W
/
2
1
2
W
R
/
2
1
2
W
R
/
/
1
2
0
2
/
1
2
0
8
/
/
1
2
0
2
/
1
2
0
8
/
5
1
0
2
D
W
/
5
1
0
2
D
W
/
)
/
L
5
2
0
2
D
W
/
)
/
L
5
2
0
2
D
W
/
/
L
6
2
5
0
D
W
/
/
L
6
2
5
0
D
W
/
/
L
8
2
6
0
C
D
N
/
L
8
2
6
0
C
D
N
1
0
C
D
W
1
0
C
D
W
e
e
e
/
/

Advertisement

Table of Contents
loading

Summary of Contents for Brother HL-1050

  • Page 1 < > < >...
  • Page 2 HL-1212W/1210W/ 1210WR/1212WR/ 1210WE/1211W/1218W/1200/1201/1202/1208 Ver.Y November, 2014 Revised for Addition of HL-L9300CDW(T) Ver.Z October, 2015 Revised for Addition of HL- L5000D/5580D/5585D/5595DN/L5102DW/L5100DN (T)/5590DN/L5200DW(T)/L5202DW/L6200DW(T)/ L6202DW/L6250DN/L6250DW/L6300DW(T)/L6400 DW(T)/L6402DW Ver.AA January, 2017 Revised for Addition of HL- L8260CDN/L8260CDW/L8360CDW(T)/L9310CDW © Copyright Brother Industries, Ltd. 2017 ALL RIGHTS RESERVED...
  • Page 3 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 specifications of this product are subjected to change without notice.
  • Page 5: Table Of Contents

    TABLE OF CONTENTS GLOSSARY CHAPTER 1 INTRODUCTION 1. ABOUT THE MANUAL ----------------------------------------------------------------------------------- 3 2. AREAS OF USE ------------------------------------------------------------------------------------------- 4 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE 1. COMMAND LIST ------------------------------------------------------------------------------------------ 7 2. INTRODUCTION ----------------------------------------------------------------------------------------- 10 3. CONTROLLING THE PRINTER ---------------------------------------------------------------------- 11 4.
  • Page 6 CHAPTER 6 EPSON FX-850 1. COMMAND LIST ------------------------------------------------------------------------------------------ 3 2. INTRODUCTION ------------------------------------------------------------------------------------------ 5 3. EMULATION DETAILS ---------------------------------------------------------------------------------- 6 4. TERMINOLOGY ------------------------------------------------------------------------------------------- 7 5. CONTROLLING THE PRINTER ----------------------------------------------------------------------- 8 6. COMMANDS------------------------------------------------------------------------------------------------ 9 7. INDEX ------------------------------------------------------------------------------------------------------- 28 CHAPTER 7 IBM PROPRINTER XL 1.
  • Page 7 GLOSSARY Absolute plotting A method of plotting in the HP-GL and HP-GL/2 graphics language where coordinates are specified relative to the origin of the coordinate system currently in use. Anchor point The top left-hand corner of the PCL picture frame. You can position this on the page using a PCL command.
  • Page 8 Control panel reset A reset or factory reset performed using the printer control panel. Cross-hatching A method of shading using perpendicular diagonal lines that cross one another. Current units The current unit type in use in HP-GL and HP-GL/2 mode. Current units are either user units or graphics units depending on whether an SC command has been used.
  • Page 9 Fixed spacing See monospacing. Font A collection of characters that are designed to work in harmony together. A font has several characteristics that identify it uniquely: character or symbol set, spacing, pitch, height or point size, style, stroke weight and typeface. Fonts can either be resident in the printer's ROM, installed on cartridge or downloaded from your computer.
  • Page 10 Justification The way in which text is aligned. For example, left justification involves aligning the left end of every line of text. Label A text string that forms part of an HP-GL and HP-GL/2 plot. Landscape The orientation in which the top edge of the page is longer than the side edges. Logical page The area of the physical page on which the cursor can be positioned in LaserJet mode.
  • Page 11 Perforation skip A feature whereby the printer automatically compensates for a page break and resumes printing from the top of the text area on the next page. Permanent font A downloaded font that is retained when a printer reset is performed. Permanent macro A macro stored in the printer that will not be erased if the printer is reset.
  • Page 12 Random Access Memory. The printer's memory in which fonts and macros can be stored and where pages that are to be printed are composed. Raster graphics A method of representing a graphic image as a series of zeroes and ones that correspond to white and black dots respectively.
  • Page 13 Soft clip limits See graphics window. The soft limits are determined by the IW command. Source image The graphic image that is applied to the destination image in the LaserJet print model. The interaction of the two images is determined by the current source and pattern transparency settings.
  • Page 14 Vertical motion index. The vertical distance that the print position moves down the page when a line feed is performed. This can be set using printer commands or with the printer's control panel by adjusting the "Lines" menu option in PAGE FORMAT MODE.
  • Page 15 CHAPTER 1 INTRODUCTION CHAPTER 1 INTRODUCTION - 1...
  • Page 16: About The Manual

    ONTENTS 1. ABOUT THE MANUAL ....................3 2. AREAS OF USE ......................4 Using Word Processing Packages and Spreadsheets ............4 Graphics ..........................4 Programming ........................4 Font Development ....................... 5 CHAPTER 1 INTRODUCTION - 2...
  • Page 17: About The Manual

    1. ABOUT THE MANUAL This technical reference manual is intended to help you get the most out of each of the emulation modes supported by your HL-Series printer. It is divided into nine sections - this introductory section and one section for each of the emulation modes.
  • Page 18: Areas Of Use

    2. AREAS OF USE There are several different applications for which you may want to use your HL-Series printer. Four general areas are outlined in the following sections. Using Word Processing Packages and Spreadsheets You may simply wish to use the printer with your software application packages, such as word-processors or spreadsheets.
  • Page 19: Font Development

    Font Development In LaserJet mode you can send your own character designs to an HL-Series 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 CHAPTER 2 PRINTER CONTROL LANGUAGE     CHAPTER 2 PCL - 1...
  • Page 21: Command List

    ONTENTS COMMAND LIST ........................7 INTRODUCTION ........................ 10 CONTROLLING THE PRINTER ..................11 3.1. Control Codes ........................... 11 3.1.1. Backspace (08) <08h> .......................... 11 3.1.2. Line feed (10) <0Ah> ..........................11 3.1.3. Form feed (12) <0Ch> .......................... 11 3.1.4. Carriage return (13) <0Dh> ........................11 3.1.5.
  • Page 22: Introduction

    4.2.5. HP-GL/2 graphics window ........................31 4.2.6. Portrait page dimensions ........................32 4.2.7. Landscape page dimensions ........................ 34 4.2.8. Coordinates ............................36 4.2.9. Units ..............................36 4.2.10. Unit of measure ............................. 36 4.2.11. Setting the left and right margins ......................36 4.2.12.
  • Page 23 5.2.5. Selecting the symbol set ........................54 5.2.6. Selecting the type of character spacing ....................56 5.2.7. Selecting the pitch ..........................56 5.2.8. Selecting the height ..........................57 5.2.9. Scaling the scalable fonts vertically or horizontally ................57 5.2.10. Selecting the style ..........................57 5.2.11.
  • Page 24 6.5. The Picture Frame ........................100 6.5.1. The default picture frame ........................100 6.5.2. Set picture frame anchor point ......................100 6.5.3. Set picture frame vertical size ......................100 6.5.4. Set picture frame horizontal size ......................100 6.5.5. Specify vertical plot size ........................100 6.5.6.
  • Page 25 8.5.14. Symbol set response .......................... 112 8.5.15. Entity error codes ..........................113 8.5.16. Free space command ......................... 113 8.5.17. Font cache ............................114 8.5.18. Memory status response ........................114 8.5.19. Memory error response ........................114 8.5.20. Flush all pages command ........................114 8.5.21.
  • Page 26: Command List

    COMMAND LIST Control Codes Escape sequences Esc&k#G Line termination Esc&s#C End-of-line wrap EscY Display function mode EscZ Display function mode Environments Job Control Esc&l#A Page size Esc&n# Media type selection Esc&l#G Output tray Esc&l#H Paper source Esc&l#U Left long-edge offset registration Esc&l#Z Top offset registration Esc&l#S...
  • Page 27 Esc(s#H, Esc)s#H Selecting the pitch Esc(s#V, Esc)s#V Selecting the height EscCR!#H, EscCR!#V Scaling the scalable fonts vertically or horizontally Esc(s#S, Esc)s#S Selecting the style Esc(s#B, Esc)s#B Selecting the stroke weight Esc(s#T, Esc)s#T Selecting the typeface Esc&p#X Transparent print data Esc&d#D, Esc&d@ Underlining text Esc&*c#D Font ID Esc*c#F...
  • Page 28 EscCR!1234#M MIO video I/O port control Status Readback Esc*s#T Set status readback location type Esc*s#U Set status readback location unit Esc*s#I Inquire status readback entity Esc*s1M Free space command Esc&r#F Flush all pages command Esc*s#X Echo command CHAPTER 2 PCL - 9...
  • Page 29: Introduction

    INTRODUCTION This laser / ink printer provides a complete emulation of the supported Hewlett 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 30: Controlling The Printer

    CONTROLLING THE PRINTER 3.1. Control Codes Control codes are ASCII codes that tell the printer to perform a given function, such as a carriage return. You can send these codes to the printer as part of a program. 3.1.1. Backspace (08) <08h>...
  • Page 31: Escape Sequences

    3.2. Escape Sequences Escape sequences, also known as PCL (Printer Control Language) commands, tell the printer which operations to perform. An escape sequence consists of the Esc character followed by a string of characters which define the operation to be performed. Some escape sequences require parameter values. These are included in the sequence as numeric characters.
  • Page 32: End-Of-Line Wrap

    3.2.2. End-of-line wrap If the printer tries to print a line of text that is longer than the width of the text area, the end of the line will normally be lost. However, you can set the printer to flow text onto the next line so that text is not lost. You can turn on the automatic text wrap feature either from the printer's control panel (see the User Guide) or by sending the printer the following escape sequence: Esc&s0C...
  • Page 33: Environments

    3.3. Environments 3.3.1. Factory default environment The factory default environment is the collection of printer settings programmed into the printer before it leaves the factory. You can restore the factory default environment using the printer's control panel. See the User's Guide to find how to reset the printer from the printer's control panel. Some settings cannot be restored to the factory default environment with the RESET operation from the printer's control panel.
  • Page 34: Job Control

    JOB CONTROL 4.1. Commands 4.1.1. Page size Esc&l#A (27)(38)(108)#(65) <1Bh><26h><6Ch>#<41h> # stands for the type of paper or envelope to be used. Values for # correspond to the paper or envelope sizes shown in the table. Envelopes sizes are shown in the shaded part of the table.
  • Page 35 1850/1870N/5 040/5050/507 HL-1250/ HL-4040CN/ 5140/5150D/5 HL-1050/ HL-1660e/ HL-2400C/ 5340D/5350 Model 1270N/ HL-3400CN HL-3260N HL-2460 HL-7050 HL-2600CN HL-3450CN HL-8050N HL-2700CN 4050CDN/ 2150N/2170 170DN/6050/6 1070 2060 2400Ce 1450/1470N 1650/1670N DN/5370DW P2500 050D/ 4070CDW /5380DN 6050DN/2070 N/5240/5250D N/5270DN/52 80DW Executive   ...
  • Page 36 1850/1870N/5 040/5050/507 HL-1250/ HL-4040CN/ 5140/5150D/5 HL-1050/ HL-1660e/ HL-2400C/ 5340D/5350 Model 1270N/ HL-3400CN HL-3260N HL-2460 HL-7050 HL-2600CN HL-3450CN HL-8050N HL-2700CN 4050CDN/ 2150N/2170 170DN/6050/6 1070 2060 2400Ce 1450/1470N 1650/1670N DN/5370DW P2500 050D/ 4070CDW /5380DN 6050DN/2070 N/5240/5250D N/5270DN/52 80DW 1040 Envelop #4 1041...
  • Page 37 L5000D/558 L8260CDN/L 2250DN/227 L8250CDN/L L2360DN/L2 0D/L5100DN 5440D/5450 8260CDW/L Model 3070CW/30 0DW/4140C 8350CDW/L 360DW/L23 /L5200DW/L DN/5470DW S7000DN 3170CDW 8360CDW/L 75CW N/4150CDN/ 9200CDW/L 65DW/2560 6200DW/L6 /6180DW 8360CDWT/ 4570CDW 9300CDW DN/2569DW 300DW/L64 L9310CDW 00DW Executive         ...
  • Page 38 L5000D/558 L8260CDN/L 2250DN/227 L8250CDN/L L2360DN/L2 0D/L5100DN 5440D/5450 8260CDW/L Model 3070CW/30 0DW/4140C 8350CDW/L 360DW/L23 /L5200DW/L DN/5470DW S7000DN 3170CDW 8360CDW/L 75CW N/4150CDN/ 9200CDW/L 65DW/2560 6200DW/L6 /6180DW 8360CDWT/ 4570CDW 9300CDW DN/2569DW 300DW/L64 L9310CDW 00DW 1040 Envelop #4      1041 Envelop MAX ...
  • Page 39: Media Type Selection

    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. ...
  • Page 40: Output Tray

    4.1.3. Output tray Esc&l#G (27)(38)(108)#(71) <1Bh><26h><6Ch>#<47h> # denotes the output tray. Select the printer output tray. Select #1 bin. (CT:HL-8050N) Select #2 bin. Select #3 bin. Select #4 bin. Select #5 bin. Select #6 bin. Select #7 bin. Select #8 bin. Select #9 bin.
  • Page 41: Paper Source

    4.1.4. Paper source Esc&l#H (27)(38)(108)#(72) <1Bh><26h><6Ch>#<48h> # denotes the paper source. Values for # may be 0, 1, 2, 3, or 4.  If # = 0 the current page is ejected and the paper source remains the same.  If # = 1 the current page is printed and the upper cassette becomes the paper source. ...
  • Page 42 If PJL TRAYCOMMAND is NORMAL; 1850/1870 4050CDN/ 5240/5250 4070CDW/ 1250/1270 DN/5270D 1660e/206 5050/5070 2070N/215 4140CN/41 N/P2500/ N/5280DW HL-5040/ HL-2460/ HL-1050 HL-1070 HL-3260N 0N/2170W/ HL-8050N 2600CN/ 50CDN/45 1450/1470 3400CN /5340D/53 5140 7050 S7000DN 3450CN 4040CN 1650/1670 5150D/517 2250DN/22 2700CN 70CDW/54 N/2400C/C...
  • Page 43 L5000D/55 L8260CDN L2360DN/ 80D/L5100 L8250CDN /L8260CD 3070CW/3 L2360DW/ DN/L5200 L9300CD /L8350CD W/L8360C 075CW/31 L2365DW/ DW/L6200 W/L9200C DW/L8360 70CDW 2560DN/25 DW/L6300 CDWT/L93 69DW DW/L6400 10CDW                 ...
  • Page 44 If PJL TRAYCOMMAND is SPECIAL; 4050CDN/ 1850/1870 5240/5250 4070CDW/ L5000D/5 L8260CD DN/5270D 4140CN/4 L2360DN/ 580D/L51 N/L8260C 1660e/206 5050/5070 2070N/215 L8250CD HL-2400C/ N/5280DW HL-5040/ 150CDN/4 3070CW/3 L2360DW/ 00DN/L52 DW/L8360 HL-3260N 0N/2170W 2600CN/2 L9300CD N/L8350C 3400CN /5340D/53 5140 3450CN 4040CN 570CDW/5 075CW/31 S7000DN L2365DW/ 00DW/L62...
  • Page 45: Left Long-Edge Offset Registration

    4.1.5. Left long-edge offset registration Esc&l#U (27)(38)(108)#(85) <1Bh><26h><6Ch>#<55h> # stands for the distance in decipoints (1/720") that the left edge of the logical page is to be moved.  Values for # may be in the range -32,767 to 32,767. ...
  • Page 46: Simplex/Duplex Printing

    4.1.7. Simplex/duplex printing (For HL-1660e/2060/3400CN/1650/1670N/3260N/2460/7050/1850/1870N/5150D/5170DN/5250DN/ 5270DN/5280DW/4050CDN/4070CDW/5340D/5350DN/5370DW/5380DN/2240D/2250DN/2270DW/415 0CDN/4570CDW/5440D/5450DN/5470DW/6180DW/S7000DN/3170CDW/ L8250CDN/L8350CDW/L9200CDW/L9300CDW /L2360DN/L2360DW/L2365DW/2560DN/2569DW) Esc&l#S (27)(38)(108)#(83) <1Bh><26h><6Ch>#<53h> # can be 0, 1, or 2.  # = 0 indicates Simplex printing.  # = 1 indicates Duplex – Long edge binding printing.  # = 2 indicates Duplex – Short edge binding printing. ...
  • Page 47  You can also perform a printer reset using the printer's control panel or remote printer console program (see the User Guide). CHAPTER 2 PCL - 28...
  • Page 48: Reset To Factory Default Settings

    4.1.11. Reset to factory default settings EscCRFD (27)(13)(70)(68) <1Bh><0Dh><46h><44h>  This command causes a factory reset to be performed, restoring all the printer's factory default settings. See the section "Factory default environment" for a list of the factory default settings. ...
  • Page 49 Emulations available for each model are listed below. Epson HP-GL BR-Script2 BR-Script3 Proprinter FX-850 HL-1050    HL-1070     HL-1250    HL-1270N     HL-P2500  HL-1660e     ...
  • Page 50: The Page

    4.2. The Page 4.2.1. Physical page The physical page refers to the size of the paper or envelope currently in use: A4, Letter, B5, JIS B5, Legal and Executive are the permitted paper sizes: Monarch, COM-10, International DL and International C5 are the allowable envelope sizes.
  • Page 51: Portrait

    4.2.6. Portrait page dimensions (DEFAULT VALUES) Physical page Printable area Logical page Default HP-GL/2 picture frame Physical page length Maximum logical page length Distance from edge of physical page to edge of logical page PAPER SIZE LETTER 2550 3300 2400 3300 LEGAL 2550...
  • Page 52 POSTCARD 1181 1748 1039 1748 Envelop #4 1240 2776 1098 2776 Envelop MAX 1417 2776 1275 2776 A5 Long Edge 2480 1748 2338 1748 A4 Short 2480 3189 2338 3189 16K(197x273mm 2325 3225 2175 3225 16K(195x270mm 2303 3189 2161 3189 16K(184x260mm 2173 3070...
  • Page 53: Landscape

    4.2.7. Landscape page dimensions (DEFAULT VALUES) Physical page Printable area Logical page Default HP-GL/2 picture frame Physical page length Maximum logical page length Distance from edge of physical page to edge of logical page PAPER SIZE LETTER 3300 2550 3180 2550 LEGAL 4200...
  • Page 54 Envelop MAX 2776 1417 2658 1417 A5 Long Edge 1748 2480 1630 2480 A4 Short 3189 2480 3071 2480 16K(197x273mm 3225 2325 3105 2325 16K(195x270mm 3189 2303 3071 2303 16K(184x260mm 3070 2173 2952 2173 All measurements are in 1/300" units CHAPTER 2 PCL - 35...
  • Page 55: Coordinates

    4.2.8. Coordinates The printer control language coordinate system has its origin at the intersection of the left edge of the logical page and the top margin. The x-coordinate value of the current cursor position increases as the cursor moves from left to right, the y-coordinate value increases as the cursor moves down the page. The cursor can be explicitly positioned anywhere on the current logical page using the PCL coordinate system.
  • Page 56: Resetting The Horizontal Margins

     If the current cursor position is to the right of your new right margin setting, the cursor will be moved to the new right margin.  The factory default left and right margin settings are at the left and right edges of the logical page respectively.
  • Page 57: Setting The Vertical Motion Index (Vmi)

    4.2.14. Setting the vertical motion index (VMI) Esc&l#C (27)(38)(108)#(67) <1Bh><26h><6Ch>#<43h> # stands for the height of one row in 1/48".  # can have any value in the range 0-32767.  The distance specified by the VMI is the vertical distance moved down the page when the printer performs a line feed.
  • Page 58: Setting Line Spacing

    10 REM ***** SETTING THE CHARACTER PITCH ***** 20 ESC$=CHR$(27) 30 REM --- DEFAULT IS 10 CPI PITCH --- 40 LPRINT "10 PITCH " 50 REM --- SET 5 CPI PITCH --- 60 LPRINT ESC$+"&k24H"; 70 LPRINT "AAA" 80 REM --- SET 6 CPI PITCH --- 90 LPRINT ESC$+"&k20H";...
  • Page 59: Page Length

    Top margin Page length Text length Bottom margin 4.2.18. Page length Esc&l#P (27)(38)(108)#(80) <1Bh><26h><6Ch>#<50h> # stands for the length of the logical page in lines (at the current VMI).  If you specify a page length greater than is allowed by the physical size of the paper in the currently installed paper tray, a control panel message prompts you to load paper of the appropriate size.
  • Page 60: Positioning The Cursor

    4.2.20. Positioning the cursor You can position the cursor anywhere on the logical page. In addition, the cursor position is automatically changed when text or graphics are printed. You can either position the cursor using absolute PCL coordinate values or position it relative to the current cursor position, using dots, decipoints or rows and columns as units. In case of using dots, the units value is defined by the ESC &...
  • Page 61: Horizontal Position

    4.2.22. Horizontal position Horizontal cursor positioning - columns Esc&a#C (27)(38)(97)#(67) <1Bh><26h><61h>#<43h> # = number of columns  A plus or minus sign preceding the number of columns 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 to the right on the page, a negative value means that it will be moved to the left.
  • Page 62: Positioning The Cursor Using Control Codes

    100 REM --- MOVING CURSOR 1 INCH TO THE RIGHT --- 110 LPRINT ESC$+"*p+300X"; 120 LPRINT "C"; 130 REM --- PAPER EJECT --- 140 LPRINT CHR$(12); 150 END <Sample file 4> Horizontal cursor positioning - decipoints Esc&a#H (27)(38)(97)#(72) <1Bh><26h><61h>#<48h> # = number of decipoints 1/720" ...
  • Page 63: Half Line Feed

    4.2.25. Half line feed Esc= (27)(61) <1Bh><3Dh> This command moves the cursor down half a row as defined by the last VMI or line spacing command (Esc&l#C). 4.2.26. Logical page orientation Esc&l#O (27)(38)(108)#(79) <1Bh><26h><6Ch>#<4Fh> # = 0, 1, 2 or 3 ...
  • Page 64 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";...
  • Page 65: Using Fonts

    (the number of characters printed per inch), height (point size) and symbol set. 5.1.3. Scalable fonts The printer has many scalable fonts available as standard. The following table shows scalable fonts available for models HL-1050/1070/1250/1270N/1450/1470N/P2500/1660e/2060/2400C/2400Ce/ 3400CN/1650/1670N/2460/7050/1850/1870N/5040/5050/5070N/5140/5150D/5170DN/2600CN/3450CN/6050/ 6050D/6050DN/8050N/2700CN/2070N/4040CN/4050CDN/4070CDW/2150N/2170W/5240/5250DN/5270DN/ 5280DW/5340D/5350DN/5370DW/5380DN/3070CW/3075CW/2250DN/2270DW/4140CN/4150CDN/4570C DW/L2360DN/L2360DW/L2365DW/2560DN/2569DW/S7000DN.
  • Page 66  Atlanta Book, BookOblique, Demi, DemiOblique  Copenhagen Roman, Italic, Bold, Bold italic  Portugal Roman, Italic, Bold, Bold italic  Calgary MediumItalic Brother Original Fonts: HL-1050/1070/1250/1270N/1450/1470N/P2500/ 1660e/2060/2400C/2400Ce/3400CN/1650/1670N/ 3260N/2460/7050/1850/1870N/5040/5050/5070N/ 5140/5150D/5170DN/2600CN/3450CN/6050/ 6050D/6050DN/8050N/2700CN/2070N5240/5250DN/ 5270DN/5280DW/4040CN/4050CDN/4070CDW/215 0N/2170W/5340D/5350DN/5370DW/5380DN/3070C W/3075CW/2250DN/2270DW/4140CN/4150CDN/45 70CDW/5440D/5450DN/5470DW/6180DW/S7000D N/3170CDW/L8250CDN/L8350CDW/L9200CD W L9300CDW/  Bermuda Script ...
  • Page 67: Bound Fonts

    5.1.4. Bound fonts Bound fonts are fonts which have only a single symbol set. 5.1.5. Unbound fonts Unbound fonts are fonts which have a large amount of symbols selected from a complementary symbol index (intellifont) or unicode symbol index (TrueType). 5.1.6.
  • Page 68: Selecting The Default Fonts

    5.1.13. Selecting the default fonts To set the primary font settings to those of the printers default font and discard all the software settings you have made in the meantime, send the printer the following escape sequence: Esc(3@ (27)(40)(51)(64) <1Bh><28h><33h><40h> To set the secondary font settings to those of the printers default font send: Esc)3@ (27)(41)(51)(64) <1Bh><29h><33h><40h>...
  • Page 69: Criteria For Font Selection

    5.1.15. Criteria for font selection The printer will try to match your stated font requirements as best it can with the fonts available to it in any of the three possible font locations. In most cases you will be specifying a font you know to be present in one of the locations and the resulting printed text will appear exactly as you envisaged.
  • Page 70: Stroke Weight

    5.1.22. Stroke weight Stroke weight refers to the thickness of the lines which make up the printed characters. Characters of normal line thickness are called medium. Thicker lines are referred to as bold or black and thinner lines as light or thin. You can specify 15 different stroke weights - 0 denotes medium weight, negative values signify thinner strokes, and positive values signify bolder (thicker) strokes.
  • Page 71: Font Selection Commands

    5.2. Font Selection Commands 5.2.1. User-defined symbol sets User-defined symbol sets can be used with Unbound scalable fonts. Three new commands below are prepared for use to control a user-defined symbol set. To define a symbol set, its ID code must first be defined. Next, a list of symbols for the symbol set must be downloaded.
  • Page 72 0 -1: Header size (UI) - set to 18 or greater. This value stands for the number of header bytes. 2 -3 : Encoded Symbol Set Designator (UI) - should be as same as the ID code which is defined by ESC*c#R. Format (UB) - 1 for MSL (Intellifont), 3 for Unicode (TrueType).
  • Page 73: Symbol Set Control Command

    Symbol map (Array of UI ) The symbol map, which has a list of symbol index numbers, is used to define the symbols for the symbol set. This map defines the combinations of symbol index numbers and character codes. 5.2.4. Symbol set control command Esc*c#S (27)(42)(99)#(83) <1Bh><2Ah><63h>#<53h>...
  • Page 74 170 LPRINT 180 REM --- PAPER EJECT --- 190 LPRINT CHR$(12); 200 END There is a further group of symbol sets that are available for Brother fonts only. You can select these as follows: Esc(s#C (27)(40)(115)#(67) <1Bh><28h><73h>#<43h>  This command selects the symbol set (character set) for the primary font.
  • Page 75: Selecting The Type Of Character Spacing

    60 REM --- PRINT CHARACTERS ---- 70 FOR I=33 TO 127 80 LPRINT CHR$(I); 90 NEXT 100 LPRINT 110 REM --- FRENCH CHARACTER SET SELECTION ------ 120 LPRINT ESC$+"(s5C"; 130 REM --- PRINT CHARACTERS ---- 140 FOR I=33 TO 127 150 LPRINT CHR$(I);...
  • Page 76: Selecting The Height

     The selection will apply to whichever font you are currently specifying (primary or secondary).  If the printer doesn't have the specified size font, the next largest size font is used. If the printer doesn't have a larger sized font, the next smallest one is used. ...
  • Page 77: Selecting The Stroke Weight

    Value Font Style Upright & solid Italic Condensed Condensed italic Compressed, or extra condensed Expanded Outline Inline Shadowed Outline shadowed 10 REM ****** PRINT IN ITALIC & UPRIGHT STYLE ****** 20 ESC$=CHR$(27) 30 WIDTH "LPT1:",255 40 REM --- PRINT USING AN ITALIC FONT ---- 50 LPRINT ESC$+"(s1S";...
  • Page 78: Font Orientation

     The available values vary with the printer model. The following table shows the value for each typeface and availability. Typeface Set primary Set secondary font font 1050/ 2070N/ 1070/1270N/1660e/2060/2400C/ 1250/ 2150N/ 2400Ce/3400CN/1450/1470N/ P2500 2170W/ 1650/1670N/2460/3260N/7050/ 2250DN/ 1850/1870N/5040/5050/5070N/ 2270DW 5140/5150D/5170DN/2600CN/ 3450CN/6050/6050D/6050DN/ 8050N/2700CN/5240/5250DN/ 5270DN/5280DW/4040CN/...
  • Page 79: Transparent Print Data

    5.2.14. Transparent print data Esc&p#X (character codes) (27)(38)(112)#(88) <1Bh><26h><70h>#<58h>  This command enables you to print characters which are normally unprintable.  # is the number of bytes of data that follow the command.  Each byte of data is interpreted as a character code and the corresponding character in the currently selected symbol set is printed (if there is one).
  • Page 80: Downloadable Font Manipulation

    5.3. Downloadable font manipulation Fonts that you have bought on diskette can be downloaded to the printer from diskette or hard disk using the DOS COPY command or a font downloading applications program. To create your own fonts you can use PCL commands to send the various blocks of data that comprise a do(wnloadable font.
  • Page 81: Creating Downloadable Fonts

    5.4. Creating Downloadable Fonts 5.4.1. Downloading You can download existing fonts (that is, ones that you have bought or ones that you have created previously) using either a font downloading application program or the DOS command COPY/b <filename> PRN In addition, some word-processing and DeskTop publishing programs will automatically download the fonts that have been used in a document when that document is printed.
  • Page 82  The Font descriptor has information for the whole character set. When this font descriptor is sent to the printer with a font header to identify the font ID, the descriptor parameters become the basis of the downloaded fonts.  The data format for each type of font descriptor block is shown below. <Bitmap font>...
  • Page 83 <Intellifont Scalable Bound font> Byte 15 (MSB) (LSB) 0 0 Font Descriptor Size (>80) 2 Descriptor Format (10) Font Type 4 Style MSB Reserved 6 Base Line Position 8 Cell Width 10 Cell Height 12 Orientation Spacing 14 Symbol Set 16 Pitch (Default HMI) 18 Height 20 x-Height...
  • Page 84 <Intellifont Scalable Unbound font> Byte 15 (MSB) (LSB) 0 0 Font Descriptor Size (<88) 2 Descriptor Format (11) Font Type (10) 4 Style MSB Reserved 6 Base Line Position 8 Cell Width 10 Cell Height 12 Orientation Spacing 14 Symbol Set 16 Pitch (Default HMI) 18 Height 20 x-Height...
  • Page 85 <TrueType Scalable Bound font> Byte 15 (MSB) (LSB) 0 0 Font Descriptor Size (>72) 2 Descriptor Format (15) Font Type 4 Style MSB Reserved 6 Base Line Position 8 Cell Width 10 Cell Height 12 Orientation Spacing 14 Symbol Set 16 Pitch (Default HMI) 18 Height 20 x-Height...
  • Page 86 Unbound font. Character codes corresponding to MSL numbers are acceptable. Unbound font. Character codes corresponding to Unicode numbers are acceptable. When a 7-bit font or 8-bit font is selected, it is possible for codes 00H to FFH to load characters or delete them.
  • Page 87 Symbol set name Symbol set ID Symbol set name Symbol set ID Default Set Math-7 Line Draw-7 HP Large Characters (264x Terminals) ISO 60: Danish/Norwegian ISO 61: Norwegian version 2 Roman Extensions ISO 4: United Kingdom ISO 25: French ISO 69: French HP German ISO 21: German Greek-8...
  • Page 88 For Intellifont-scalable fonts only, the default HMI is calculated as follows. Default HMI (in dots) = (300 x master design pitch x required point size) / {Master x Resolution /(height x 8)} Default HMI ( in dots ) = (300 x master design pitch x required point size) / {72.307 x scale factor} Height (UI) - specifies the height of the font in 1/4 dots.
  • Page 89 Value Vendor Reserved Agfa Division, Miles Inc. Bitstream Inc. Linotype Company The Monotype Corporation plc Adobe Systems Inc. The Typeface family number can be 0 to 4095. This value is calculated as follows; (TrueType base value) + (Vendor value x 4096) = Typeface Family ...
  • Page 90  Font number (ULI) - ignored by these HL Series printers. This 4-byte field specifies the number assigned to the font by the vending company. The number is stored as a hexadecimal value in the lower three bytes, bytes 44, 45 and 46. ...
  • Page 91 Unicode Symbol Index Bit Field Designated Use 32 - 63 Miscellaneous uses (South Asian, Armenian, other alphabets, bar codes, OCR, Math, etc.) 28 - 31 Reserved for Latin fonts. 22 - 27 Reserved for platform / application variant fonts. 3 - 21 Reserved for Cyrillic, Arabic, Greek and Hebrew fonts.
  • Page 92: Unicode Symbol Index Character Complement Bits

    5.4.3. Unicode symbol index character complement bits Bit Field Designated Use 0 if font is compatible with 7-bit ASCII; otherwise set to 1. 0 if font is compatible with ISO 8859/1 Latin 1 (West Europe) character sets; otherwise set to 1. 0 if font is compatible with ISO 8859/2 Latin 2 (East Europe) character sets;...
  • Page 93: Sending A Character Code

    *Segment Size (UI) - indicates the size of each item in the data segment. *Data segment - AP - Application support segment (reserved) CC - Character Complement Function and form are as same as character complement flag in the font descriptor. This is only for unbound fonts.
  • Page 94 <Bitmap continuation data> Byte Data Format Continuation Raster Character Data  The bytes which follow the header are the raster data that make up the character.  Attributes are in one of four numerical formats. Unsigned integer (UI) 0 to 65535 Signed integer (SI) –32768 to 32767 Unsigned byte (UB) 0 to 255 Boolean - 0 or 1...
  • Page 95 <Intellifont-scalable contour data> Contour Data size Metric data offset Character Intellifont data offset Contour tree offset XY data offset Metric data Character Intellifont Data Contour tree data XY coordinate data <Continuation data for Intellifont scalable contour data> Byte Data Format Continuation 2 - 3 Continuous contour character data...
  • Page 96 [TrueType scalable font] <TrueType character descriptor> Byte Data Format (15) Continuation (0) 2 - 3 Descriptor size Class (15) Additional descriptor size 2 + Desc.size Character Data Size 4 + Desc. size Glyph ID 6 + Desc. size TrueType Glyph Data Format (15) Continuation (0) 2 - 3...
  • Page 97 Portrait character Paper motion Raster scan Top offset = 22 dots Baseline Character height = 31 dots Cursor position after character has been printed Character reference point Left offset Character width = 26 dots = 2 dots Delta X = 30 dots CHAPTER 2 PCL - 78...
  • Page 98 Landscape character Paper motion Top offset = 27 dots Character height = 26 dots Raster scan Left offset = 22 dots Baseline Character width = 31 dots Cursor position after character has been printed Character reference point Delta X = 30 dots CHAPTER 2 PCL - 79...
  • Page 99: Using Graphics

    USING GRAPHICS This HL Series printer affords the user considerable flexibility in the creation of graphic images. Vector, raster and rectangle graphics are available, all of which allow a range of shading and filling options. The HP-GL/2 graphics commands that are supported are described in the HP-GL/2 section of this manual. 6.1.
  • Page 100: Set Pattern Transparency

    For example Pattern Source image Destination image With transparent With opaque source image source image Possible results 6.1.2. Set pattern transparency Esc*v#O (27)(42)(118)#(79) <1Bh><2Ah><76h>#<4Fh>  This command sets the pattern transparency.  # is either 0 or 1. Set # to 0 to select transparent mode and to 1 to specify opaque mode. ...
  • Page 101: Set Area Fill Identity

    For example Pattern Source image (Source image is transparent) Destination image With transparent With opaque pattern pattern Possible results 6.1.3. Set area fill identity Esc*c#G (27)(42)(99)#(71) <1Bh><2Ah><63h>#<47h>  This command sets the pattern ID of a shading tone, a fill pattern or a user-defined pattern for subsequent selection with the Set Pattern Type command.
  • Page 102: User-Defined Pattern Command

    6.1.4. User-defined pattern command Esc*c#W [ data ] (27)(42)(99)#(87) <1Bh><2Ah><63h>#<57h>  # should be in the range 0 ~ 32767.  # stands for the number of pattern data bytes.  User defined patterns can be defined by binary data or an 8 byte pattern descriptor. ...
  • Page 103: User-Defined Pattern Control

    6.1.6. User-defined pattern control Esc*c#Q (27)(42)(99)#(81) <1Bh><2Ah><63h>#<51h>  # = 0 deletes all (temporary and permanent) user-defined patterns from the printer memory.  # = 1 deletes all temporary user-defined patterns from the printer memory.  # = 2 deletes the pattern whose ID number was specified most recently. ...
  • Page 104  See the following example for programming examples using patterns. Pattern example 10 WIDTH "LPT1:", 255 20 ESC$ = CHR$(27) 30 REM --- RESET PRINTER --- 40 LPRINT ESC$; "E"; 50 REM --- SET SOURCE=TRANSPARENT --- 60 REM --- SET PATTERN=OPAQUE --- 70 LPRINT ESC$;...
  • Page 105: Plotting Rectangles

    6.2. Plotting Rectangles Drawing rectangles is a basic case of printing graphics: the source image consists solely of the rectangle itself. Thus only the pattern transparency has any bearing on the final effect - the source transparency is irrelevant. 6.2.1. Cursor position Position the cursor using the commands described in the chapter entitled "The Page".
  • Page 106  See the following example for programming examples using gray scales. Gray scale example 10 ESC$ = CHR$(27) 20 WIDTH "LPT1:", 255 30 REM --- DRAW A PATTERN USING 64 GRAY SCALES --- 40 X = 50: Y = 100: XL=50 :YL=200 50 FOR GRAY = 0 TO 100 STEP 2 60 GOSUB 220 70 X=GRAY*10+50 :XL=X-XL...
  • Page 107: Raster Graphics

    6.3. Raster Graphics 6.3.1. Positioning the cursor Position the cursor using the commands described in the chapter entitled "The Page", using dots, decipoints or rows and columns as coordinate units. 6.3.2. Set raster resolution Esc*t#R (27)(42)(116)#(82) <1Bh><2Ah><74h>#<52h>  This command sets the raster image resolution in dots per inch. ...
  • Page 108: Set Raster Area Height

    6.3.5. Set raster area height Esc*r#T (27)(42)(114)#(84) <1Bh><2Ah><72h>#<54h>  This command sets the height of the raster image to be printed.  # is the number of raster rows.  If you use this command after using a Start Raster Graphics or a Transfer Raster Data command, it does not take effect until after the next End Raster Graphics command.
  • Page 109  # = 3 indicates that delta row compression is to be used. In this method byte sequences identify how each raster row differs from the last row that was transmitted. The first byte identifies the number of consecutive bytes (the value of the most significant 3 bits plus 1) to be changed and the position in the line at which to start substituting the replacement bytes (the least significant 5 bits plus 1).
  • Page 110  # = 9 Mode 9 compression Like mode 3 compression, this mode 9 compression data contains only the difference of the current row from the preceding row. Replacement data often consists of a repetition of a particular byte in mode 3 compression. Mode 9 compression is effective in such cases.
  • Page 111 If bit 6 and bit 5 are '1', then an optional offset byte follows the control byte. If the value of this optional offset byte is 255, another (second) optional offset byte follows the first optional offset byte. The addition of the offset count in the control byte and any optional offset bytes gives the total offset count.
  • Page 112 Byte Data Description position 0 - 1 6E 6E 'nn' This is header ID. 2 - 3 0A 00 Reserved 4 - 7 5E 00 00 00 Picture data start offset from header top 8 - 11 File length File length including 94 Byte header. If file length is 65,536 byte, these 4 bytes become "00 00 01 00"...
  • Page 113 We recommend 150 dpi or less resolution for APT to reduce data size.  # = 1025 indicates the Brother original Compression Method.  # = 1026 indicates the Brother Advanced Data Transfer Mode. CHAPTER 2 PCL - 94...
  • Page 114: Start Raster Transfer

    6.3.9. Start raster transfer Esc*r#A (27)(42)(114)#(65) <1Bh><2Ah><72h>#<41h>  This command signals the start of the transfer of a raster image to the printer.  # is 0 or 1.  # = 0 denotes that the image will be printed starting from the left edge of the logical page. ...
  • Page 115 Raster graphics example 10 REM ***** A EXAMPLE OF RASTER GRAPHICS ***** 20 ESC$=CHR$(27) 30 WIDTH "LPT1:",255 40 REM --- SET GRAPHICS RESOLUTION TO 300 DPI --- 50 LPRINT ESC$+"*t300R"; 60 REM --- START RASTER GRAPHICS --- 70 LPRINT ESC$+"*r1A"; 80 REM --- TRANSFER RASTER GRAPHICS --- 90 FOR I=1 TO 28 100 REM --- TRANSFER 1 LINE OF DOTS (4 byte = line) ---...
  • Page 116: Horizontal 1200-Dpi Image Format Mode (Raster Graphic Mode 1027)

    6.3.13. Horizontal 1200-dpi image format mode (Raster Graphic Mode 1027) The printer supports 1200 dpi printing for special image formats in 1200 dpi mode. We recommend that the installed printer memory is 10 Mbytes or more for 1200 dpi printing. To set 1200 dpi mode, 1.
  • Page 117 <Compressed Image Data> Data compression compresses the original image data word by word (16 bits). The compressed data consists of both horizontal compression which uses 16 bit, 8 bit and 4 bit repeating patterns within 1 word or 2 words of data and vertical compression which indicates how many times to repeat the same data as in the previous line within 1 word of data.
  • Page 118: Vector Graphics

    6.4. Vector Graphics For large-scale graphic images it is more efficient to use vector graphics. In LaserJet emulation mode you can set up the page area on which to print vector graphics images. The vector graphics capabilities of these HL Series printers working in HP-GL/2 mode are described in the HP-GL/2 section of this manual.
  • Page 119: The Picture Frame

    6.5. The Picture Frame The PCL picture frame is the rectangular area of the page on which you can print graphic images. You can position and size the picture frame to suit your requirements and achieve effects such as scaling or distortion of vector graphics images.
  • Page 120: Macros

    MACROS 7.1. The Purpose of a Macro A macro is a sequence of commands that you wish to execute. You can specify the command sequence and download it to the printer after which you can execute it with a single command. For example, you might wish to draw a raster image at the top of each page you print.
  • Page 121: End Macro Definition

    7.2. Defining a Macro To define a macro you must first assign an ID number to it, then send to the printer a Start Macro Definition command, the macro definition itself (consisting of a sequence of PCL commands) and finally an End Macro Definition command.
  • Page 122: Running A Macro

    7.3. Running a Macro Macros can be invoked in three different ways: they can be 'executed', 'called' or 'enabled for overlay'. When a macro is 'executed' it uses the current modified print environment. Any changes it makes to the environment are permanent.
  • Page 123: Handling Macros

    7.4. Handling Macros 7.4.1. Delete all macros Esc&f6X (27)(38)(102)(54)(88) <1Bh><26h><66h><36h><58h>  This command deletes all macros from the printer's memory. 7.4.2. Delete all temporary macros Esc&f7X (27)(38)(102)(55)(88) <1Bh><26h><66h><37h><58h>  This command deletes all temporary macros from the printer's memory. Temporary macros are those which have not been made permanent with the Esc&f10X command.
  • Page 124: Execute Data

    120 REM --- SET FONT TO LETTER GOTHIC (18 DOTS WIDE) --- 130 LPRINT ESC$+"(s0p16.66h8.5v0s0b130T"; 140 REM --- PRINT COMMENT --- 150 LPRINT "Printed by this printer"; 160 REM --- SET CURSOR POSITION X=1790 DOT, Y=-40 DOT --- 170 LPRINT ESC$+"*p1790x-40Y"; 180 REM --- PERFORM SHADING --- 190 REM --- SET SHADING WIDTH TO 23 CHARACTERS + 20 DOTS --- 200 LPRINT ESC$+"*c";23*18+20;"A";...
  • Page 125: Mio Video I/O Port Control

     If the key is [RENAME], this command allows the printer to change the name field of the AppleTalk name binding protocol. <ESC>&b#WRENAME<sp>printername printername should be specified with 1 to 31 characters. The characters $00 to $FF (except for $00, @, :, *, =, $C5) can be used for the printername. $00 is used as the terminator.
  • Page 126: Status Readback

    STATUS READBACK 8.1. Introduction Status readback features are explained in this section. The printer sends a status response message after receiving a request for its status by these commands. You can get the information as shown below from the printer. - available printer (user) memory - current available fonts and symbol sets - the ID numbers of downloaded macros and user-defined patterns to verify their...
  • Page 127: Status Response Syntax

    8.5. Status Response Syntax All of the status responses begin with "PCL", Carriage Return control code and a Line Feed control code. The response is ended by a Carriage Return and a Line Feed control code. At the end of the transaction, status responses are ended by a Form Feed Control code.
  • Page 128: Inquire Status Readback Entity

    all downloaded entities downloaded entity as temporary downloaded entity as permanent All cartridge/cards the cartridge/card which has the highest priority. the cartridge/card which has the lowest priority  When the location value is 0, 1 and 2, it ignores the unit value (which might be set to any value). The default value is 0, and whenever you reset the printer, the value is reset to the default value.
  • Page 129: Bitmap Fonts

    In a font status response, the "SELECT=" keyword line specifies the individual fonts. The font is identified by this line by specifying the font selection characteristics such as symbol set, spacing, pitch, height, style, stroke weight, and typefaces. It returns the "SELECT=" for all font types. In a status response, the five characters "<", "E", "s", "c", and "&>"...
  • Page 130: Font Extended Response

    "LOCUNIT=" specifies the location unit of the font which is selected at present. The value field of the Set Status Readback Unit command is related to the value returned. For instance, if the printer font which is selected at present is a bold 12 point Presentation bitmap font which is selected from a cartridge, and a font entity request with the location type set to 1 is produced, the response will be returned as follows.
  • Page 131: Macro Response

    For instance, a font extended response with the location type set to 1( selected at present ) where the font which is selected at present is the internal Pc Tennessee (18 point identified for printing) bold, returns the response as follows.
  • Page 132: Entity Error Codes

    Status location type 1 (selected at present) is an incorrect location for unbound font symbol sets and returns an error. Example responses in this section for "SYMBOLSETS=" do not indicate the complete list of symbol sets which are available internally, but only a partial list . The internal symbol sets depend on the printer and might differ according to the printer.
  • Page 133: Font Cache

    These stored bitmap characters are known as the font cache. If a Brother HL-Series printer encounters a memory low condition, all of the font cache is automatically deleted. Also, font cache and temporary entities can be cleared by a Printer Reset command.
  • Page 134: Index

    INDEX end-of-line wrap .............. 13 entity error code ............113 entity status ..............107 entity status response ............ 109 adaptive compression ............90 envelope ................15 anchor point ..............100 environment ..............14 AppleTalk configuration ..........105 error response APT ................. 94 memory ..............
  • Page 135 page dimensions landscape ..............34 portrait ................ 32 internal font ..............48 page length ..............40 italic ................. 58 page size ................15 paper side selection ............27 paper source ..............22 paper type ................ 15 Job separation command ..........27 pattern ................
  • Page 136 select ................58 unbound scalable font ........... 110 style ................50, 57 underlining text ............... 60 select ................57 unit of measure ..............36 symbol collection ............50 units ................. 36 symbol set ............... 50 upper cassette ..............22 define ................52 upright ................
  • Page 137 CHAPTER 3 PCL5C CHAPTER 3 PCL5C - 1...
  • Page 138: Introduction

    ONTENTS INTRODUCTION ......................... 3 COLOR MODES ......................... 4 2.1. Using Simple Color Mode - Set Simple Color ................4 2.2. Using PCL Color Mode - Set PCL Color Setting ................ 5 2.3. Using HP-GL/2 Color Mode ......................9 COLOR PALETTES ......................10 3.1.
  • Page 139: Introduction

    INTRODUCTION This chapter describes the enhanced commands 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 140: Color Modes

    COLOR MODES The PCL5C emulation provides a B/W mode, which is the default, and three color modes as follows; 1) Simple Color Mode 2) PCL Color Mode 3) HP-GL/2 Color Mode Simple Color Mode allows you to use a maximum of 8 colors easily. PCL Color Mode allows you to use a maximum of 16,000,000 colors logically.
  • Page 141: Using Pcl Color Mode - Set Pcl Color Setting

    2.2. Using PCL Color Mode - Set PCL Color Setting Command ESC*v#W (27)(42)(118)#(87) <1Bh><2Ah><76h>#<57h> # = 6, 18 # stands for the number of bytes of data that follow this command. This command sets the palette size and transformation between the entered value and device-specific value. This command has two types of format, short format and long format.
  • Page 142 [Example] If you want to send index No. 7,6,5,4,3,2,1,0; Enter 'ESC*v6W 00h 00h 04h 08h 08h 08h', then select Send Index No by Plane. Select 4 bits/index. (2 = 16 Palettes) Start Raster Transfer ESC*r1A Send Plane1 data (The Index No Bit0 data) ESC*b1V 10101010B Send Plane2 data (The Index No Bit1 data) ESC*b1V 11001100B...
  • Page 143 (i.e.) ESC*b#V r, r, r, r, r... Plane 1 1st raster ESC*b#V g, g, g, g, g... Plane 2 ESC*b#W b, b, b, b, b... Plane 3 ESC*b#V r, r, r, r, r... Plane 1 2nd raster ESC*b#V g, g, g, g, g... Plane 2 ** The Italic characters shown above are the index No.
  • Page 144 ♣ Bits/index  Specifies the palette size at 2 . n indicates bits/index. (n=4  2 =16 palettes)  When the encoding mode is 0 or 1, the palette size selected by the bits/index value specifies the range of the index No., which can be used for raster data.
  • Page 145: Using Hp-Gl/2 Color Mode

    ♣ Black reference for value #1, #2, #3 ♣ This mode specifies the black value (the highest level of density). ♣ Each value indicates a color as follows; green blue Range: -32767 ~ 32767  When the encoding mode is 2 or 3, this setting is valid. 2.3.
  • Page 146: Set Color To Palette

    COLOR PALETTES 3.1. Set Color #1 Command ESC*v#A (27)(42)(118)#(65) <1Bh><2Ah><76h>#<41h> Range = -32767 ~ 32767 Default value = 0  This command sets the red value in the palette. Use the Set Color to Palette command to set the value. ...
  • Page 147: Select Color

    3.5. Select Color Command ESC*v#S (27)(42)(118)#(83) <1Bh><2Ah><76h>#<53h> # = 0 ~ current palette size Default value = 0  This command selects the color as the index number in the palette.  This command is valid for text, underline, rule and graphics. ...
  • Page 148: Color Graphics

    COLOR GRAPHICS 4.1. Start Raster Transfer Command ESC*r#A (27)(42)(114)#(65) <1Bh><2Ah><72h>#<41h> # = 0 * Prints the image from the left edge of the logical page. Prints the image from the current cursor position. Executes scaling. Prints the image from the left edge of the logical page.
  • Page 149: Set Scale Algorithm

    4.4. Set Scale Algorithm Command ESC*t#K (27)(42)(116)#(75) <1Bh><2Ah><70h>#<4Bh> # = 0 * Takes the lighter overlying dots when reducing. Takes the darker overlying dots when reducing. * Default value = 0  This command sets which algorithm the data is reduced by. ...
  • Page 150: Enhance Output

    ENHANCE OUTPUT 5.1. Set Render Algorithm Command ESC*t#J (27)(42)(116)#(74) <1Bh><2Ah><70h>#<4Ah> # = 0 Scatter dither Snap to primaries Snap black to white, all other colors to black = 3 * Scatter dither Scatter dither Monochrome device best dither Monochrome scatter dither Clustered dither Monochrome clustered dither User-defined dither...
  • Page 151: Set Gamma Correction

    5.3. Set Gamma Correction Command ESC*t#I (27)(42)(116)#(73) <1Bh><2Ah><74h>#<49h> # = 0.0 ~ 32767.0 (command is ignored for invalid values) Default value = 0 (gamma correction off) This command does not destroy the contents of the current palette, but setting a gamma value replaces any lookup table input in either Device CMY or Device RGB.
  • Page 152: In (Initialize Set Instruction) Command

    HP-GL/2 A few HP-GL/2 commands are added for the HL-2400C/Ce, HL-3400CN, HL-2600CN, HL-3450CN, HL- 2700CN, HL- 4040CN/4050CDN/4070CDW/3070CW/3075CW/4140CN/4150CDN/4570CDW/3170CDW/L8250CDN/L835 0CDW/L9200CDW/L9300CDW color laser printer, and the features of some existing commands are also expanded. The new or revised HP-GL/2 commands as follows are described in this chapter; ...
  • Page 153: Np (Number Of Pens) Command

     PC [pen;]: sets the pen to the default color. Number of pens in palette Pen number Color 2 ("NP 2;") White Black 4 ("NP 4;") White Black Green 8 ("NP 8;") White Black Green Yellow Blue Magenta Cyan ** If the number of pens in the palette is over 8, the color is set to black. 6.3.
  • Page 154: Index

    INDEX algorithm ................. 13 monochrome mode ............14 B/W mode ................. 4 NP command ..............17 black value ................ 9 number of pens ..............17 blue value ................ 10 palette ................. 4 color palette ..............10 palette size................5 color range ............... 17 PC command ..............
  • Page 155 CHAPTER 4 HP-GL/2 GRAPHICS LANGUAGE CHAPTER 4 HP-GL/2 - 1...
  • Page 156: Introduction

    ONTENTS COMMAND LIST ........................4 INTRODUCTION ........................6 TERMINOLOGY ........................7 3.1. Picture Frame........................... 7 3.2. Anchor Point ..........................7 3.3. Graphics Window ........................7 3.4. Hard Clip Limits ........................7 3.5. Soft Clip Limits ......................... 7 3.6. Graphics Units ......................... 7 3.7.
  • Page 157 7.5. Plot Function Instructions ....................... 30 7.6. Character Plot Instructions ..................... 38 7.6.1. Introduction ............................39 INDEX ..........................52 CHAPTER 4 HP-GL/2 - 3...
  • Page 158: Command List

    COMMAND LIST Default set instruction Initialize set instruction Input scaling point Input relative scaling points Scale Window Rotate coordinate system Pen up Pen down Plot absolute Relative coordinate pen move Draw absolute arc Draw relative arc Absolute arc three point Relative arc three point Polyline encoded Bezier relative...
  • Page 159 Absolute direction Relative direction Define variable text path Relative character movement Character fill mode Set absolute character size Set relative character size Character slant Scalable or bitmap fonts Extra space Transparent data CHAPTER 4 HP-GL/2 - 5...
  • Page 160: Introduction

    INTRODUCTION Some of the HL series printers can be used in HP-GL/2 graphics 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"...
  • Page 161: Terminology

    TERMINOLOGY 3.1. Picture Frame The printer frame is the rectangular area of the page on which graphic output can be printed. This is based on the logical page defined for the selected paper size. 3.2. Anchor Point The anchor point of the picture frame is the top left hand corner of the frame. This can be moved on the page using PCL language page control commands.
  • Page 162: Absolute And Relative Plotting

    3.10. Absolute and Relative Plotting Drawing commands are of two distinct types: absolute commands, in which the coordinates 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.
  • Page 163: Command Syntax

    COMMAND SYNTAX An HP-GL and HP-GL/2 command can consist of up to four items: a mnemonic, a parameter field, a separator and a terminator. 4.1. Mnemonic The two-letter mnemonic is the name of the command and should help remind you of its function. 4.2.
  • Page 164: The Hp-Gl Graphics Window

    THE HP-GL GRAPHICS WINDOW 5.1. Units When you first enter graphics mode, the prevailing coordinate system has its origin in the bottom left hand corner of the graphics window and has x- and y-units of 1/1016". Using the SC command you can divide the axes into more convenient units.
  • Page 165: Preparing To Print Graphic Images

    PREPARING TO PRINT GRAPHIC IMAGES 6.1. Setting Up the Graphics Window Before entering HP-GL/2 mode you will probably want to set the dimensions and position of the PCL picture frame and hence the graphics window. (Remember that when you enter HP-GL/2 mode they are initially the same).
  • Page 166: Commands

    COMMANDS 7.1. Initialize Commands DF - Default set instruction DF[;]  Returns the graphics mode to default conditions. The following are the default settings. Function Equivalent Condition Instruction Plot mode Absolute plotting Absolute direction DI 1,0; Horizontal Line type Solid line Line pattern length 4% of distance from P1 to P2 Anchor corner...
  • Page 167 IN - Initialize set instruction IN[;]  Returns the graphics mode to initial conditions; Function Equivalent Condition Instruction Plot mode Absolute plotting Relative character direction DR 1,0; Horizontal Line type Solid line Line pattern length 4% of distance from P1 to P2 Window Set at limits of printable area according to paper size...
  • Page 168: Plot Area And Unit Setting Instructions

    7.2. Plot Area and Unit Setting Instructions Instruction Function Scaling point Input relative scaling points Scale Input window Rotate coordinate system IP - Input scaling point IP [ P1 , P1 [,P2 ]] [;] coordinate of P1 coordinate of P1 coordinate of P2 coordinate of P2 ...
  • Page 169 SC - Scale <HP-GL/2> SC [ X [, type ]] [;] (Type = 0) SC [ X , type [ left, bottom]] [;] (Type =1) SC [ X [, type ]] [;] (Type = 2) factor factor ; X coordinate of P1 ;...
  • Page 170  With type 1 scaling you can specify the percentage of unused space that is to lie below, or to the left of, the isotropic area.  left specifies the percentage of unused space you want to lie to the left of the isotropic area and can be from 0 to 100.
  • Page 171 IW - Window IW [ X 1 , Y 1 , X 2 , Y 2 ] [;] -Window lower left X coordinate -Window lower left Y coordinate -Window upper right X coordinate -Window upper right Y coordinate  This instruction sets the window inside which drawing can be performed (the soft clip limits). ...
  • Page 172: Pen Control And Plot Instructions

    7.3. Pen Control and Plot Instructions Instruction Function Pen Up Pen Down Plot Absolute Relative Coordinate Pen Move Absolute Arc Plot Relative Arc Plot Absolute Three Point Arc Relative Three Point Arc Polyline Encoded Circle Bezier Relative Bezier Absolute PU - Pen up PU [ X,Y [,...]] [;] X ;...
  • Page 173 PA - Plot absolute PA [ X, Y [,...]] [;] X ; X coordinate of the cursor movement destination Y ; Y coordinate of the cursor movement destination  Coordinates are absolute values in user or current units.  Whether used with or without parameters the command establishes absolute plotting as the plotting mode. ...
  • Page 174 AA - Draw absolute arc AA [ X, Y, qc [, qd ]] [;] X ; Arc centre X coordinate Y ; Arc centre Y coordinate qc ; Arc angle in degrees qd ; Chord angle in degrees  Coordinates are absolute coordinates in current units. ...
  • Page 175 AR - Draw relative arc AR X, Y, qc(, qd)[;] X ; Arc centre X coordinate Y ; Arc centre Y coordinate qc ; Arc angle in degrees qd ; Chord angle in degrees  Coordinates are relative values in current units. ...
  • Page 176 RT - Relative arc three point RT X [,qd] [;] ; x-coordinate of intermediate point ; y-coordinate of intermediate point ; x-coordinate of end point ; y-coordinate of end point qd ; the chord angle used to draw the arc ...
  • Page 177  The following flags are used: ':' - Select pen. The number which follows is the required pen number. A PE command that does not include a select pen command uses the currently selected pen. '<' - Pen up. The pen is raised and moved to the specified coordinate pair. All coordinate pair values not preceded by this flag are automatically interpreted as pen down plotting commands.
  • Page 178  To avoid placing an unwanted dot at the centre of the circle precede the CI command with a PU command. 10 '-- Circle -- 20 WIDTH "LPT1:",255 30 LPRINT CHR$(27);"E"; 40 LPRINT CHR$(27);"%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "SC-75,75,-75,75,1;" 70 LPRINT "PA0,0;LT;CI5;LT0;CI-12;"...
  • Page 179: The Polygon Group

    7.4. The polygon group Instruction Function Polygon Mode Edge Absolute Rectangle Edge Relative Rectangle Edge Polygon Edge Wedge Fill Absolute Rectangle Fill Relative Rectangle Fill Wedge Fill Polygon PM - Polygon mode PM [ ms ] [;]  This command is used for entering and leaving polygon mode, the mode that allows you to access the polygon buffer.
  • Page 180 10 '-Edge Rectangle Absolute- 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "SC0,150,0,150,1;" 70 LPRINT "PA25;105;EA65;130;" 80 LPRINT "PA30;110;EA70,135;" 90 LPRINT "PA35;115;EA75;140;" 100 LPRINT CHR$(27); "%0A"; 110 LPRINT CHR$(27); "E"; 120 END <sample 31>...
  • Page 181  r specifies the radius of the circle. A positive value for r places the 0º reference point onto the positive x- axis and a negative value for r places the 0º reference point onto the negative x-axis.  The value for q1 is a clamped real number. 0°...
  • Page 182 90 LPRINT "FT4,100,45;RA4250,4750;" 100 LPRINT CHR$(27); "%0A"; 110 LPRINT CHR$(27); "E"; 120 END <Sample 34> RR - Fill rectangle relative RR X, Y[;] X ; X coordinate of opposite corner for the rectangle Y ; Y coordinate of opposite corner for the rectangle ...
  • Page 183 10 ' - Fill Wedge - 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP2;FT3,100;" 60 LPRINT "PA2000,5000;" 70 LPRINT "WG1250,90,180,5;" 80 LPRINT "SP3;EW1250,90,180,5;" 90 LPRINT "SP4;FT4,100,45;" 100 LPRINT "WG1250,270,120;" 110 LPRINT "SP3;EW1250,270,120;" 120 LPRINT "SP1;FT1;" 130 LPRINT "WG1250,30,60;"...
  • Page 184: Plot Function Instructions

    7.5. Plot Function Instructions Instruction Function Anchor Corner Fill Type Line Attribute Line Type Pen Width Raster Fill Definition Symbol Mode Select Pen Screened Vectors Transparency Mode User-defined Line Type Select Unit for Pen Width AC - Anchor corner AC [ X, Y ] [;] X ;...
  • Page 185: Index

    FT - Fill type FT n(, d(, q))[;] n ; Fill type d ; option 1 q ; option 2 Sets the fill type, interval and angle when filling an area. This setting is effective for the commands FP,  RA, RR, WG and CF.
  • Page 186 LA - Line attribute LA [ l, v [ , l , v [ , l , v]]] [;] l ; line attribute v : value  This command specifies the shape of line joins and line ends.  These settings are effective for the line widths thicker than 0.35 mm. ...
  • Page 187 LT - Line type selection LT [, n [, p [,m ]]] [;] n ; Line pattern number p ; Line pattern length (percentage or millimeters of distance between P1 and P2) m : mode  This command specifies the line pattern for use when drawing lines with the vector group commands. ...
  • Page 188 PW - Pen width PW [w, [,p]] [;] w ; width p ; pen  This command specifies the width of the pen.  Pen width can either be specified as a fixed width in millimeters ( the default ) or relative to the distance between the scaling points P1 and P2.
  • Page 189 10 '--Raster Fill Definition== 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "PU5,5;PA3500,2500;" 70 LPRINT "RF2,8,4,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0, 0,;" 80 LPRINT "FT11,2;RR4000,800;EP;" 90 LPRINT CHR$(27); "%0A"; 100 LPRINT CHR$(27); "E"; 110 END <Sample 43> SM - Symbol mode SM c[;] c ;...
  • Page 190  With screen type 21 option 1 specifies one of six predefined PCL cross-hatch patterns (patterns 1 - 6). option 2 is ignored.  With screen type 22, option 1 specifies the ID number of PCL user-defined pattern which is defined by the ESC*c#W command.
  • Page 191 170 'Source 2 180 LPRINT "FT10,50;PA4000,5000;RR500,500;PA4500,5500;RR500,500;" 190 LPRINT "FT10,1;PA4500,5000;RR500,500;PA4000,5500;RR500,500;FT;" 200 ' 210 '( POLYGON ) 220 LPRINT "PA2000,1000;PM0;PDPA4000,1000,3000,3000;PM1;" 230 LPRINT "PA2500,1200,3500,1200,3000,2500;PM1;" 240 LPRINT "PA3000,800,3700,2500,2300,2500;PM1;" 250 LPRINT "PM2;FP;" 260 LPRINT CHR$(27); "%0A"; 270 LPRINT CHR$(27); "E"; 280 END <Sample 45> UL - User-defined line type UL [ i ] [,g [...,]] [;] i ;...
  • Page 192: Character Plot Instructions

     The command sets all pen widths to a default of 0.35mm. Hence it should be used before the PW command.  Using the command with no parameter defaults the type to 0 (metric) and all pen widths to 0.35mm. ...
  • Page 193: Introduction

    7.6.1. Introduction The character group commands enable you to print text to accompany your HP-GL/2 generated graphics without leaving graphics mode. You can use any font that would be available to you in LaserJet emulation mode and you can modify various printing characteristics of the text such as the size, direction and slant of the characters.
  • Page 194  attribute = 1 : Symbol set Valu Name Valu Name number number Math - 7 Line Draw - 7 HP Large Characters Norwegian v1 Roman Extensions French v1 HP German Hebrew - 7 Italian JIS ASCII Line Draw - 7 Math - 7 ECMA-94 Latin1 (8-bit 8859/1...
  • Page 195  attribute = 2 : Spacing Value Meaning Monospacing Proportional spacing  attribute = 3 : Pitch Specify pitch in characters per inch (cpi). The pitch value you specify can be in the range 0 to 32767.9999. Pitch only applies to monospaced fonts. ...
  • Page 196 AD - Define alternate font AD [ attribute, value ] [..] [;] attribute : a font attribute to be defined value : the value of the attribute  This command allows you to define the alternate font and its attribute. ...
  • Page 197 FI - Select primary font FI font-ID [;] font-ID ; the identity number of any accessible font.  This command allows you to select any accessible font, which has previously been given an identity number in LaserJet mode, as the primary (standard) font. All subsequently printed labels will appear in the primary font.
  • Page 198 DT - Define label terminator DT [ c [, m ]] [;] c : Character m : mode  This command allows you to specify the character that terminates strings printed with the LB instruction.  The character immediately following DT is taken to be the terminator. Hence, do not put a space between the DT and your chosen character.
  • Page 199  When you use an LO instruction the carriage return point is set to be the new label origin. To send the pen back to a label's origin when you have finished printing it, include a carriage return between the last character of the label and the terminating character.
  • Page 200 90 LPRINT "DT";" 100 LPRINT "DT0,2;LB_*_1988#"; "DI2,2;LB_*_1989#"; 110 LPRINT "DT2,0;LB_*_1990#"; "DI2,-2;LB_*_1991#"; 120 LPRINT "DT0,-2;LB_*_1992#"; "DI-2,-2;LB_*_1993#"; 130 LPRINT "DT-2,0;LB_*_1994#"; "DI-2,2;LB_*_1995#"; 140 LPRINT "PA3500,5350;DI", COS(0),SIN(0); "LB_*_2000"; CHR$(13); "#"; 150 LPRINT "DI", COS(RAD); SIN(RAD); "LB_RETURN POINT"; CHR$(13); "#"; 160 LPRINT CHR$(27); "%0A"; 170 LPRINT CHR$(27); "E"; 180 END <sample 54>...
  • Page 201 DV - Define variable text path DV [ path [,line]] [;] path : text printing path - horizontal or vertical, and left to right, right to left, upwards or downwards. line: the effect of a line feed.  This command determines the printing direction for labels and the carriage return point. ...
  • Page 202 CF - Character fill mode CF [ fill [, pen ]] [;] fill : the fill pattern used to fill characters pen : the pen used to edge characters  This command determines how characters are edged and filled.  Only scalable fonts can be both filled and edged - bitmap fonts and the stick font cannot be edged and can only be filled with raster fill, shading or PCL cross-hatch patterns.
  • Page 203 10 ' -Absolute Character Size- 20 WIDTH "LPT1:", 255 30 LPRINT CHR$(27); "E"; 40 LPRINT CHR$(27); "%0B"; 50 LPRINT "IN;SP1;"; 60 LPRINT "PA700,3000;DT#;LBPrinter#" 70 LPRINT "PA700,2000;SI0.75,1;LBPrinter#" 80 LPRINT "SI;SD1,21,2,1,3,12,5,0,6,0,7,52;SS;" 90 LPRINT "PA40003000;LBPrinter#" 100 LPRINT "PA4000,2000;SI1,1.5;LBPrinter#" 110 LPRINT CHR$(27); "%0A"; 120 LPRINT CHR$(27); "E"; 130 END <Sample 57>...
  • Page 204 10 ' -Character Slant- 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,25,5,0,6,0,7,5;SI0.7,1;" 70 LPRINT "PA1000,1000;DT#,1;SL0.36,LBPrinter#" 80 LPRINT "PA1000,300;SL-0.36;LBPrinter#" 90 LPRINT CHR$(27); "%0A"; 100 LPRINT CHR$(27); "E"; 110 END <Sample 59> SB - Scalable or bitmap fonts SB [ n ] [;] n : font category selection...
  • Page 205  mode is set to either 0 or 1. If mode is set to 0, control codes perform their normal functions and are not printed. If mode=1, all characters are printed, if possible. No control characters perform any function except the label terminator. Any non-printing or undefined characters appear as a space. ...
  • Page 206: Index

    INDEX Absolute arc three point ..........21 hard clip limits ..............7 absolute commands ............8 Absolute direction ............45 Anchor corner ..............30 anchor point ............... 7 image plots ............... 11 Initialize command ............12 Initialize set instruction ............ 13 Input relative scaling points ..........
  • Page 207 Select primary font ............43 Transparency mode ............36 Select secondary font ............43 Transparent data ............... 50 Select standard font ............42 Select unit for pen width ..........37 separators ................9 Set absolute character size ..........48 user units ................7 Set relative character size ..........
  • Page 208 CHAPTER 5 PRINTER JOB LANGUAGE   CHAPTER 5 PJL - 1...
  • Page 209 ONTENTS INTRODUCTION ........................4 1.1. About PJL ........................... 4 1.2. In Case of Using PJL with a Non-PJL Printer ................5 1.2.1. PCL jobs ..............................5 1.2.2. Postscript jobs ............................5 1.2.3. Other printer languages .......................... 5 1.3. PJL Syntax and Format ......................6 1.4.
  • Page 210 6.2. Variables ........................... 18 6.2.1. Variables for HL-1050/1070/1250/1270N/1450/1470N/P2500/1650/1670N/3260N/2460/ 7050/1850/1870N/5040/5050/5070N/5140/5150D/5170DN/6050/6050D/6050DN/8050N/ 2070N/5240/5250DN/5270DN/5280DW/2140/2150N/2170W/5340D/5350DN/5370DW/5380DN/2130/2240D/ 2250DN/2270DW/4140CN/4150CDN/4570CDW/5440D/5450DN/5470DW/6180DW/S7000DN/3140CW/3150 CDW/3150CDN/3170CDW/1110/HL1111/1112/1118/L8250CDN/L8350CDW(T)/L9200CDW(T)/ L9300CDW(T)/L8260CDN/L8260CDW/L8360CDW(T)/L9310CDW/L2300/L2300D/L2320D/L2321D/2260/ 2260D/L2305W/L2340DW/L2360DN/L2361DN/2560DN/L2360DW/L2365DW/L2366DW/2569DW/1212W/ 1210W/1210WR/1212WR/1210WE/1211W/1218W/1200/1201/1202/1208/L5000D/5580D/5585D/5595DN/ L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L6300 DW(T)/L6400DW(T)/L6402DW .......................... 18 6.2.2. Variables for HL- 1660e/2060/2400C/2400Ce/3400CN/2600CN/3450CN/2700CN/4040CN/4050CDN/4070CDW/3040CN/3045 CN/3070CW/3075CW ............................49 6.3. Default Command ........................54 6.4. Initialize Command ........................54 6.5. Reset Command ........................55 6.6.
  • Page 211: Introduction

    INTRODUCTION 1.1. About PJL Printer Job Language(PJL) provides job status control by sending the printer status information to the application. PJL can be a valuable tool for the single-user environment, but is a much more useful tool for the networking / sharing environment. Emulations ( BR-Script, PCL, IBM, EPSON etc...
  • Page 212: In Case Of Using Pjl With A Non-Pjl Printer

    1.2. In Case of Using PJL with a Non-PJL Printer Our recent printer models support PJL, however, earlier models do not . If the PJL commands are sent to a non-PJL printer, the printer acts as follows; 1.2.1. PCL jobs For a PCL printer which does not support the PJL language, the PJL command is printed as ASCII text until initial PCL printer reset command (<ESC>E) is received.
  • Page 213: Pjl Syntax And Format

    1.3. PJL Syntax and Format Syntax <For Example> @PJL ENTER LANGUAGE = emulation [<CR>]<LF> @PJL PJL Prefix ENTER Command name LANGUAGE Option name @PJL ENTER LANGUAGE Enter this portion verbatim The words in brackets [ ... ] indicates optional parameters. You should not type the brackets themselves in the command.
  • Page 214: Variables

    1.4. Variables PJL can use alphanumeric variables, numeric variabless and strings. 1.4.1. Alphanumeric variables The first character must always be a character in the allowable range of letters and digits. Letters consists of the uppercase characters (ASCII 65-90) and lowercase characters (ASCII 97-122). Digits consists of the numbers 0-9 (ASCII 48-57).
  • Page 215: How To Use Pjl

    HOW TO USE PJL 2.1. Overview PJL resides "above" printer languages such as Postscript and PCL. Each job can be distinguished from the other jobs by PJL, and it can switch between PJL commands and printer language commands for each job. PJL Code PCL Job PJL Code...
  • Page 216: Command Group

    COMMAND GROUP Command Group Command Command Description Kernel Commands Exits current printer language and returns control to PJL. EXECUTE Orders the printer to execute the specified operation. COMMENT Comments can be placed in the command line ENTER Selects a printer language Job Separation Informs printer of job start Commands...
  • Page 217: Kernel Commands

    <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-1050/1070/1250/1270N/1450/1470N/P2500/2400C/2400Ce/ 3400CN/1650/1670N/3260N/2460/7050/1850/1870N/5040/5050/5070N/5140/5150D/5170DN/2600CN/345 0CN/6050/6050D/ 6050DN/8050N/2700CN/2070N/5240/5250DN/5270DN/5280DW/4040CN/4050CDN /4070CDW/2140/2150N/2170W/5340D/5350DN/5370DW/5380DN/3040CN/3045CN/3070CW/3075CW/2 130/2240D/2250DN/2270DW/4140CN/4150CDN/4570CDW/5440D/5450DN/5470DW/6180DW/S7000D N/3140CW/3150CDW/3150CDN/3170CDW/1110/1111/1112/1118/L8250CDN/L8350CDW(T)/L9200CD W(T)/L9300CDW(T)/ L8260CDN/L8260CDW/L8360CDW(T)/L9310CDW/ L2300/L2300D/L2320D/L2321D/2260/2260D/L2305W/L2340DW/L2360DN/L2361DN/2560DN/L2360D W/L2365DW/L2366DW/2569DW/1212W/1210W/1210WR/1212WR/1210WE/1211W/1218W/1200/1201/ 1202/1208 printers.
  • Page 218: Enter Command

     If the printer receives this command, it immediately executes the specified operation.  If this command specifies an operation which is not supported, this command is ignored. Example <ESC>%-12345X@PJL<CR><LF> @PJL EXECUTE DEMOPAGE <CR><LF> <ESC>%-12345X 4.4. ENTER Command The ENTER command specifies which emulation the printer uses to print data. Syntax @PJL ENTER LANGUAGE = emulation [<CR>]<LF>...
  • Page 219: Printer Language Switching

    Example <ESC>%-12345X@PJL<CR><LF> @PJL COMMENT -----------------------------<CR><LF> @PJL COMMENT -- PCL & PS JOB --<CR><LF> @PJL COMMENT -----------------------------<CR><LF> @PJL <CR><LF> @PJL SET RET = ON <CR><LF> @PJL ENTER LANGUAGE = PCL <CR><LF> <ESC>E..PCL JOB..<ESC>E <ESC>%-12345X@PJL<CR><LF> @PJL COMMENT Start of Postscript job <CR><LF> @PJL ENTER LANGUAGE = POSTSCRIPT <CR><LF>...
  • Page 220: Job Separation Commands

    JOB SEPARATION COMMANDS 5.1. Introduction This section explains two PJL command, JOB and EOJ. These commands are used to determine the boundaries of a job. When these commands are used with status readback, the printer also can send status information at the beginning and end of each job. 5.2.
  • Page 221: Eoj Command

    Example <ESC>%-12345X@PJL<CR><LF> @PJL JOB NAME = "KKK data from spooler" <CR><LF> <ESC>%-12345X@PJL<CR><LF> @PJL COMMENT Postscript Job <CR><LF> @PJL JOB NAME = "YYY data from spooler 2" <CR><LF> @PJL ENTER LANGUAGE = POSTSCRIPT <CR><LF> %!PS..PS JOB..^D <ESC>%-12345X@PJL<CR><LF> @PJL EOJ NAME = "End of YYY data" <CR><LF> <ESC>%-12345X@PJL <CR><LF>...
  • Page 222: Environment Commands

    ENVIRONMENT COMMANDS 6.1. Introduction Our recent printers have many features which you are able to set using printer commands, through the printer control panel or by using the remote printer console program. A combination of PJL commands and printer emulation commands allows you to set printer features to the desired state. This chapter describes the setting of printer features known as printer environments, PJL commands you are able to use to set printer features to a desired state are as follows;...
  • Page 223: Pjl Reset Conditions

    The diagram below illustrates how the environments interact and how the modified print environment is affected. FACTORY DEFAULT ENVIRONMENT @PJL INITIALIZE CONTROL PANEL USER DEFAULT ENVIRONMENT OR @PJL DEFAULT @PJL RESET @PJL SET PJL CURRENT ENVIRONMENT LANGUAGE RESET, @PJL ENTER, OR ANY LANGUAGE SWITCH MODIFIED PRINT ENVIRONMENT 6.1.2.
  • Page 224 6. Always use the PJL RESET command after a job is completed if the SET command is used in the PJL job. 6.1.4. PJL environment variables This section lists the PJL environment variables. There are two kinds of PJL environment variables, General PJL environment variables and Printer language -specific variables.
  • Page 225: Variables

    6.2. Variables 6.2.1. Variables for HL-1050/1070/1250/1270N/1450/1470N/P2500/1650/1670N/3260N/2460/ 7050/1850/1870N/5040/5050/5070N/5140/5150D/5170DN/6050/6050D/6050DN/8050N/ 2070N/5240/5250DN/5270DN/5280DW/2140/2150N/2170W/5340D/5350DN/5370DW/538 0DN/2130/2240D/2250DN/2270DW/4140CN/4150CDN/4570CDW/5440D/5450DN/5470D W/6180DW/S7000DN/3140CW/3150CDW/3150CDN/3170CDW/1110/HL1111/1112/1118/ L8250CDN/L8350CDW(T)/L9200CDW(T)/L9300CDW(T)/L8260CDN/L8260CDW/L8360C DW(T)/L9310CDW/L2300/L2300D/L2320D/L2321D/2260/2260D/L2305W/L2340DW/L236 0DN/L2361DN/2560DN/L2360DW/L2365DW/L2366DW/2569DW/1212W/1210W/1210WR /1212WR/1210WE/1211W/1218W/1200/1201/1202/1208/L5000D/5580D/5585D/5595DN/ L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6200DW(T)/L6202DW/L6250D N/L6250DW/L6300DW(T)/L6400DW(T)/L6402DW General PJL Environment Variables The PJL environment variables which are not printer language-specific are listed in the following table. When using these variables, do not use LPARM.
  • Page 226 D/2250DN/2270DW) 1 to 7 (HL-4140CN/ 4150CDN/4570CDW/5440D/5450DN/5470DW/6180DW/S7000DN/3140CW/3150CDW/3150CDN/3170CDW/L8250CDN/L8350CDW(T) /L9200CDW(T)/L9300CDW(T))/L8260CDN/L8260CDW/L8360CDW(T)/L9310CDW/L2300/L2300D/L2320D/L2321D/2260/2260D/L2305 W/L2340DW/L2360DN/L2361DN/2560DN/L2360DW/L2365DW/L2366DW/2569DW/1212W/1210W/ /1210WR/1212WR/1210WE/1211W/1218W/L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6 200DW(T)/L6202DW/L6250DN/L6250DW/L6300DW(T)/L6400DW(T)/L6402DW) XOFFSET Sets the X offset ( horizontal offset ) value. -500 to 500 dots (HL-1050/1070/1250/1270N/1450/1470N/P2500/ 1650/1670N/2460/7050/1850/ 1870N/5040/5050/5070N/5140/ 5150D/5170DN/6050/6050D/ 6050DN/8050N/2070N/5240/5250DN/5270DN/5280DW/2140/2150N/2170W/5340D/5350DN/5370DW/5380DN/2130/2240D/2250DN/22 70DW /4140CN/ 4150CDN/4570CDW/5440D/5450DN/5470DW/6180DW/S7000DN/3140CW/3150CDW/3150CDN/3170CDW/1110/1111/1112/1118/L82 50CDN/L8350CDW(T)/L9200CDW(T)/L9300CDW(T)/L8260CDN/L8260CDW/L8360CDW(T)/L9310CDW/L2300/L2300D/L2320D/L2321 D/2260/2260D/L2305W/L2340DW/L2360DN/L2361DN/2560DN/L2360DW/L2365DW/L2366DW/2569DW/1212W/1210W/1210WR/1212 WR/1210WE/1211W/1218W/1200/1201/1202/1208/L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L520 2DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L6300DW(T)/L6400DW(T)/L6402DW) -104 to 500 dots (HL-3260N) YOFFSET Sets the Y offset ( vertical offset ) value.
  • Page 227 Sets the reprint function ON or OFF. ON or OFF (HL-1050/1070/1250/1270N/1450/1470N/P2500) ON, OFF or JOB (HL-1650/ 1670N/3260N/2460/7050/1850/ 1870N/5040/5050/5070N/5140/ 5150D/5170DN/6050/6050D/ 6050DN/8050N/2070N/5240/5250DN/5270DN/5280DW/2140/2150N/2170W/5340D/5350DN/5370DW/5380DN) OFF or JOB(HL-4140CN/ 4150CDN/4570CDW/5440D/5450DN/5470DW/6180DW/3140CW/3150CDW/3150CDN/3170CDW) DEMOPRINT Enables the Demo page printing. ON or OFF (HL-1050/1070/1250/ 1270N/1450/1470N/P2500/1650/ 1670N/2460/7050/1850/1870N/ 5040/5050/5070N/5140/5150D/ 5170DN/6050/6050D/6050DN/ 8050N/2070N/5240/5250DN/5270DN/5280DW/2140/2150N/2170W/5340D/5350DN/5370DW/5380DN/2130/2240D/2250DN/2270DW /4140CN/ 4150CDN/4570CDW/5440D/5450DN/5470DW/6180DW/3140CW/3150CDW/3150CDN/3170CDW/L8250CDN/L8350CDW(T)/L9200CD W(T)/L9300CDW(T)/L2300/L2300D/L2320D/L2321D/2260/2260D/L2305W/L2340DW/L2360DN/L2361DN/2560DN/L2360DW/L2365D W/L2366DW/2569DW/L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6200DW(T)/L6202DW...
  • Page 228 Variables Description Sample Value Range ENGLISH, FRENCH, GERMAN, DUTCH, NORWEGIAN, SPANISH, ITALIAN, SWEDISH, DANISH, JAPANESE (HL- 1650/1670N/1850/1870N/ 5040/5050/5070N/5140/5150D/ 5170DN) ENGLISH, FRENCH, GERMAN, DUTCH, SPANISH, ITALIAN, DANISH (HL-3260N) ENGLISH, FRENCH, GERMAN, DUTCH, SPANISH, ITALIAN, NORWEGIAN, DANISH, SWEDISH (HL-2460/7050) ENGLISH,FRENCH,GERMAN, DUTCH,SPANISH,ITALIAN, NORWEGIAN,DANISH, PORTUGUESE (HL-6050/ 6050D/6050DN) 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)
  • Page 229 Variables Description Sample Value Range PASSWORD Password for panel lock to write to the NVRAM with the 0 to 65535 (HL-1650/1670N/ 3260N/2460/7050/1850/1870N/ 5040/5050/5070N/5140/5150D/ 5170DN/6050/6050D/6050DN/ DEFAULT/INITIALIZE command. 8050N/2070N/5240/5250DN/5270DN/5280DW/2140/2150N/2170W/5340D/5350DN/5370DW/5380DN2130/2240D/2250DN/2270DW/41 40CN/ 4150CDN/4570CDW/5440D/5450DN/5470DW/6180DW/S7000DN/3140CW/3150CDW/3150CDN/3170CDW/L8250CDN/L8350CDW(T) /L9200CDW(T)/L9300CDW(T)/L8260CDN/L8260CDW/L8360CDW(T)/L9310CDW/L2305W/L2340DW/L2360DN/L2361DN/2560DN/L23 60DW/L2365DW/L2366DW/2569DW/1212W/1210W/1210WR/1212WR/1210WE/1211W/1218W/L5000D/5580D/5585D/5595DN/L5102 DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L6300DW(T)/L6400DW(T)/L6402DW) BIDI ON or OFF (HL-1650/1670N/ 3260N/2460/7050/1850/1870N/ 5040/5050/5070N/5140/5150D/ 5170DN/6050/6050D/6050DN/ 8050N/2070N/5240/5250DN/5270DN/5280DW/5340D/5350DN/5370DW/5380DN) POWERSAVE Sets the power save mode ON or OFF.
  • Page 230 Variables Description Sample Value Range REGULAR, THICK, THICK2, THIN, BONDENVELOPES, ENVTHICK, ENVTHIN, RECYCLED, POSTCARD, LABEL, COLOR, HOLEPUNCHED (HL- L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L 6300DW(T)/L6400DW(T)/L6402DW) Configuration 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/5250DN/5270DN/5280DW/2140/2150N/2170W/5340D/5350DN/5370DW/5380DN/2130/2240D/2250DN/22 70DW/4140CN/4150CDN/4570CDW/5440D/5450DN/5470DW/6180DW/S7000DN/3140CW/3150CDW/3150CDN/3170CDW/ L8250CDN/L8350CDW(T)/L9200CDW(T)/L9300CDW(T)/L8260CDN/L8260CDW/L8360CDW(T)/L9310CDW/L2300/L2300D/L2320D/L2...
  • Page 231 Variables Description Sample Value Range LETTER, LEGAL, EXECUTIVE, A4, JISB5, B5, A5, B6, A6, COM10, DL, MONARC, C5, A4LONG, ANY (HL-7050) LETTER, LEGAL, EXECUTIVE, A4, JISB5, B5, A5, B6, A6, COM10, DL, MONARC, C5, A4LONG, ANY, FOLIO, POSTCARD, ORGANIZERJ, ORGANIZERK, ORGANIZERM, ORGANIZERL, USERDEFINED, DLL (HL- 6050/6050D/6050DN/5240/5250DN/5270DN/5280DW) LETTER, LEGAL, EXECUTIVE, A4, B5, A5, A6, JISB5, B6, COM10, C5, DL, MONARCH (HL-8050N) LETTER, LEGAL, EXECUTIVE, A4, JISB5, B5, A5, B6, A6, COM10, DL, MONARC, C5, A4LONG, ANY, FOLIO, POSTCARD,...
  • Page 232 Variables Description Sample Value Range LETTER, LEGAL, MEXICANLEGAL, INDIALEGAL, A4, EXECUTIVE, JISB5, A5, JISB5, A5, POSTCARD, FOLIO, A5L, ROCK16K, SIXTEENK195X270, SIXTEENK184X260 (HL- L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L 6300DW(T)/L6400DW(T)/L6402DW) INTRAY3SIZE Selects the paper size in Tray3. LETTER, LEGAL, EXECUTIVE, A3, A4, B5, A5, A6, COM10, C5, DL, MONARCH, LEDGER, JISB4, LTRS, A4S, EXECUTIVES, B5S Selects the paper size in Tray2 (HL- A4, LETTER, B5, EXECUTIVE, ENVELOPES, LEGAL, A5, B6, A6, A4LONG, NO CASSETTE (HL-2460) 7050/6050/6050D/6050DN/5240/5250DN/5270DN/5280DW/5340D/5350...
  • Page 233 Variables Description Sample Value Range SOURCETRAY Selects the paper source tray. AUTO, MPTRAY, TRAY1, TRAY2 (HL-1650/1670N/1850/ 1870N/5040/5050/5070N/5140/ 5150D/5170DN/6050/6050D/ 6050DN/4140CN/4150CDN/4570CDW /5440D/5450DN/5470DW/6180DW/L8250CDN/L8350CDW(T)/L9200CDW(T)/L9300CDW(T))/L8260CDN/L8260CDW/L8360CDW(T)/L9 310CDW/ AUTO, MPTRAY, TRAY1, TRAY2, TRAY3 (HL-5240/5250DN/5270DN/5280DW/5340D/5350DN/5370DW/5380DN) AUTO, TRAY1, TRAY2, TRAY3, TRAY4, MPTRAY (HL-3260N/2460/7050/S7000DN) TRAYID1, TRAYID2, TRAYID3, TRAYID4 (HL-2460/ 7050/S7000DN) AUTO, TRAY1, TRAY2, TRAY3, TRAY4 (HL-8050N) AUTO, TRAY1 (HL-2070N/2140/2150N/2170W/HL-3140CW/HL-3150CDW/HL-3150CDN/HL-3170CDW/HL-1110/HL-1111/HL-1112/HL- 1118/ HL-1212W, 1210W, 1210WR, 1212WR, 1210WE, 1211W, 1218W...
  • Page 234 Variables Description Sample Value Range 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, C5, USERDEFINED (HL-8050N) ANY, LETTER, LEGAL, A4, EXECUTIVE, B5, A5, A6, B6, JISB5, FOLIO (HL-5240/5250DN/5270DN/5280DW) ANY, LETTER, LEGAL, A4, EXECUTIVE, JISB5, B5, A5, B6, A6, FOLIO, POSTCARD, A5L(HL-5340D/5350DN/5370DW/5380DN) ANY,LETTER,LEGAL,A4,EXECUTIVE,JISB5,B5,A5,B6,A6,FOLIO,POSTCARD,A5L,JISB6 (HL-4140CN/4150CDN/4570CDW)
  • Page 235 Variables Description Sample Value Range TRAY4SIZE 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,JISB5,A5,FOLIO(HL-S7000DN) LETTER, LEGAL, MEXICANLEGAL, INDIALEGAL, A4, EXECUTIVE, JISB5, A5, FOLIO, ROCK16K, SIXTEENK195X270, SIXTEENK184X260 (HL- L8260CDN/L8260CDW/L8360CDW(T)/L9310CDW/L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L520 2DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L6300DW(T)/L6400DW(T)/L6402DW)
  • Page 236 Variables Description Sample Value Range BITMAPFPROD Creates bold and italic fonts from bitmap fonts. ON or OFF (HL-1650/1670N/ 2460/7050/1850/1870N/5040/ 5050/5070N/5140/5150D/ 5170DN/6050/6050D/6050DN/ 8050N/2070N/5240/5250DN/5270DN/5280DW/2150N/2170W/5340D/5350DN/5370DW/5380DN/2250DN/2270DW/4140CN/4150CDN/ 4570CDW/5440D/5450DN/5470DW/6180DW/S7000DN/3140CW/3150CDW/3150CDN/3170CDW/L8250CDN/L8350CDW(T)/L9200CD W(T)/L9300CDW(T)/L8260CDN/L8260CDW/L8360CDW(T)/L9310CDW/L2360DN/L2361DN/2560DN/L2360DW/L2365DW/L2366DW/2 569DW/L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6200DW(T)/L6202DW/L6250DN/L62 50DW/L6300DW(T)/L6400DW(T)/L6402DW) OEMFONT Enables EC font ON or OFF (HL-1650/1670N/ 2460/7050/1850/1870N/5040/ 5050/5070N/5140/5150D/ 5170DN/6050/6050D/6050DN/ 8050N/2070N/5240/5250DN/5270DN/5280DW/2150N/2170W/5340D/5350DN/5370DW/5380DN/2250DN/2270DW/4140CN/4150CDN/ 4570CDW/5440D/5450DN/5470DW/6180DW/S7000DN/3140CW/3150CDW/3150CDN/3170CDW/L8250CDN/L8350CDW(T)/L9200CD W(T)/L8260CDN/L8260CDW/L8360CDW(T)/L9310CDW/ /L2360DN/L2361DN/2560DN/L2360DW/L2365DW/L2366DW/2569DW/L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/ L5200DW(T)/L5202DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L6300DW(T)/L6400DW(T)/L6402DW) COMPABITMAP...
  • Page 237 Variables Description Sample Value Range ISRFONT Sets the Israeli font ON or OFF. ON or OFF (HL-1650/1670N/ 2460/7050/1850/1870N/5040/ 5050/5070N/5140/5150D/ 5170DN/6050/6050D/6050DN/ 8050N/2070N/5240/5250DN/5270DN/5280DW/2150N/2170W/5340D/5350DN/5370DW/5380DN/2250DN/2270DW/4140CN/4150CDN/ 4570CDW/5440D/5450DN/5470DW/6180DW/S7000DN/3140CW/3150CDW/3150CDN/3170CDW/L8250CDN/L8350CDW(T)/L9200CD W(T)/L9300CDW(T)/L8260CDN/L8260CDW/L8360CDW(T)/L9310CDW/L2360DN/L2361DN/2560DN/L2360DW/L2365DW/L2366DW/2 569DW/1212W/1210W/1210WR/1212WR/1210WE/1211W/1218W/L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5 200DW(T)/L5202DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L6300DW(T)/L6400DW(T)/L6402DW) TRANSFER Selects the transfer current. AUTO, LOW, HIGH (HL-1650/ 1670N/1850/1870N/5040/5050/ 5070N/5140/5150D/5170DN/ 2070N/5240/5250DN/5270DN/5280DW/2140/2150N/2170W/5340D/5350DN/5370DW/5380DN2130/2240D/2250DN/2270DW) PARALLEL FAST, SLOW (HL-1650/1670N/ 1850/1870N/5040/5050/5070N/ 5140/5150D/5170DN/6050/ 6050D/6050DN/2070N/5240/5250DN/5270DN/5280DW/5340D/5350DN/5370DW/5380DN) ERRORPRINT OFF, ON, EXCEPTCDCC...
  • Page 238 Variables Description Sample Value Range MPT1T2, T1T2MP, T1T2, T1MPT2 (HL-6050/6050D/ 6050DN/5240/5250DN/5270DN/5280DW/5340D/5350DN/5370DW/5380DN) T1T2T3T4, T4T3T2T1 (HL-8050N) MPT1T2,MPT2T1,T1T2MP,T2T1MP,T1T2,T2T1,T1MPT2,T2MPT1 (HL- 4140CN/4150CDN/4570CDW/5440D/5450DN/5470DW/6180DW/L8250CDN/L8350CDW(T)/L9200CDW(T)/L8260CDN/L8260CDW/L83 60CDW(T)/L9310CDW/) MPT1T2T3,MPT3T2T1,T1T2T3MP,T3T2T1MP (L9300CDW(T)) MPT1T2,MPT2T1,T1T2MP,T2T1MP (HL- L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L 6300DW(T)/L6400DW(T)/L6402DW) FFSUPPRESS ON or OFF (HL-1650/1670N/ 3260N/2460/7050/1850/1870N/ 5040/5050/5070N/5140/5150D/ 5170DN/6050/6050D/6050DN/ 8050N/2070N/5240/5250DN/5270DN/5280DW/2140/2150N/2170W/5340D/5350DN/5370DW/5380DN/2130/2240D//2250DN/2270DW/4 140CN/4150CDN/4570CDW/5440D/5450DN/5470DW/6180DW/S7000DN/3140CW/3150CDW/3150CDN/3170CDW/1110/1111/1112/1 118/L8250CDN/L8350CDW(T)/L9200CDW(T)/L9300CDW(T)/L8260CDN/L8260CDW/L8360CDW(T)/L9310CDW/L2300/L2300D/L2320 D/L2321D/2260/2260D/L2305W/L2340DW/L2360DN/L2361DN/2560DN/L2360DW/L2365DW/L2366DW/2569DW/1212W/1210W/1210 WR/1212WR/1210WE/1211W/1218W/1200/1201/1202/1208/L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200D W(T)/L5202DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L6300DW(T)/L6400DW(T)/L6402DW) 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/5280DW/5380DN) FAXRINGDELAY...
  • Page 239 Variables Description Sample Value Range COLLATE Sets the collate printing. ON or OFF (HL-2460/7050/6050/ 6050D/6050DN/8050N/L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6200DW(T)/L6202DW /L6250DN/L6250DW/L6300DW(T)/L6400DW(T)/L6402DW/L8260CDN/L8260CDW/L8360CDW(T)/L9310CDW/) TIMESETYEAR 1998 to 2039 (HL-3260N/2460/ 7050/8050N) TIMESETMONTH 1 to 12 (HL-3260N/2460/7050/ 8050N) TIMESETDAY 1 to 31 (Hl-3260N/2460/7050/ 8050N) TIMESETHOUR 0 to 23 (HL-3260N/2460/7050/ 8050N) TIMESETMIN 0 to 59 (HL-3260N/2460/7050/ 8050N) TIMESETSEC...
  • Page 240 Variables Description Sample Value Range DX1JOB1PAGE Sets 1JOB1PAGE Printing mode. SIMPLEX, DUPLEX (HL-1850/ 1870N/5040/5050/5070N/5140/ 5150D/5170DN/6050/6050D/ 6050DN/8050N/5250DN/5270DN/5280DW/5340D/5350DN/5370DW/5380DN/2240D/2250DN/2270DW/4140CN/4150CDN/4570CDW/5 440D/5450DN/5470DW/6180DW/S7000DN/3140CW/3150CDW/3150CDN/3170CDW/L8250CDN/L8350CDW(T)/L9200CDW(T)/L9300 CDW(T)/L8260CDN/L8260CDW/L8360CDW(T)/L9310CDW/L2300/L2300D/L2320D/L2321D/2260/2260D/L2305W/L2340DW/L2360DN/ L2361DN/2560DN/L2360DW/L2365DW/L2366DW/2569DW) As for HL-6050 series, supported ROM version is 1.18 or later. AUTOONLINE Sets auto return function from setting Panel mode to Ready mode. ON, OFF (HL-7050/6050/6050D/ 6050DN/5270DN/5280DW/5380DN/4140CN/4150CDN/4570CDW/5440D/5450DN/5470DW/6180DW/S7000DN/3140CW/3150CDW/31 50CDN/3170CDW/L8250CDN/L8350CDW(T)
  • Page 241 Variables Description Sample Value Range MPTRAY, TRAY1, TRAY2, TRAY3, TRAY4, TRAY5 (HL- L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L 6300DW(T)/L6400DW(T)/L6402DW) CARBON3TRAY Select input tray for the first page. REMAINING, MP, TRAY1, TRAY2 (If available) (HL-6050/ 6050D/6050DN/5270DN/5280DW/5380DN) MPTRAY, TRAY1, TRAY2, TRAY3, TRAY4, TRAY5 (HL- L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L 6300DW(T)/L6400DW(T)/L6402DW) CARBON4TRAY Select input tray for the first page.
  • Page 242 Variables Description Sample Value Range CARBON5MACRO Sets if a Macro is added to fifth page or not. OFF, ON (HL-6050/6050D/ 6050DN/5270DN/5280DW/5380DN/L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6200DW( T)/L6202DW/L6250DN/L6250DW/L6300DW(T)/L6400DW(T)/L6402DW) CARBON6MACRO Sets if a Macro is added to sixth page or not. OFF, ON (HL-6050/6050D/ 6050DN/5270DN/5280DW/5380DN/L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6200DW( T)/L6202DW/L6250DN/L6250DW/L6300DW(T)/L6400DW(T)/L6402DW) CARBON7MACRO Sets if a Macro is added to seventh page or not. OFF, ON (HL-6050/6050D/ 6050DN/5270DN/5280DW/5380DN/L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6200DW( T)/L6202DW/L6250DN/L6250DW/L6300DW(T)/L6400DW(T)/L6402DW)
  • Page 243 PCL-Specific Variables The following values are PCL (HP LaserJet emulation) specific and can be set and requested using PJL. These variables must be set using the LPARM : PCL option. CHAPTER 5 PJL - 36...
  • Page 244 POSTCARD, FOLIO, P3X5, ENVYOU4, JENVCHOU4, JENVCHOU3, A5L, ROC16K, SIXTEENK195X270, SIXTEENK184X260 (HL- L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/L5202DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L 6300DW(T)/L6400DW(T)/L6402DW) ORIENTATION Sets the orientation. PORTRAIT or LANDSCAPE LEFTMARGIN Sets the left margin. 0 to 126 columns (HL-1050/1070/1250/1270N/1450/1470N/P2500/3260N/2460/7050/6050/6050D/ 6050DN/8050N/5440D/5450DN/5470DW/6180DW/S7000DN/3170CDW/L8250CDN/L8350CDW(T)/L9200CDW(T)/L9300CDW(T)/L236 0DN/L2361DN/2560DN/L2360DW/L2365DW/L2366DW/2569DW/L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L520 0DW(T)/L5202DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L6300DW(T)/L6400DW(T)/L6402DW) 0 to 145 columns (HL-1650/ 1670N/1850/1870N/5040/5050/ 5070N/5140/5150D/5170DN/ 2070N/2150N/2170W/5240/5250DN/5270DN/5280DW/5340D/5350DN/5370DW/5380DN/2250DN/2270DW/4140CN/4150CDN/4570CD RIGHTMARGIN Sets the right margin...
  • Page 245 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 (All models) OCRA, OCRB, SYMBOL, WDINGS (HL-1050/1070/1250/1270N/1450/1470N/P2500/1650/ 1670N/1850/1870N/5040/5050/ 5070N/5140/5150D/5170DN/ 6050/6050D/6050DN/8050N/...
  • Page 246 Variables Description Sample Value Range PC1004,WINBALT,SYMBOL,OCRA,OCRB,WDINGS,HEBREW7, ,ISOL6,PC775,ABIBP,ABIINTL,RUSSIAN,UKRAINIAN,PC866,PC8LG,PC851,WINGREEK,ISOLC,ISOGREEK,PC853,PC855,PC857,P C858,PC860,PC861,PC863,PC865,PC869,ISOL9,PC8B,PC8G,PC8PC,GREEK8,TURKISH8,ROMAN9,ROMANEXT,WINC(HL- 5440D/5450DN/5470DW/6180DW/S7000DN/HL-3170CDW) AUTOLF Sets AUTO LF ON or OFF AUTOCR Sets AUTO CR ON or OFF AUTOWRAP Sets AUTO WRAP ON or OFF AUTOSKIP Sets AUTO SKIP ON or OFF CHAPTER 5 PJL - 39...
  • Page 247 EPSON-Specific Variables The following values are EPSON (EPSON FX-850 emulation) specific and can be set and requested using PJL. These variables must be set using the LPARM : EPSON option. CHAPTER 5 PJL - 40...
  • Page 248 0, 0.33, 0.5, 1.0, 1.5, 2.0 inch FORMLINES Sets the number of lines. 5 to 128 lines FONTSOURC Sets the font source to Internal fonts or Permanent Soft I or S (HL-1050/1070/1250/1270N/1450/1470N/P2500/1650/1670N/ 1850/1870N/5040/5050/5070N/ Fonts 5140/5150D/5170DN/2070N/5240/5250DN/5340D/5350DN/5370DW/L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L 5200DW(T)/L5202DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L6300DW(T)/L6400DW(T)/L6402DW) I C1, C2, S (HL-3260N/2460/7050) I, C ,S (HL-6050/6050D/6050DN/ 8050N/5270DN/5280DW/5380DN)
  • Page 249 USASCII, GERMAN, UKASCI1, FRENCH1, DANISH1, ITALY, SPANISH, SWEDISH, JAPAN, NORWEG, DANISH2, UKASCI2, FRENCH2, DUTCH, SAFRICA, PC8, PC8DN, PC850, PC852, PC860, PC863, PC865, PC8TK, SYMBOL, WDINGS, OCRA, OCRB (HL-1050/1070/1250/1270N/1450/1470N/P2500) USASCII, GERMAN, UKASCII1, FRENCH1, DANISH1, ITALY SPANISH, SWEDISH, JAPANESE, NORWEGIAN, DANISH2, UKASCII2, FRENCH2, DUTCH, SOUTHAFRICAN, PC8, PC8DN, PC850, PC852, PC860, PC863, PC865, PC8TK (HL-1650/1670N/...
  • Page 250 IBM-Specific Variables The following values are IBM (IBM Proprinter XL emulation) specific and can be set and requested using PJL. These variables must be set using the LPARM : IBM option. CHAPTER 5 PJL - 43...
  • Page 251 0, 0.33, 0.5, 1.0, 1.5, 2.0 inch FORMLINES Sets the number of lines. 5 to 128 lines FONTSOURCE Sets the font source to Internal fonts or Permanent Soft I or S (HL-1050/1070/1250/1270N/1450/1470N/P2500/1650/1670N/ 1850/1870N/5040/5050/5070N/ Fonts 5140/5150D/5170DN/2070N/5240/5250DN/5340D/5350DN/5370DW/L5000D/5580D/5585D/5595DN/L5102DW/L5100DN(T)/5590DN/L5200DW(T)/ L5202DW/L6200DW(T)/L6202DW/L6250DN/L6250DW/L6300DW(T)/L6400DW(T)/L6402DW) I, C1, C2, S (HL-3260N)
  • Page 252 Variables Description Sample Value Range AUTOCR Sets AUTO CR ON or OFF AUTOMASK Sets AUTO MASK ON or OFF CHAPTER 5 PJL - 45...
  • Page 253 PostScript-Specific Variables The following values are PostScript ( BR-Script ) specific and can be set and requested using PJL. The BR- Script mode is standard in some models but may be available only when the optional BR-Script 2 ROM board is installed into the printer. These variables must be set using the LPARM : IBM option. CHAPTER 5 PJL - 46...
  • Page 254 Variables Description Sample Value Range PAPER Sets the paper size. LETTER, A4, LEGAL, A5, A6, B5, EXECUTIVE, JISB5 (All models) B6, COM10, MONARCH, C5, DL (HL-8050N) B6, COM10, MONARCH, C5, DL, A4LONG (HL-1650/1670N/2460/7050) A3, LEDGER, JISB4, LTRS, EXECUTIVES, B5S, COM10, MONARCH, C5, DL, A4LONG(HL-3260N) B6, COM10, MONARCH, C5, DL, DLL, POSTCARD, ORGANIZERJ, ORGANIZERK, ORGANIZERL, ORGANIZERM, FOLIO, USERDEF, A4LONG(HL-1850/1870N/5050/5070N/5150D/5170DN/6050/6050D/ 6050DN/5240/5250DN/5270DN/5280DW) B6, COM10, MONARCH, C5, DL, DLL, POSTCARD, FOLIO, A4LONG, A5L, P3X5, ENVYOU4, ENVCHOU3(HL-...
  • Page 255 HPGL-Specific Variables The following values are HPGL (HP LaserJet emulation) specific and can be set and requested using PJL. These variables must be set using the LPARM: HPGL option. Variables Description Sample Value Range PAPER Sets the paper LETTER, LEGAL, EXECUTIVE, A4, JISB5, B5, A5, B6, A6, COM10, DL, size.
  • Page 256: 1660E/2060/2400C/2400Ce/3400Cn/2600Cn/3450Cn/2700Cn/4040Cn/4050Cdn/4070Cdw/3040Cn/3045 Cn/3070Cw/3075Cw

    6.2.2. Variables for HL- 1660e/2060/2400C/2400Ce/3400CN/2600CN/3450CN/2700CN/4040CN/4050CDN/4070C DW/3040CN/3045CN/3070CW/3075CW General PJL Environment Variables The PJL environment variables which are not printer language-specific are listed in the following table. When using these valuables, do not use the LPARM command. CHAPTER 5 PJL - 49...
  • Page 257 Variables Description Sample Value Range COPIES Number of uncollated copies for each page of the job. 1 to 999 PAPER Paper size. LETTER, A4, LEGAL, MEXICANLEGAL, INDIALEGAL, EXECUTIVE, COM10, MONARCH, C5, DL, JISB5, A4LONG , B5, A5, A6, B6, DLL, POSTCARD, ORGANIZERJ, ORGANIZERK, ORGANIZERL, ORGANIZERM, FOLIO, P3X5, ENVYOU4, ENVCHOU3, JENVCHOU3, JENVCHOU4, A3, LEDGER, JISB4, LTRS, EXECUTIVES, B5S, USERDEF ORIENTATION Page orientation.
  • Page 258 Variables Description Sample Value Range INTRAY5SIZE Returns the size information for the optional lower paper cassette. (same as INTRAY1SIZE) INTRAY6SIZE Returns the size information for the optional lower paper cassette. (same as INTRAY1SIZE) SOURCETRAY Selects the paper source tray. AUTO, MPTRAY, TRAY1, TRAY2, TRAY3, TRAY4, TRAY5 XOFFSET Sets the X offset ( horizontal offset ) value.
  • Page 259 Variables Description Sample Value Range 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 hh/mm) SUMMERTIME Clock: summer time setting OFF, ON...
  • Page 260 PCL-Specific Variables The following values are PCL (HP LaserJet emulation) specific and can be set and requested using PJL. These variables must be set using the LPARM : PCL option. Variables Description Sample Value Range FONTSOURCE The valid values for FONTSOURCE are I, C, C1, S, I (Internal Fonts) C (Cartridge Fonts)
  • Page 261: Default Command

    6.3. Default Command The DEFAULT command changes the User-Default environment which is stored in NV-RAM and it is activated following a PJL reset condition. The current print environment is not affected by the DEFAULT command, but when a PJL reset condition happens, this command takes effect. This doesn't change the current print environment, but is activated when a PJL reset condition happens.
  • Page 262: Reset Command

    6.5. Reset Command The PJL RESET command resets the PJL Current Environment variables to the User Default values. Use this command at the end of any PJL jobs in which the PJL SET command was used. Syntax @PJL RESET [<CR>]<LF> Parameters ...
  • Page 263 Examples: <ESC>%-12345X@PJL <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>...
  • Page 264: Status Readback Commands

    STATUS READBACK COMMANDS 7.1. Introduction Applications can request, by sending a PJL command to the printer, information such as the configuration and status of the printer. The printer can be programmed to send back this information when requested and also can send back voluntarily unsolicited information of its status such as cover open, off-line state, toner empty, displayed prompt message on the LCD and other necessary information.
  • Page 265: Inquire Command

    7.2. Inquire Command The INQUIRE command is used in order to get the information of the current value of a specified variable in the PJL DEFAULT setting. (PJL environment). It is possible to get the information for variables the value of which PJL cannot change (Read-only). This INQUIRE command can request only one variable at a time.
  • Page 266: Dinquire Command

    Example 2 : This example requests the PCL-specific settings. <ESC>%-12345X@PJL <CR><LF> @PJL COMMENT ***Inquiring PCL settings*** <CR><LF> @PJL ECHO 19:20:05 02-20-1993 <CR><LF> @PJL INQUIRE LPARM:PCL FONTSOURCE<CR><LF> @PJL INQUIRE LPARM:PCL FONTNUMBER<CR><LF> <ESC>%-12345X The printer may return the following response for the above INQUIRE commands : @PJL ECHO 19:20:05 02-20-1993 <CR><LF>...
  • Page 267: Echo Command

    Examples Example 1 : This example requests the current print environment settings for RET, PAPER, and ORIENTATION : <ESC>%-12345X@PJL <CR><LF> @PJL COMMENT ***Requesting*** <CR><LF> @PJL COMMENT about User Default Settings** <CR><LF> @PJL ECHO 20:30:00 02-20-1993<CR><LF> @PJL DINQUIRE RET<CR><LF> @PJL DINQUIRE PAPER<CR><LF> @PJL DINQUIRE ORIENTATION<CR><LF>...
  • Page 268: Info Command

    Response Syntax @PJL ECHO [< words >] <CR><LF> <FF>  < words > The beginning of this parameter must be a printable character. Then this parameter consists of characters from ASCII 33 to 255, space characters and horizontal tab characters. This <...
  • Page 269 Parameters Category Information requesting The printer model number. For example the HL-1660e will return 'Brother HL-1660e'. CONFIG A list of the printer configuration information (available options) within the format of the number of types and/or the description of each available type of;...
  • Page 270: Id Category

    <ESC>%-12345X The printer sends back the answer for the above INFO command if the printer name is HL-1660e: @PJL INFO ID<CR><LF> "Brother HL-1660e"<CR><LF> <FF> 7.5.2. CONFIG category The application can use @PJL INFO CONFIG command to have the printer return a list of printer configuration information.
  • Page 271 Parameters Parameter Range of Characters Description feature alphabetical letters (ASCII 65-90 or Name of an item of the printer configuration : 97-122), numbers (ASCII 48-57) * Beginning with a letter for example ) IN TRAYS (paper sources) OUT TRAYS (output trays) PAPER (paper sizes) LANGUAGES (printer languages) USTATUS (unsolicited status)
  • Page 272: Memory Category

    Example The application sends the following command to the printer : <ESC>%-12345X@PJL<CR><LF> @PJL INFO CONFIG<CR><LF> <ESC>%-12345X The printer may send back the answer for the above INFO command : @PJL INFO CONFIG<CR><LF> IN TRAYS [1 ENUMERATED]<CR><LF> INTRAY1 PC<CR><LF> INTRAY2 LC<CR><LF> OUT TRAYS [2 ENUMERATED]<CR><LF>...
  • Page 273: Status Category

    7.5.4. STATUS category The application can use the @PJL INFO STATUS command to check the printer on-line/off-line status, the current message on the LCD and a status code. The ONLINE=TRUE indicates the printer is online, while the ONLINE=FALSE shows it is off-line. Refer to the list of the PJL Status Codes in the Appendix for the meanings of the returned status codes.
  • Page 274 C5<CR><LF> DL<CR><LF> B5<CR><LF> ORIENTATION=PORTRAIT [2 ENUMERATED]<CR><LF> PORTRAIT<CR><LF> LANDSCAPE<CR><LF> FORMLINES=60 [2 RANGE] 5<CR><LF> 128<CR><LF> MANUALFEED=OFF [2 ENUMERATED]<CR><LF> OFF<CR><LF> ON<CR><LF> RET=MEDIUM [4 ENUMERATED]<CR><LF> OFF<CR><LF> LIGHT<CR><LF> MEDIUM<CR><LF> DARK<CR><LF> PAGEPROTECT=OFF [4 ENUMERATED]<CR><LF> OFF<CR><LF> LETTER<CR><LF> LEGAL<CR><LF> A4<CR><LF> RESOLUTION=600 [2 ENUMERATED]<CR><LF> 300<CR><LF> 600<CR><LF> PERSONALITY=AUTO EPSON [8 ENUMERATED]<CR><LF> AUTO<CR><LF>...
  • Page 275: Ustatus Category

    A4<CR><LF> EXECUTIVE<CR><LF> MONARCH<CR><LF> COM10<CR><LF> C5<CR><LF> DL<CR><LF> B5<CR><LF> LPARM:PCL FONTSOURCE=I [4 EMULATED]<CR><LF> I<CR><LF> C<CR><LF> C1<CR><LF> S<CR><LF> LPARM:PCL FONTNUMBER=0 [2 RANGE]<CR><LF> 0<CR><LF> 70<CR><LF> LPARM:PCL PITCH=10.00 [2 RANGE]<CR><LF> 0.44<CR><LF> 99.99<CR><LF> LPARM:PCL PTSIZE=12.00 [2 RANGE]<CR><LF> 4.00<CR><LF> 999.75<CR><LF> LPARM:PCL SYMSET=ROMAN8 [43 ENUMERATED]<CR><LF> ROMAN8<CR><LF> ISOL1<CR><LF> ISOL2<CR><LF> ..
  • Page 276: Ustatus Command

    Parameters Variable Value Description DEVICE Makes unsolicited device status valid for any status change VERBOSE Makes unsolicited device status valid for any of PJL parser warning, error and status change Makes unsolicited device status invalid for any status change Makes unsolicited job status (reporting job start/job end) valid Makes unsolicited job status invalid PAGE Makes unsolicited page status (reporting respective page printed and...
  • Page 277: Device Variable

    The printer status to be sent to the host computer are ;  Device status changes - printer cover open, paper jams, paper out, etc  Job status changes - completion of the printing of a job, receiving a JOB command ...
  • Page 278: Job Variables

    Status code Status 10000 - 10999 Status information such as printer on-line or off-line. 11000 - 11999 Status of available paper in paper input sources, such as paper empty and auto-switching to another paper source. 20000 - 20999 PJL parser errors. The entire command line of a PJL command is ignored when an error (except for code 20004 ) occurs.
  • Page 279: Page Variable

    The printer may send back the answer for the above command. @PJL USTATUS JOB<CR><LF> START<CR><LF> NAME="JOB 88554"<CR><LF> <FF> [ . . time period while job is printing . . . ] @PJL USTATUS JOB<CR><LF> END<CR><LF> NAME = "JOB 88554"<CR><LF> PAGES=5<CR><LF> <FF>...
  • Page 280: Ustatusoff Command

    7.7. USTATUSOFF Command The @PJL USTATUSOFF command makes all unsolicited status reporting inactive. Syntax @PJL USTATUSOFF [<CR>]<LF> Parameters There are no parameters for this command. Example <ESC>%-12345X@PJL <CR><LF> @PJL USTATUSOFF <CR><LF> @PJL USTATUS DEVICE = ON <CR><LF> <ESC>%-12345X 7.8. JOB Recovery You can recover a failed job with the combination of JOB and EOJ commands and the USTATUS PAGE command.
  • Page 281: Device Attendance Commands

    DEVICE ATTENDANCE COMMANDS 8.1. Introduction You can change display messages on the printer control panel by using PJL. The Operator can be alerted by this feature to what specific actions should be taken. This chapter shows you three device attendance commands.
  • Page 282: Opmsg Command

    The following is an example of how to restore the display to the normal ready message. <ESC>%-12345X@PJL <CR><LF> @PJL COMMENT Normal READY message <CR><LF> @PJL RDYMSG DISPLAY = "" <CR><LF> @PJL EOJ NAME = "End of Tom's Job" <CR><LF> <ESC>%-12345X 8.3.
  • Page 283 Parameters Parameter Functional Range Default DISPLAY = "message" ASCII 33 and ASCII 35 through 255, <SP>, <HT> ONLINE, RESET DISPLAY = "message" You can use any combination of characters available on the printer except for the quotation marks (ASCII 34) up to 16 characters total including spaces or horizontal tab. Characters must be enclosed in double quotes.
  • Page 284: Index

    INDEX COMMENT command ............ 11 Kernel command .............. 10 conditions ................8 context switching ............12 OPMSG command ............75 DEFAULT command ............54 DEMOPAGE..............10 Device Attendance command .......... 74 PCL-specific variables ......... 36, 48, 53 DINQUIRE command ............. 59 PERMFONT ..............
  • Page 285: Chapter 6 Epson Fx

    CHAPTER 6 EPSON FX-850 CHAPTER 6 EPSON - 1...
  • Page 286 ONTENTS 1. COMMAND LIST ........................3 2. INTRODUCTION ........................5 3. EMULATION DETAILS ......................6 3.1. Ignored Commands ............................6 3.2. Resolution ..............................6 4. TERMINOLOGY ........................7 4.1. Syntax ................................7 4.2. Conventions ..............................7 5. CONTROLLING THE PRINTER ................... 8 5.1.
  • Page 287: Command List

    COMMAND LIST Null Bell Space Backspace Carriage return Line Feed Form Feed Esc SP n Set inter-character space Esc a n Select justification mode Esc $ n1 n2 Set absolute print position Esc \ n1 n2 Set relative print position Esc <...
  • Page 288 Esc H Cancel double-strike mode Esc W n Select / Cancel double-width printing Select single-line double-width printing (I) Esc SO Select single-line double-width printing (II) Cancel single-line double-width printing Esc 4 Select italic mode Esc 5 Cancel italic mode Esc S n Select superscript / subscript mode Esc T Cancel superscript / subscript mode...
  • Page 289: Introduction

    INTRODUCTION In this mode you can control the HL-Series printers that support this emulation directly by incorporating 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.
  • Page 290: Emulation Details

    EMULATION DETAILS The following points should be borne in mind when using the printer in Epson FX-850 mode. 3.1. Ignored Commands The following commands are ignored: the BEL control code (ASCII code 7) which is normally used to sound a printer's bell, the DC1 (ASCII 17) and DC3 (ASCII 19) control codes, used to enable and disable a printer, the Esc 9 and Esc 8 commands, which normally enable and disable the out-of-paper sensor, the Esc <...
  • Page 291: Terminology

    TERMINOLOGY 4.1. Syntax The following conventions are used in this description of the Epson FX-850 mode software commands: A single letter, two or three-letter control code mnemonic, or number in upright bold text is a literal character and should be sent to the printer as the character code. A letter or word in italics is a variable and you must substitute an appr