🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4155

HELP! My Page- Definitions are wrong

#4155
From: Martin Cracauer
Date: Wed, 14 Oct 1992 12:31
92 lines
2728 bytes
Hi, there!

I am developing an applications for generating tabulars. The output contains 
several pages in one file.

As I know, the structure of the code matches the rules in 'Document Structuring
Conventions' in the Postscript Reference Manual.

So far, everything is o.k. Our Laserjet prints all pages, the linotype attached 
to a mac, too.

If I do a preview on screen using the NeXT Previewer or Ghostview/ Ghostscript, I 
can see all pages. I can zoom them, too.

Now the error: If I am previewing the last page in my file, I can not get back to 
other pages or zoom it. A postscript error occurs.

I know, that both previewers can do this, because I have got many postscript 
documents containing several pages. All document exept my own are handled 
correctly :-(

I looked at the structure of the working documents, but I can not see any 
difference that could be the reason for this behavior.

My suggestion is, that I have to do something in the pager trailer (so far, I do 
not use one).

Please: If you have got an idea, what I am doing wrong, mail me. 

I will summarise you answers, If you want.

This is an example of my postscript files. I deleted uninteresing code. If you need 
to see the whole file, please let me know.



------------------------ begin of file --------------------

%!PS-Adobe-3.0
%%Creator: Topmedia 0.02
%%EndCommments
%%BeginProlog
%%BeginResource: procset alles

[ some procedure definitions ]


%%EndResource

[ definitions for functions to include eps-file as describben in PS Language
Reference Manual ]

%%EndProlog

%%BeginSetup

[ building fonts with some news character-codes and some function-definitions ]

%%EndSetup

%%Page: 1 1
%%BeginPageSetup
/pgsave save def
%%EndPageSetup

[ the code for page 1 ]

[ calling a procedure for showing an eps-file, defined in %prolog ]

pgsave restore
showpage

%%Page: 2 2
%%BeginPageSetup
/pgsave save def
%%EndPageSetup

[ the code for page 2 ]

[ calling a procedure for showing an eps-file, defined in %prolog ]


pgsave restore
showpage

%EOF
-------------------------- end of file ----------------------
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer, cracauer@wavehh.hanse.de
Waldstrasse 200, W-2000 Norderstedt, Germany
Tel.: +49 / 522 18 29, Fax.: +49 / 522 85 36
Technical Details
Message-ID: <1992Oct14.123116.4175@wavehh.hanse.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!news.Hamburg.Germany.EU.net!abqhh!wavehh.hanse.de!cracauer

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!news.Hamburg.Germany.EU.net!abqhh!wavehh.hanse.de!cracauer
From: cracauer@wavehh.hanse.de (Martin Cracauer)
Subject: HELP! My Page- Definitions are wrong
Message-ID: <1992Oct14.123116.4175@wavehh.hanse.de>
Organization: Private
Date: Wed, 14 Oct 92 12:31:16 GMT
Lines: 92