🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.postscript
1 messages
1 total messages Started by Martin Cracauer Wed, 28 Oct 1992 14:24
HELP! My Page- Definitions are wrong
#62
Author: Martin Cracauer
Date: Wed, 28 Oct 1992 14:24
101 lines
3013 bytes
Hi, there!

[ I posted this article some time ago without any reaction.
  So I try it again - I think, it has not been posted :-) ]


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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads