Menu

#1 Cannot set paper size; stuck with A4

closed-invalid
nobody
None
5
2010-02-14
2007-06-13
No

Hi! I'm trying to figure out how to set the paper size to letter instead of A4, but with absolutely no luck whatsoever.

I am running v1.1 as so:

gs -dFIXEDMEDIA -q -dBATCH -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=./ijs_pxljr -dIjsUseOutputFD -sOutputFile=/tmp/out.bin -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -r600 -sPaperSize=letter -sIjsParams=Quality:Quality=2,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2 -sDeviceManufacturer=HEWLETT-PACKARD "-sDeviceModel=hp color LaserJet 3550" gs-gamma.ps /var/tmp/foo.ps

GS version is 8.15.3.

I also tried changing it to -sPAPERSIZE (all caps), and specifying the size numerically instead of as "letter", all to no effect. The notes on stderr always say:

% IJS parameter: PaperSize = 8.26389x11.6944

Could you let me know what I'm missing and how I can set a size other than A4? Thanks.

Discussion

  • Hin-Tak Leung

    Hin-Tak Leung - 2010-02-14

    -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 is A4, you get what you asked for. Skip those if you want any other paper size.

     
  • Hin-Tak Leung

    Hin-Tak Leung - 2010-02-14
    • status: open --> closed-invalid