Please enable JavaScript to view this site.

A-Shell Reference

PAPERSIZE = <size>

where <size> can be any of the following standard size names, listed here alphabetically:

10X11

A6

ENV_C3

JENV_KAKU3

PENV_10_ROTATED

10X14

A6_ROTATED

ENV_C4

JENV_KAKU3_ROTATED

PENV_2

11X17

B_PLUS

ENV_C5

JENV_YOU4

PENV_2_ROTATED

12X11

B4

ENV_C65

JENV_YOU4_ROTATED

PENV_3

15X11

B4_JIS_ROATED

ENV_DL

LEDGER

PENV_3_ROTATED

9X11

B5

ENV_INVITE

LEGAL

PENV_4

A_PLUS

B5_EXTRA

ENV_ITALY

LEGAL

PENV_4_ROTATED

A2

B5_JIS_ROTATED

ENV_MONARCH

LEGAL_EXTRA

PENV_5

A3

B5_TRANSVERSE

ENV_PERSONAL

LETTER

PENV_5_ROTATED

A3_EXTRA

B6_JIS

ESHEET

LETTER_EXTRA

PENV_6

A3_EXTRA_TRANSVERSE

B6_JIS_ROTATED

EXECUTIVE

see Won't Fit 4

PENV_6_ROTATED

A3_ROTATED

CSHEET

FANFOLD_LGL_GERMAN

LETTER_PLUS

PENV_7

A3_TRANVERSE

see Won't Fit 1

FANFOLD_STD_GERMAN

LETTER_ROTATED

PENV_7_ROTATED

A4

see Won't Fit 2

FANFOLD_US

LETTER_TRANVERSE

PENV_8

A4_EXTRA

DSHEET

FOLIO

NOTE

PENV_8_ROTATED

A4_PLUS

ENV_10

ISO_B4

P16K

PENV_9

A4_ROTATED

ENV_11

JAPANESE_POSTCARD

P16K_ROTATED

PENV_9_ROTATED

A4_TRANSVERSE

ENV_12

see Won't Fit 3

P32K

QUARTO

A4SMALL

ENV_14

JENV_CHOU3

P32K_ROTATED

RESERVED_48

A5

ENV_9

JENV_CHOU4

P32KBIG

RESERVED_49

A5_EXTRA

ENV_B4

JENV_CHOU4_ROTATED

PENV_1

STATEMENT

A5_ROTATED

ENV_B5

JENV_KAKU2

PENV_1_ROTATED

TABLOID

A5_TRANSVERSE

ENV_B6

JENV_KAKU2_ROTATED

PENV_10

TABLOID_EXTRA

"Won't Fit" notes in table: 1 = DBL_JAPANESE_POSTCARD; 2 = DBL_JAPANESE_POSTCARD_ROTATED; 3 = JAPANESE_POSTCARD_ROTATED; 4 = LETTER_EXTRA_TRANSVERSE

 

If that list is too limiting, you can also specify the numeric code corresponding to the paper size. You can retrieve the list of supported paper sizes in symbolic and numeric format by printing with the LP trace turned on. See the Tracing note, below. Also see Custom Paper Sizes.

PAPERSIZE acts as a kind of alternative to the BIN command, in that A-Shell passes the request to the printer with the hopes that the printer will select the bin which contains the requested size. Most printers claim to support this capability, although the degree of support is questionable, and it may require that you first activate the feature through the printer's control panel or properties dialog. Similarly, it is almost always necessary for you to inform the printer of the size of paper you have in each bin (although perhaps there are some higher-end printers which have bins containing sensors to auto- detect the size.

As with the BIN command, the printer may indicate "support" for more bins (and more paper sizes) than are actually "available", and A-Shell doesn't do much enforcement.

So the main effect of specifying PAPERSIZE in the printer ini file is to force A-Shell to use that paper size to base any size-dependent calculations affecting the format or spacing of the output (as will APEX).

PAPERSIZE is one of the printer ini file commands that has a GDI Printing Directive Equivalent.