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?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date Fri, 16 Dec 2011 11:31:21 -0600
From ken <ken@spamcop.net>
Newsgroups comp.lang.postscript
Subject Re: ghostscript - any way to fit to printable area?
Date Fri, 16 Dec 2011 17:31:14 -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>
Reply-To ken@spamcop.net
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding 7bit
User-Agent MicroPlanet-Gravity/3.0.4
Lines 25
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-LYSgje4TsPAnadr0GFCRnGZuUKL/y68Ka/9qtpBLY34punxcnUPNkjjaX+nhpFAc2MIalhgqv14Gnv2!Xnshquss8IzwZhAz9I7ahXveKknKjuiQ3ZTeRwLaEbsZaf1bQUnXVsGcjnfggjXCLAtFj6/yNRqk!3WnfJCRiiSnHYkYEpQ==
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2292
Xref x330-a1.tempe.blueboxinc.net comp.lang.postscript:510

Show key headers only | 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