Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #2368

Re: Change paper size

From Mark Carroll <mtbc@bcs.org>
Newsgroups comp.lang.postscript
Subject Re: Change paper size
Date 2015-10-21 13:30 +0100
Organization none
Message-ID <87io60s8tn.fsf@ixod.org> (permalink)
References <c1.2b8.3ngr5w$05Y@NOVOSAD3.EMBARQ.COM>

Show all headers | View raw


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

Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Change paper size Bogus@Embarq.com (Steve) - 2015-10-21 12:01 +0000
  Re: Change paper size Mark Carroll <mtbc@bcs.org> - 2015-10-21 13:30 +0100
  Re: Change paper size Michael Unger <spam.to.unger@spamgourmet.com> - 2015-10-21 16:55 +0200
    Re: Change paper size Bogus@Embarq.com (Steve) - 2015-10-21 17:16 +0000
      Re: Change paper size jdaw1 <jdawiseman@gmail.com> - 2015-10-21 15:20 -0700
        Re: Change paper size luser- -droog <mijoryx@yahoo.com> - 2015-10-29 18:16 -0700
          Re: Change paper size Michael Unger <spam.to.unger@spamgourmet.com> - 2015-10-30 15:43 +0100
            Re: Change paper size jdaw1 <jdawiseman@gmail.com> - 2015-10-31 02:55 -0700
            Re: Change paper size jdaw1 <jdawiseman@gmail.com> - 2015-10-31 04:35 -0700
              Re: Change paper size Antti Louko <alo@iki.fi> - 2015-10-31 15:39 +0200
            Re: Change paper size Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-06-03 23:18 -0700

csiph-web