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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Printer Properties Programatically

Status
Not open for further replies.

Steve101

Programmer
Mar 29, 2002
1,473
AU
All of my reports for a system go to the default printer; this is set to print 1 side per sheet, and works without problem.

I have a new report, which needs to print on two sides per page (its a student certificate, where the detailed results print on the reverse side of each page).

I can print the report on two sides per page, providing I preview the report, then press control P (to print), then set the 'Finishing' properties on the dialogue box to Print-Style of '2 sides printing'.

Unfortunately, I need to do this each time I print a certificates report. I;ve tried configuring the printer to this double sided setting in Control Panel, and it seems to persist here, however, in the Access program, the settings defer back to the initial default settings for the printer.

How do I either control this programmatically, OR set up a printer in control panel, where the '2 sided printing' settings will be recognised when I run the report.

Any help will be appreciated,





Steve Lewy
Solutions Developer
steve@lewycomputing.com.au
(dont cut corners or you'll go round in circles)
 
No bites yet on this one, but seem to be making some progress. I'm finding that if I set the defaults in Control panel (eg. for duplex printing) for a particular printer, then these will only 'take' in the Access report if the 'specific' printer is selected in design view; as opposed to the 'default' printer (even if the default happens to be the same printer.

Curious .... anyway, its workable ... at least I'll find out tomorrow when I'm back on the network.

Painful exercise finding this out; I still hav'nt located any working code that accomplishes this.

Steve Lewy
Solutions Developer
steve@lewycomputing.com.au
(dont cut corners or you'll go round in circles)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top