Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #858
| From | JohnF <john@please.see.sig.for.email.com> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | (embarrassingly) simple showpage question |
| Date | 2012-08-08 04:58 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <jvsrl9$npu$1@reader1.panix.com> (permalink) |
I want to create a two/many-page document, e.g., so that gv shows
it as two/many pages and allows you to navigate among them.
Couldn't find a simple explanation in PLRM or any-color-book.ps,
and the little snippet at the bottom of this post just doesnt't work,
no matter how I try messing with it. With the first showpage
commented, as shown, both pages display overlaid as one page.
Uncommented, only the first page shows, and the second is
inaccessible.
I tried using ImageMagick convert to combine two small one
page docs,
convert doc1.ps doc2.ps twopagedoc.ps
and that works fine. But vi-ing the twopagedoc, I can't for the
life of me figure out what it's doing that I'm not, or what
it's doing right that I'm doing wrong, or whatever. I tried
various things like gsave/grestore, just for kicks, but nothing
seems to have any effect. What's the trick? Thanks,
%!PS
%%Creator: tester
%%CreationDate: now
%%Title: tester
1.08 1.08 scale
33.33 116.67 translate
%%Page: 1 1
%gsave
newpath
290 320 moveto
0 214 lineto
11 209 moveto
283 318 lineto
275 317 moveto
23 204 lineto
1 setlinewidth
0.00 0.00 0.78 setrgbcolor
stroke
%showpage
%grestore
%%Page: 2 2
%gsave
newpath
260 344 moveto
112 69 lineto
122 71 moveto
252 345 lineto
244 347 moveto
131 73 lineto
1 setlinewidth
0.00 0.00 0.78 setrgbcolor
stroke
showpage
%grestore
%%EOF
--
John Forkosh ( mailto: j@f.com where j=john and f=forkosh )
Back to comp.lang.postscript | Previous | Next — Next in thread | Find similar | Unroll thread
(embarrassingly) simple showpage question JohnF <john@please.see.sig.for.email.com> - 2012-08-08 04:58 +0000
Re: (embarrassingly) simple showpage question ken <ken@spamcop.net> - 2012-08-08 07:59 +0100
Re: (embarrassingly) simple showpage question JohnF <john@please.see.sig.for.email.com> - 2012-08-08 08:54 +0000
Re: (embarrassingly) simple showpage question ken <ken@spamcop.net> - 2012-08-08 10:17 +0100
Re: (embarrassingly) simple showpage question JohnF <john@please.see.sig.for.email.com> - 2012-08-08 10:08 +0000
Re: (embarrassingly) simple showpage question tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2012-08-08 22:07 -0400
Re: (embarrassingly) simple showpage question JohnF <john@please.see.sig.for.email.com> - 2012-08-09 05:40 +0000
Re: (embarrassingly) simple showpage question ken <ken@spamcop.net> - 2012-08-09 08:44 +0100
Re: (embarrassingly) simple showpage question JohnF <john@please.see.sig.for.email.com> - 2012-08-09 09:38 +0000
Re: (embarrassingly) simple showpage question JohnF <john@please.see.sig.for.email.com> - 2012-08-10 06:24 +0000
csiph-web