l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2005 Feb 28 12:47

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] another PS2PDF question [solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] another PS2PDF question [solved]



On Monday 28 February 2005 11:02 am, Dylan Beaudette wrote:
> Hi,
>
> I have a poster (36" x 48") that is saved in PS format.
>
> using epstopdf, i can create a PDF file that has the correct page
> dimensions, but the JPEG compression makes the images in the PDF look bad.
>
> even with the --nocompression flag, PDFs from epstopdf still contain some
> compression artifacts...
>
> I have tried using ps2pdf14 like this:
>
> ps2pdf14 -dAutoFilterxxxImages=false -dAutoRotatePages=/None
> -dPDFSETTINGS=/prepress poster.ps
>
> ... in the past this has produced nice PDFs without compression artifacts,
> but for some reason, when i try to use this with a poster sized PS file,
> the resulting PDF is clipped to about 8.5" x 11" ....
>
> any ideas on how to either:
> 1. create a PDF from epstopdf without *any* JPEG compression
> or
> 2. get a full-sized PDF from ps2pdf14
>
> ?
>
> thanks in advance for any ideas... this is a problem that has been driving
> me nuts for a while now...

Well, after a little bit of googling, it looks like there was a rather simple 
solution. Since ps2pdf14 and epstopdf were just sending some pre-defined 
parameters to ghost script, it is possible to setup the gs environment, and 
then call epstopdf:

export GS_OPTIONS=-dPDFSETTINGS=/prepress
epstopdf --nocompress file.eps

This will produce a PDF of the correct page size, without JPEG compression on 
embedded images!

Just for the record, this allows one to create a poster in something like 
Inkscape (http://www.inkscape.org/), an opensource page layout program, and 
then save the file as an EPS. Unfortunately this EPS file is not easily sent 
to a printer (tried opening it in Illustrator 10, and there were numerous 
propblems in terms of printable area, etc.), thus the above method will 
create a JPEG compression-less PDF which can easily be printed from a PDF 
viewer. 

Cheers,

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.