For Programmers: Free Programming Magazines  


Home > Archive > PowerBuilder > October 2004 > can't print datawindow in Not Collated (PB9)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author can't print datawindow in Not Collated (PB9)
early105

2004-10-20, 12:58 pm

Hi all,

I used PB9. I need to print a datawindow with several copies with not collated. That means, if the datawindow retrieved 3 pages, I want to print it in 2 copies. I can't print it this sequence: page 1, page 1, and then page 2 and page 2.

It always print in page 1 then page 2, and again.

No matter I've tried it in design time and run time.

I've tried to set the lstr_printdlg.s_printer.b_collate to False
before it run dw.print(). However, it still failed.

Then, I tried to print the datawindow in design time. The check box, collate copies, in 'print specification' was set to false.
And also uncheck the 'collate' in printer setup dialogue.
It also failed.

Does any successfull case to print a DW in not collated in PB9?

Please advise me. Thank you very much.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com