For device classes that support PCL encapsulation, the paper size command is determined automatically. HPIJS selects the paper size based on the physical paper size set by Ghostscript. The following standard paper sizes are supported by HPIJS.
Page size name | Inches | Postscript units |
Letter | 8.5 x 11 | 612 x 792 |
Legal | 8.5 x 14 | 612 x 1008 |
Ledger | 11 x 17 | 792 x 1224 |
Executive | 7.25 x 10.5 | 522 x 756 |
A3 | 11.69 x 16.53 | 842 x 1190 |
A4 | 8.27 x 11.69 | 595 x 842 |
A5 | 5.83 x 8.27 | 420 x 595 |
A6 | 4.13 x 5.83 | 297 x 420 |
Photo | 4 x 6 | 288 x 432 |
B4 | 10.126 x 14.342 | 729 x 1033 |
B5 | 7.17 x 10.126 | 516 x 729 |
Oufuku-Hagaki | 5.83 x 7.87 | 420 x 567 |
Hagaki | 3.94 x 5.83 | 284 x 420 |
Super B | 13 x 19 | 936 x 1368 |
Flsa | 8.5 x 13 | 612 x 936 |
Number 10 Envelope | 4.12 x 9.5 | 297 x 684 |
A2 Envelope | 4.37 x 5.75 | 315 x 414 |
C6 Envelope | 4.49 x 6.38 | 323 x 459 |
DL Envelope | 4.33 x 8.66 | 312 x 624 |
Japanese Envelope #3 | 4.72 x 9.25 | 340 x 666 |
Japanese Envelope #4 | 3.54 x 8.07 | 255 x 581 |
If the paper size is not one of the above standard paper sizes, HPIJS will default to a custom paper size. Most printers are capable of printing custom-sized media of any dimension, provided it conforms to the minimum and maximum paper size definition in the product specification. For example, on a Deskjet 990, the minimum paper size is 3x5 inches and the maximum paper size is 8.5x14 inches.
All device classes support custom paper sizes, although HPIJS does not explicitly support some printer models. Custom-sized media are not supported on:
- DJ340
- DJ500
- DJ500C
- DJ510
- DJ520
- DJ550C
- DJ560C