Command Reference Guide for Software Developers

Table Of Contents
CHAPTER 2 PCL - 20
When the printer receives this command any unprinted pages are printed and the left, right and top margins
and the text length are set to their factory defaults for the new page size.
The cursor is moved to the top left of the text area on the new page.
Depending on your model, you may also set the page size from the printer's control panel or remote printer
console program (see the User Guide).
If the paper size you select differs from the size of the currently loaded paper, a message appears in the
control panel prompting you to load the selected size of paper (for HL-1660e, 2060, 2400C/Ce, 3400CN,
3260N 2460, 7050, 1850, 1870N and 2700CN).
Example)
Select letter size: Esc&l2A <1Bh><26h><6Ch><32h><41h>
Select the width of free size paper: Esc&f#G (1/720 inch unit; for HL-3260N, 2460, 7050, 1850, 1870N,
5040, 5050, 5070N, 5140, 5150D, 5170DN, 2600CN, 3450CN, 2700CN, 2070N, 5240, 5250DN, 5270DN,
5280DW, 4040CN, 4050CDN,4070CDW, 2150N, 2170W, 5340D, 5350DN, 5370DW, 5380DN, 3070CW,
3075CW, 2250DN, 2270DW, 4140CN, 4150CDN, 4570CDW, 5440D, 5450DN, 5470DW, 6180DW,
3170CDW, L8250CDN, L8350CDW, L9200CDW, L9300CDW, L2360DN, L2360DW, L2365DW,
2560DN, 2569DW, S7000DN, L2370DN, L2371DN, L2372DN, 2590DN, B2050DN, L2370DW,
L2375DW, L2376DW, B2080DW, L2385DW, L2386DW, 2595DW, L3270CDW, L3230CDW,
L3230CDN, L3210CW, 3190CDW and3160CDW.)
Select the height of free size paper: Esc&f#F (1/720 inch unit; for HL-3260N, 2460, 7050, 1850, 1870N,
5040, 5050, 5070N, 5140, 5150D, 5170DN, 2600CN, 3450CN, 2700CN, 2070N, 5240, 5250DN, 5270DN,
5280DW, 4040CN, 4050CDN,4070CDW, 2150N, 2170W, 5340D, 5350DN, 5370DW , 5380DN, 3070CW,
3075CW, 2250DN, 2270DW, 4140CN, 4150CDN, 4570CDW, 5440D, 5450DN, 5470DW, 6180DW,
3170CDW, L8250CDN, L8350CDW, L9200CDW, L9300CDW, L2360DN, L2360DW, L2365DW,
2560DN, 2569DW, S7000DN, L2370DN, L2371DN, L2372DN, 2590DN, B2050DN, L2370DW,
L2375DW, L2376DW, B2080DW, L2385DW, L2386DW, 2595DW, L3270CDW, L3230CDW,
L3230CDN, L3210CW, 3190CDW and3160CDW.)
4.1.2. Media type selection
Esc&n# (27)(38)(110)# <1Bh><26h><6Eh>#
# stands for the media type of paper to be used.
Values for # correspond to the media type shown in the table.
HL-
2070N/5240/5250DN/5270
DN/5280DW/2150N/2170W
/5340D/5350DN/5370DW/5
380DN
HL-
4040CN/4050CDN/4070CD
W/3040CW/3045CN/2250
DN/2270DW/5440D/5450D
N/5470DW/6180DW
HL-
4140CN/4150CDN/4570CDW/3170
CDW/L8250CDN/L8350CDW/L920
0CDW/L9300CDW/L2360DN/L2360
DW/L2365DW/2560DN/2569DW
HL-S7000DN
HL-
L5000D/5580D/
L5100DN/L5200
DW/L6200DW/
L6300DW/L640
0DW
HL-
L8260CDN/L82
60CDW/L8360
CDW/L8360CD
WT/L9310CDW
HL-
L2370DN/L2371DN/L
2372DN/2590DN/B20
50DN/L2370DW/L23
75DW/L2376DW/B20
80DW/L2385DW/L23
86DW/2595DW
HL-
L3270CDW/L3230CD
W/L3230CDN/L3210
CW/3190CDW/3160
CDW
6WdPlain

8WdRegular

5WdThin

6WdLight

6WdThick

11WdMid Weight

6WdHeavy

12WdExtra Heavy

7WdThick2 Set as Thicker Paper.

5WdBond Set as Bond Paper.

13WdTransparency
Set as Transparent Paper.

10WdEnvelopes

9WdEnvelope

9WdEnvthick Set as Thick Envelope.

8WdEnvthin Set as Thin Envelope.

9WdRecycled Set as Recycled Paper.

9WdPostcard Set as Post Card.

6WdLabel

7WdLabels

7WdGlossy

6WdGloss

18WdHP Soft Gloss 120

12WdHeavy Gloss

18WdExtra Heavy Gloss

14WdHP Glossy 130

14WdHP Glossy 160

14WdHP Glossy 220

12WdCard Glossy

6WdColor Set as Color Paper

11WdLetterhead Set as Letterhead

12WdHolepunched

11WdPrepunched

11WdCard Stock

12WdHP Matte 90

13WdHP Matte 105

13WdHP Matte 120

13WdHP Matte 160

13WdHPCoverMatte

11WdPreprinted

9WdHP Tough

Set as Label.
Set as Glossy
Set as Holepunched
Paper.
Set as Plain Paper.
Model
Set as Plain Paper.
Set as Thin Paper.
Set as Thick Paper.
Set as Envelope.