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

Reply via email to