Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #170

Re: PDF: multiple slides per page to one slide per page?

From ken <ken@spamcop.net>
Newsgroups comp.lang.postscript
Subject Re: PDF: multiple slides per page to one slide per page?
Date 2011-04-27 08:31 +0100
Message-ID <MPG.2821d6a026a4e72c98983a@usenet.plus.net> (permalink)
References (3 earlier) <MPG.281cfc403305e78498982f@usenet.plus.net> <3e3f53ca-2bf5-428a-b6ea-12da34cb3aeb@34g2000pru.googlegroups.com> <8936257d-a6f8-4f8b-aeb0-9a6fce5c2299@l14g2000pre.googlegroups.com> <MPG.2821014cc570fac7989837@usenet.plus.net> <a6a80ca9-7552-40e6-b678-b671256cf353@r33g2000prh.googlegroups.com>

Show all headers | View raw


In article <a6a80ca9-7552-40e6-b678-b671256cf353
@r33g2000prh.googlegroups.com>, dmathog@gmail.com says...


> I am now, having missed the post of 4/25.  With that one there is
> output on all pages but there are problems, including every page
> emitting:
> 
>    **** File did not complete the page properly and may be damaged.

Basically that is saying that there is 'stuff' on the operand stack 
after running the page, and there shouldn't be. It may be related to the 
clipping problem, I haven't investigated, but it seems to be benign.

 
> I see the clipping you mentioned, but also in my hands pages
> 3,4 are not centered (way up at top, and cut in half), and none of the
> pages are scaled well (the desired subpage is situated in the bottom
> 1/3 or so of a landscape page).

Sounds like you may forgotten or mis-spelled the -dFIXEDMEDIA and/or -
dDEVICEWIDTHPOINTS= -dDEVICEHEIGHTPOINTS= parameters. The code doesn't 
do any scaling.

> There were some line wraps when the
> text was extract from the newsgroup, and I don't know if I found them
> all.  Before proceeding it would be good to get a copy of the script
> which definitely does not have this issue.  Perhaps you could email it
> to me?  last name at CALifornia institute of TECHnolgy, a DepOT for
> EDUcation. ;-).

I've mailed it to your address, along with a copy of the output I get 
from your sample and the command line:

gswin32c -dBATCH -dNOPAUSE -sFile=\temp\BMB170c_2011_04_21_LECTURE.pdf -
dSubPagesX=2 -dSubPagesY=2 -dFIXEDMEDIA -dDEVICEHEIGHTPOINTS=288.36 -
dDEVICEWIDTHPOINTS=378.36 -sDEVICE=pdfwrite -sOutputFile=\temp\out.pdf 
\temp\pdf_slice.ps

Obviously that's a Windows invocation so you will need to change the 
path names and so on (well, you would need to anyway ;-) But the sizes 
shuold be OK.


				Ken

Back to comp.lang.postscript | Previous | NextPrevious in thread | Find similar


Thread

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