PAPERSIZE = <size>
where <size> can be any of the following standard size names, listed here alphabetically:
10X11, 10X14, 11X17, 12X11, 15X11, 9X11, A_PLUS, A2, A3, A3_EXTRA, A3_EXTRA_TRANSVERSE, A3_ROTATED, A3_TRANVERSE, A4, A4_EXTRA, A4_PLUS, A4_ROTATED, A4_TRANSVERSE, A4SMALL, A5, A5_EXTRA, A5_ROTATED, A5_TRANSVERSE, A6, A6_ROTATED, B_PLUS, B4, B4_JIS_ROATED, B5, B5_EXTRA, B5_JIS_ROTATED, B5_TRANSVERSE, B6_JIS, B6_JIS_ROTATED, CSHEET, DBL_JAPANESE_POSTCARD, DBS_JAPANESE_POSTCARD_ROTATED, DSHEET, ENV_10, ENV_11, ENV_12, ENV_14, ENV_9, ENV_B4, ENV_B5, ENV_B6, ENV_C3, ENV_C4, ENV_C5, ENV_C65, ENV_DL, ENV_INVITE, ENV_ITALY, ENV_MONARCH, ENV_PERSONAL, ESHEET, EXECUTIVE, FANFOLD_LGL_GERMAN, FANFOLD_STD_GERMAN, FANFOLD_US, FOLIO, ISO_B4, JAPANESE_POSTCARD, JAPANESE_POSTCARD_ROTATED, JENV_CHOU3, JENV_CHOU4, JENV_CHOU4_ROTATED, JENV_KAKU2, JENV_KAKU2_ROTATED, JENV_KAKU3, JENV_KAKU3_ROTATED, JENV_YOU4, JENV_YOU4_ROTATED, LEDGER, LEGAL, LEGAL, LEGAL_EXTRA, LETTER, LETTER_EXTRA, LETTER_EXTRA_TRANSVERSE, LETTER_PLUS, LETTER_ROTATED, LETTER_TRANVERSE, NOTE, P16K, P16K_ROTATED, P32K, P32K_ROTATED, P32KBIG, PENV_1, PENV_1_ROTATED, PENV_10, PENV_10_ROTATED, PENV_2, PENV_2_ROTATED, PENV_3, PENV_3_ROTATED, PENV_4, PENV_4_ROTATED, PENV_5, PENV_5_ROTATED, PENV_6, PENV_6_ROTATED, PENV_7, PENV_7_ROTATED, PENV_8, PENV_8_ROTATED, PENV_9, PENV_9_ROTATED, QUARTO, RESERVED_48, RESERVED_49, STATEMENT, TABLOID, TABLOID_EXTRA
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.)
PAPERSIZE acts as a kind of alternative to the BIN command, in that 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.
(An upcoming feature will instruct A-Shell to prompt the user if the desired paper does not appear to be available, but for the moment, A-Shell just assumes that it is.)
So the main effect of specifying PAPERSIZE in the printer init 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).
WARNING: The process of working on the PAPERSIZE feature involved rewriting a lot of the existing Windows printing code, so developers and administrators would be well-advised to do some small-scale testing (or wait for others to do so) before distributing this update widely to end-users.