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


Groups > comp.lang.postscript > #510

Re: ghostscript - any way to fit to printable area?

From ken <ken@spamcop.net>
Newsgroups comp.lang.postscript
Subject Re: ghostscript - any way to fit to printable area?
Date 2011-12-16 17:31 +0000
Message-ID <MPG.295590bb9bb239b2989874@usenet.plus.net> (permalink)
References <78c19899-277e-4969-a8c0-9a2ae39c4036@n6g2000vbg.googlegroups.com> <jcdgb9$1hg$1@reader1.panix.com> <58aab8e2-b98f-41c3-8e8b-7fd4f7f2079c@i6g2000vbe.googlegroups.com>

Show all headers | View raw


In article <58aab8e2-b98f-41c3-8e8b-
7fd4f7f2079c@i6g2000vbe.googlegroups.com>, freakyacres@gmail.com says...

> We have around 500 blueprints we print each week using ghostscript or
> gsprint.  Most are us letter but some a4 and a few 11x17.  The current
> printer has 4mm hard margins on each side.  Sometimes the printed
> output gets clipped at these hard margins when printing with
> ghostscript depending on how close the engineer drew to the edge of
> the page.  Adobe reader has an option "fit to printable area" that
> takes the pdf and scales it up or down to fit within the hard
> margins.  This is what I am trying to do.  How would I know which way
> to scale the output and manipulate the origin?  Can ghostscript figure
> this out somehow?

If you set the width and height of the output to be the exact dimensions 
of the printable area, and probably set -dFIXEDMEDIA, then set the 
PageSizePolicy to '3' which is 'select nearest and scale to fit' then it 
should work I would think.

"<</PageSizePolicy 3>> setpagedevice"

Of course, I have no idea how you are sending the output to the printer.


			Ken

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


Thread

ghostscript - any way to fit to printable area? jhgrredbjhj <freakyacres@gmail.com> - 2011-12-15 09:08 -0800
  Re: ghostscript - any way to fit to printable area? rodd@panix.com (Rod Dorman) - 2011-12-15 19:04 +0000
    Re: ghostscript - any way to fit to printable area? jhgrredbjhj <freakyacres@gmail.com> - 2011-12-16 04:56 -0800
      Re: ghostscript - any way to fit to printable area? John Reiser <jreiserfl@comcast.net> - 2011-12-16 08:44 -0800
        Re: ghostscript - any way to fit to printable area? Helge Blischke <h.blischke@acm.org> - 2011-12-16 18:12 +0100
        Re: ghostscript - any way to fit to printable area? jhgrredbjhj <freakyacres@gmail.com> - 2011-12-16 13:10 -0800
      Re: ghostscript - any way to fit to printable area? ken <ken@spamcop.net> - 2011-12-16 17:31 +0000
        Re: ghostscript - any way to fit to printable area? jhgrredbjhj <freakyacres@gmail.com> - 2011-12-16 13:11 -0800

csiph-web