[prev in list] [next in list] [prev in thread] [next in thread]
List: cups
Subject: Re: [cups.general] scaling pdf file for a poster
From: John King <johnmking_uk () yahoo ! co ! uk>
Date: 2010-08-28 20:09:56
Message-ID: 37936-cups.general () news ! easysw ! com
[Download RAW message or body]
>
> Hello,
>
> On Aug 25 22:40 John King wrote (shortened):
> > > > lp -d lexmark -o PageSize=Custom.420x594cm -o fitplot=true
>
> According to
> http://www.cups.org/documentation.php/doc-1.3/options.html
/snippedon up to 4 pages.
> ----------------------------------------------------------------
>
> Therefore you need to produce first a bitmap graphics from your
> PDF, then you can expand and print it e.g. on 4 sheets via
>
> lp -d lexmark -o scaling=200 file.bitmap_graphics
>
> For example this works for me (Ghostscript needs PDF input as
> regular file and not via stdin because stdin is not seekable).
> I use Ghostscript to convert a PDF into a png bitmap graphics.
> You may use whatever tool you like more to do the same.
>
> echo Hello | a2ps -1 -o- | ps2pdf - >/tmp/in.pdf
>
> gs -q -dBATCH -dQUIET -dNOPAUSE -sDEVICE=png256 -r600x600 \
> -sOutputFile=- /tmp/in.pdf | lp -d hplaserjet1220ljet4 \
> -o scaling=200
>
> The "-o scaling=200" makes it print on 4 sheets
> regardless if "-r1200x1200" or "-r300x300" is used in
> Ghostscript for more or less bitmap graphics resolution
> (i.e. better or lower printout quality).
>
>
> Kind Regards
> Johannes Meixner
> --
> SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
> AG Nuernberg, HRB 16746, GF: Markus Rex
>
Johannes
Thank you for such a clear and comprehensive explanation of the options and possible \
procedures I can follow. Following some experiments, I decided that my easiest course \
is to use imagemagick's 'convert' to produce a suitable png file, i.e.
$ convert -density 600x600 filename.pdf filename.png
and then to use
$ lp -d lexmark -o scaling=200 -o sides=one-sided filename.png
to produce an A2 poster on 4 sheets. The 600x600 conversion gives a clear enough \
image, though less than that was unsatisfactory.
John
_______________________________________________
cups mailing list
cups@easysw.com
http://lists.easysw.com/mailman/listinfo/cups
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic