duplexing report

toddbingham

Registered User.
Local time
Today, 17:58
Joined
Jul 8, 2003
Messages
93
will a report duplex if the design is more than 1 page?
 
Hi,

I have a question related to duplex and wonder if you might be able to help me.

In a form, there is a checkbox with label "duplex" called CK_Duplex. User can choose to have duplex checked or unchecked.

the following is the code for the report.
Private Sub Report_Open(Cancel As Integer)
If Forms![Outline_Selection].CK_Duplex = True Then
MsgBox "Duplex is on"
Me.Printer.Duplex = acPRDPHorizontal
Else
MsgBox "Duplex is off"
End If

DoCmd.Maximize
End Sub

This works great because it prints the report double side when the duplex is checked. My question is how to unset the duplex if the user decided to only print a single side report by unchecking the duplex checkbox. Is there a way of controlling the printer thru access?

Thank you in advance
 

Users who are viewing this thread

Back
Top Bottom