Duplex printing not working.
- New
- How-to
- DataWindow
- PowerBuilder
-
Connie Dove
- PowerBuilder
- Wednesday, 19 February 2025 09:32 PM UTC
I am using Powerbuilder 2022 R3. I have a datawindow that is set up to print a parking pass. The printer specs are using the Envelope for the paper size and the paper source. Currently the pass only prints on 1 side. Staff have asked to have info printed on the back. However, after adding the text, now it prints on 2 seperate passes. I have verified that the printer being used is set up for Duplex. Also in the Print Setup in the app, 2 sided printed is selected.
Here are the print specs for the datawindow. I have checked and unchecked the Collate Copies
Here is the code being used - nothing fancy
// Print pass
dw_5.retrieve(gi_no_charge_pass_num)
dw_5.print()
I have tried to add this after the retrieve statement and it does nothing
dw_5.Object.DataWindow.Print.Duplex = 3
Any suggestions?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.