Path: csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Mark Carroll Newsgroups: comp.lang.postscript Subject: Re: Change paper size Date: Wed, 21 Oct 2015 13:30:12 +0100 Organization: none Lines: 25 Message-ID: <87io60s8tn.fsf@ixod.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="1b3e5cba9e4d07a53741e6f3d1717925"; logging-data="20941"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+CNlv5/EfeQhe0c/H8WLyL" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:+iMi2VXKyvT4f11DHPxXct7I8Zc= sha1:nTYZxZYvvgGH4zoDTvdBJIf+e2w= Xref: csiph.com comp.lang.postscript:2368 Bogus@Embarq.com (Steve) writes: (snip) > I went to the Hewlett Packard site > and got the Printer Job Language documents and succeeded in > changing the print area to legal from letter size. I am wondering > what would be required for another brand of printer? Looking at > the PostScript Language Reference Manual did not show an easy > way to do it at first glance. There was mention of changing > entries in a dictionary, but that looked complex. (snip) At the PostScript level I use, /in { 72 mul } def /width 8.5 in def /height 14 in def << /PageSize [ width height ] >> setpagedevice Of course, if your PostScript is being processed by something, it never hurts to make sure the generated DSC comments match: look for any lines starting %% with "PaperSize" somewhere in them. -- Mark