Hello,

I'm not sure if this is the right mailing list for my questions but as
there are other discussions about printing I hope that someone can help
me with my problem (my application uses JDK 1.2.1 under WinNT):

I am trying to print a document that consists of several pages. To allow
the user to choose the pages for printing I show the print dialog by
calling PrinterJob.printDialog(). The problem now is to print an
additional flyleaf without adding it to the document itself. That would
restrict the user in choosing single pages in the print dialog so I
don't consider it as a good solution. If the user wants to print a
flyleaf I should be able to print it no matter which and how many pages
of the document should be printed. When I just show the pages of the
document for selection, the print(..) method of the Pageable is never
called for another page index than the chosen ones. Does anybody have an
idea how to solve this problem?

I also tried to print the flyleaf before printing the document by
calling the PrintJob.print() method twice but this creates two different
documents on the printer and I can't be sure then that another document
won't be printed between my two (on a network printer).

Thanks,
Sigrun

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to