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 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.