This message makes me discover that ps files created using 0 as pagecount are slighlty incorrect. Specifically, there should be these 2 added lines at the file bottom %%Trailer %%Pages: n I didn't see that yet because reading these files on Linux and MacOS do not generate warning.
This bug will be fixed. In the meanwhile, you can stop the warnings to appear in GSView by opening its "Options" menu, item "DSC Warnings", select "Off". > I am printing to a postscript file using "Fl_System_Printer::start_job(int > pagecount, int *frompage=NULL, int *topage=NULL)" > > This works but when I start printing and call "start_job" I do not know the > height of the page the user selects from the dialog fltk opens so I do not > know how many pages to print. So I put into "int pagecount" a zero - the > documentation says I should enter that if I do not know the number of pages. > > When I open the resulting postscript file with the GSView program it > complains that the specified number of pages in the document does not match > the real number of pages in the document. > > What shall I do to get the correct number of pages in the document? > > Georg > _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

