Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Postscript 2 Structure

Status
Not open for further replies.

fdservices

IS-IT--Management
Mar 10, 2005
52
FR
I am absolutely new to Postscript and I wondered if someone would be kind enough to help me out.

I have written a very simple postscript 2 file which prints OK, but does not display correctly in Ghostview. I imagine that this is a structure problem, but I cannot solve it on my own.

My file looks like this:

%!PSAdobe-2.0
%%Title: Print postscript notes file
%%Pages: (atend)
%%EndComments

%%BeginSetup
%%Feature: *Pagesize A4
%%EndSetup

%%Page: 2 1
[first page of data]
showpage

%%Page: 4 2
[second page of data]
showpage
[and so on until the end]
%%Trailer
%%Pages: 31
end

Only the first page shows in Ghostview, but all the pages are printed correctly. Can someone help me out?

Andrew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top