Forums Register Login

Collating

+Pie Number of slices to send: Send
Hi everyone,

I have a question about the java multi-platform print dialog.

My question is on collating the output of my print out using the java multi-platform print dialog. The thing is no matter even if i select the collate check box or not the output of the print out is always printed uncollated.

When i use the platform specific print dialog(windows in my case) the output can be printed collated or uncollated.

This is what i am doing to call the multi-platform dialog to print collated print-outs

The below is sun's simple printing program but when i test this programming(when i switch the aset variable between collating and uncollating) the problem also arises.

This is the compilable program



It seems strange to me that if i use the sytem specific print dialog i can print both collated and uncollated printouts but if i use the java multi-platform print dialog the print out is always printed uncollated even when i specify it to be printed collated

There are no exceptions thrown and the program compiles with no errors.

Am i calling java multi-platform print dialog and adding the
attributes correctly?

Is this a bug or am i missing something for both my questions?

This program was run on java 1.4.6 and 1.5.0_06 with both producing the same results

I really hope someone can help me with this problem

Any help is greatly appreciated

Thank You

Yours Sincerely

Richard West
Ruth Stout was famous for gardening naked. Just like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1562 times.
Similar Threads
printing in java 1.4
Landscape
Printing on JTextArea
printing - can't have a '\n' new line. everything is concatenated :-(
Sides And Collate
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:50:53.