Loading

Page size and paper source selection

The PCL5e interpreter supports paper size selection using the <esc>&l#A sequence. Paper source (i.e. the tray) selection is supported using the <esc>&l#H sequence.

The PCL-XL interpreter supports paper size selection using the attribute MediaSize (enum) and the attribute MediaName (string).

The paper source is used to specify media. Different mechanisms can apply when the paper source is mapped to media specification. This means that the input tray is NOT determined by the specified paper source in the PCL file. The input tray is determined dynamically during printing based on the required media specified by its characteristics. If necessary, the operator will be asked to fill an input tray with the required media.

Example

To select A4, use the following sequence: <esc> &l26A

Dimension

Unit

Name

PCL-XL MediaSize

enum

PCL-XL MediaSize

alias

Page size Id

<esc> &l#A

Supported

148.5*210

mm

A5

eA5Paper=16 (XL1.1)

"A5"

25

210*297

mm

A4

eA4Paper=2 (XL1.1)

"A4"

26

Y

297*420

mm

A3

eA3Paper=5 (XL1.1)

"A3"

27

Y

210*330

mm

Folio

eFolioPaper=25

"FOLIO"

501

Y

203*254

mm

Quarto

eQuartoPaper=24

"QUARTO"

502

210*270

mm

Commercial

eCommercialPaper=27

"COMMERCIAL"

503

Y

203*330

mm

Foolscap

eFoolscapPaper=26

"FOOLSCAP"

504

Y

250*353

mm

ISOB4

eISOB4Paper=31

"ISO B4"

505

Y

305*440

mm

305x440

e305X440Paper=33

"305X440"

506

Y

215*305

mm

RA4

eRA4Paper=34

"RA4"

507

Y

225*320

mm

SRA4

eSRA4Paper=35

"SRA4"

508

Y

228*305

mm

228x305

e228X305Paper=36

"228X305"

509

Y

305*430

mm

RA3

eRA3Paper=37

"RA3"

510

Y

305*457

mm

305x457

e305X457Paper=38

"305X457"

511

Y

320*450

mm

SRA3

eSRA3Paper=39

"SRA3"

512

Y

305x488

mm

305x488

e305X488Paper=48

"305X488"

514

Y

176*250

mm

ISOB5

eB5Paper=13 (XL2.1)

"ISO B5"

515

223*297

mm

A4tab

eA4TabPaper=51

"A4 TAB"

516

257*364

mm

JIS B4

eJB4Paper=10 (XL1.1)

"B4"

46

Y

182*257

mm

JIS B5

eJB5Paper=11 (XL1.1)

"B5"

45

8.5*13

in

Legal 8.5x13

eLegalSmallPaper=23

"LEGAL 8.5X13"

601

Y

5.5*8.5

in

Statement 5.5x8.5

eUSStandardPaper=22

"STATEMENT 5.5X8.5"

602

9*12

in

9x12

e9X12Paper=40

"9X12"

603

Y

12*18

in

Tabloid Extra 12x18

eTabloidExtraPaper=41

"TABLOID EXTRA"

604

Y

8*10.5

in

US Gov 8x10.5

eUSGovernmentPaper=42

"US GOV 8X10.5"

605

Y

8.5*10

in

Letter Gov 8.5x10

eLetterGovernmentPaper=43

"LETTER GOV 8.5X10"

606

Y

8.5*12

in

Legal Gov 8.5x12

eLegalGovernmentPaper=44

"LEGAL GOV 8.5X12"

607

Y

12*17.3

in

12x17.3

e12X17_3Paper=45

"12x17.3"

608

Y

12*19.2

in

12*19.2

e12x19_2Paper=47

"12x19.2"

610

Y

8.25*10

in

Letter 8.25x10

eLetter8_25X10Paper=46

"LETTER 8.25X10"

611

10.75*15.5

in

8K

eJIS8K=19 (XL2.1)

"JIS8K"

612

7.75*10*75

in

16K

eJIS16K=20 (XL2.1)

"JIS16K"

613

9*11

in

Lettertab

eLetterTabPaper=52

"LETTER TAB"

614

12.6*19.2

in

320x488

e12_6X19_2Paper=53

"12.6X19.2"

615

8.5*11

in

Letter 8.5x11

eLetterPaper=0 (XL1.1)

"LETTER 8.5X11"

2

Y

8.5*14

in

Legal 8.5x14

eLegalPaper=1 (XL1.1)

"LEGAL 8.5X14"

3

Y

11*17

in

Tabloid 11x17

eLedgerPaper=4 (XL1.1)

"TABLOID 11X17"

6

Y

Custom

mm

Custom

eCustomPaper=50

-

101

Y

eDefaultPaperSize=96 (XL2.1)

Y

Custom size

According to the PCL5e specifications, the Esc&l101A sequence specifies that some custom sizes have to be used. The sizes are retrieved from the first found tray to which a custom paper size is assigned. The following escape sequence is compatible with the SRA and Xerox. The escape sequence supports custom sizes:

Esc&l101a8c0E Esc*p0x0Y Esc*c0t{sizeX}x{sizeY}Y

Sizes are defined in decipoints.

For backwards compatibility with other Océ products, the following escape sequence is also supported:

Esc&f{sizeX}I Esc&f{sizeY}J Esc&l101A

Sizes are defined in decipoints.

The selection of the paper size

The selection of the paper size cannot be done as flexible as for PostScript. This is because the interpreter is not able to scale the content of a page. The job is ripped on the size that is specified in the PCL file.

If an unknown paper size is specified, i.e. if an Id is not mentioned in the table above or the printer model does not support the paper size, the default paper size is selected. This will lead to clipping, or placing of the bitmap in upper left corner.

NOTE

The HPGL-origin will be placed in the lower left corner.

The selection of the media

The selection of the media depends on the operation mode: tray-to-tray mode or tray-to-media mode. Tray selection can be simulated in the tray-to-tray mode.