Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing in Duplex mode in Code

Status
Not open for further replies.

ALA02

MIS
Aug 27, 1999
22
SE
I have a procedure called 'create reports', once the report is created and spit out to the server I use this to automatically print that report:(an example)

DoCmd.OpenReport "ALASLS020", acViewNormal

The report print fine, however only on one side. I have the printers 'printing preferences(win 2k pro) set for landscape and duplex printing, but it still only prints on one side. Anything in code which will tell it to print in duplex?
 
You can specify what you want a report to do by opening it in design view then clicking 'File' menu then 'Page Setup'

also see my FAQ on that for specific details:

faq181-14
here on this site.


DougP, MCP
dposton@universal1.com

Ask me how Bar-codes can help you be more productive.
 
Thanks DougP, I implemented and tested your procedure and it works perfectly.
 
Yes this method works but...
my problem is that I want to have a choice at run-time.
If you set the report to print a certain way you are stuck with it until you change the report in design mode.

Is there a way to control crystal's printer setup through code or some API function
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top