G
Guest
OutPutReportFileWtHi I am using the code below in Access 2002
The printer object does correctly print to the Win2PDF printer but
also prints to the default printer. I only want the report to print out
to the file name and not the default printer also. Is this because I have
the default printer also set and the report is set to use the default printer
Any help would be appreciated
Set Application.Printer = Application.Printers("Win2PDF")
SaveSetting "Dane Prairie Systems", "Win2PDF", "PDFFileName",
OutPutReportFileWt
DoCmd.OpenReport RptName, acViewNormal, , StrCritera
Set Application.Printer = Nothing
The printer object does correctly print to the Win2PDF printer but
also prints to the default printer. I only want the report to print out
to the file name and not the default printer also. Is this because I have
the default printer also set and the report is set to use the default printer
Any help would be appreciated
Set Application.Printer = Application.Printers("Win2PDF")
SaveSetting "Dane Prairie Systems", "Win2PDF", "PDFFileName",
OutPutReportFileWt
DoCmd.OpenReport RptName, acViewNormal, , StrCritera
Set Application.Printer = Nothing