Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.lang.postscript > #121
| From | ken <ken@spamcop.net> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: PDF: multiple slides per page to one slide per page? |
| Date | 2011-04-22 19:33 +0100 |
| Message-ID | <MPG.281bda39ead0c4a298982c@usenet.plus.net> (permalink) |
| References | <7d554826-c2b6-4dff-a363-8e8bf16c6798@r19g2000prm.googlegroups.com> <MPG.27e30eeb4abd417798981e@usenet.plus.net> <fb141551-05f0-47a3-8ef3-418c2bfc4dce@h9g2000pre.googlegroups.com> |
In article <fb141551-05f0-47a3-8ef3- 418c2bfc4dce@h9g2000pre.googlegroups.com>, dmathog@gmail.com says... > I finally got around to this and your test program worked great - when > extracting two pages per page. Unfortunately the PDFs I am trying to > convert are marked up 4 to a page. So I made this change (the > coordinates match my input): t 9.02: Unrecoverable error, exit code 1 > > The resulting pdf wasn't viewable, but that's not surprising since it > was probably corrupted by the crash. That's a gracefully handled error condition rather than a crash :-) But yes, if the interpreter aborts the job then the PDF file is not written properly (at all in fact). > Is there a way to work around this 2 page limit in ghostscript? Well, sadly the code is making use of undocumented internals in the PDF interpreter, so it's not entirely surprising that it doesn'r work 100%. The error message is saying that the stack was empty (or contained too few objects) when trying to manipulate it, so something I did has had unexpected side effects on the stack. Its been rather a while since I looked at this, but I seem to remember saying that if the sub-pages were all the same size then I could get away without the nasty hack of using undocumented code. So... if I can remember what I had in mind I may be able to fix it (assuming that the sub-pages are all the same size, as per your example). I'll give it a bash over the weekend. Ken
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar
Re: PDF: multiple slides per page to one slide per page? David Mathog <dmathog@gmail.com> - 2011-04-22 09:03 -0700
Re: PDF: multiple slides per page to one slide per page? David Mathog <dmathog@gmail.com> - 2011-04-22 10:41 -0700
Re: PDF: multiple slides per page to one slide per page? ken <ken@spamcop.net> - 2011-04-22 19:36 +0100
Re: PDF: multiple slides per page to one slide per page? David Mathog <dmathog@gmail.com> - 2011-04-22 13:01 -0700
Re: PDF: multiple slides per page to one slide per page? ken <ken@spamcop.net> - 2011-04-22 21:50 +0100
Re: PDF: multiple slides per page to one slide per page? ken <ken@spamcop.net> - 2011-04-22 19:33 +0100
Re: PDF: multiple slides per page to one slide per page? ken <ken@spamcop.net> - 2011-04-23 16:10 +0100
Re: PDF: multiple slides per page to one slide per page? David Mathog <dmathog@gmail.com> - 2011-04-23 08:50 -0700
Re: PDF: multiple slides per page to one slide per page? ken <ken@spamcop.net> - 2011-04-23 21:29 +0100
Re: PDF: multiple slides per page to one slide per page? ken <ken@spamcop.net> - 2011-04-25 12:03 +0100
Re: PDF: multiple slides per page to one slide per page? David Mathog <dmathog@gmail.com> - 2011-04-26 08:40 -0700
Re: PDF: multiple slides per page to one slide per page? ken <ken@spamcop.net> - 2011-04-26 17:21 +0100
Re: PDF: multiple slides per page to one slide per page? David Mathog <dmathog@gmail.com> - 2011-04-26 13:23 -0700
Re: PDF: multiple slides per page to one slide per page? ken <ken@spamcop.net> - 2011-04-27 08:31 +0100
csiph-web