Sounds like you don't use the JDK supplied Page Setup dialog, and
instead use your own Print Preview dialog that incorporates the
same functionality.

So one option is that you do the same for printing. If all you
want is to let users do something basic, like select a printer,
and say how many copies, then hopefully it won't be too much work.


[EMAIL PROTECTED] wrote:

Hi All,

I am currently working with printing an image over multiple pages implementing 
pageable and the cross platform print and page setup dialogs. The user 
environment is Java 1.5 with code compatability to 1.4.2. We are planning to go 
1.6 with code compat to 1.5.

The user launches a "Print Preview" dialog which shows thumbnails of the pages that are 
to be printed and they have an option to manipulate the page size via the page setup dialog. This 
adjusts the thumbnails in the previewer and saves the pageformat and printattributeset. The problem 
I have is that when the user presses print and is given the Print dialog - allowing them to choose 
print queues - they are also presented with a page setup tab. Currently any that are made in this 
dialog do not affect the supplied printattributeset but remain "cached" meaning that if 
the user calls up the print preview action again and opens the page setup dialog they are presented 
with the changed settings however the preview I have will show the old settings until the press ok 
on the second print preview dialog.

Is there any way to hide the page setup tab on the Print dialog?
Are there any improvements to the configurability/programmability of the print 
API's and pageable in 1.6?
[Message sent by forum member 'timothyluke' (timothyluke)]

http://forums.java.net/jive/thread.jspa?messageID=268466

===========================================================================
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".

===========================================================================
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