I currently have the following code
Code:
Dim stDocName As String
stDocName = "rptProduct"
DoCmd.OpenReport stDocName, acNormal, , "[Autonumber] = " & Me.AutoNumber
DoCmd.OpenReport stDocName, acNormal, , "[Autonumber] = " & Me.AutoNumber
The problem I am running in to is that the printer it is using, has the right settings in the control panel's printer settings but the wrong setting in Access. I want to be able to print without going to the preview and changing the settings every time. It's a label printer, and the length and width settings are wrong. I also have to click "Use Printer Setting" on the advanced setup tab in order for it to work correctly. Any ideas on how to code these settings?