Set Printer Settings (Please help)

groupy

Registered User.
Local time
Today, 04:45
Joined
Dec 17, 2001
Messages
33
Hi,

I tried to set the printer setting's before I start a report.
In Access 2002 it works easy (see code below)

*********************************
'Change printer settings
Set prtFirst = Application.Printers(0)

With prtFirst
.PaperSize = nPaperSize
.Orientation = nOrientation
.PaperBin = newPaperCourse
End With
*********************************

But when I started this on a Access 2000 pc, it's not working.

I looked on the forums, and saw lots of code who start the report in the design mode, and than change the settings.

But that is not working on my application, because the users are working with replica's. A replica don't allow design changings.

So can someone say, how I can the the printer setting (like the code above), but than in Access 2000.

Please please, help me. I'm trying to solve this problem for two weeks now and I it is still not working.

Thanks a lot.
 
I don't think A2K supports this, I think you have to use the PrtDev method
 

Users who are viewing this thread

Back
Top Bottom