[LUNI] postscript files

Andrew Morrison morrison at physics.niu.edu
Sat Nov 23 19:05:13 CST 2002


On Sat, 2002-11-23 at 18:57, Keith T. Garner wrote:
> On Sat, Nov 23, 2002 at 06:49:05, Andrew Morrison said:
> > Two hopefully quick questions...
> > 
> > Is it possible to cat 2 single page postscript documents together to
> > make one 2-page document?   I mean, I tried the following:
> > 
> > $ cat page1.eps page2.eps > doc.eps
> > 
> > but even though there were no errors, looking at doc.eps in gv showed
> > only page1.eps.   What am I doing wrong?
> 
> You might want to look at the programs that comes with the psutils.
> There is one app called psmerge, but it seems to be a bit restrictive
> in how it can be used:
> 
>       Psmerge merges PostScript documents into a single docu- ment.
>       It only works in the specific case the the files were created
>       using the same application, with the same device setup and
>       resources (fonts, procsets, patterns, files, etc) loaded.
> 

Nope....didn't work, even though I meet all the criteria described
above.  It output a file that was smaller than either of the pages.

> > And if I can get a postscript file, what should I do to convert the
> > final version to pdf if ps2pdf segfaults?
> 
> Is it seg faulting on your concatenated version or all the time?  I
> wouldn't be surprised if it barfs on the concat version.

It's seg faulting on all the postscript files I'm working with.  I can't
believe the files are corrupt, because gv displays them perfectly.

-- 
Andrew Morrison <morrison at physics.niu.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://luni.org/pipermail/luni/attachments/20021123/14027a7f/attachment.bin 


More information about the luni mailing list