I am trying to find a way to change which printer the program prints to. This will be automated and done w/o a user. Does anyone know of a way to set the printer in code w/o the printer dialog box? Please let me know ASAP.
Printable View
I am trying to find a way to change which printer the program prints to. This will be automated and done w/o a user. Does anyone know of a way to set the printer in code w/o the printer dialog box? Please let me know ASAP.
I just found code that does this. I was looking to print to a PDF. This should easily be able to be modified to select the printer of your choice. Check out the web page http://www.mvps.org/access/reports/rpt0011.htm.Quote:
I am trying to find a way to change which printer the program prints to. This will be automated and done w/o a user. Does anyone know of a way to set the printer in code w/o the printer dialog box? Please let me know ASAP.
Sorry, Should have noted in post that this was MS Access gode which should work in VB.