Posted by timothyluke
on April 9, 2008 at 9:15 PM PDT
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?