In vb6, what is the proper way to select a particular printer, do a print job, and then reset the printer back to the original default? Thanks for helping me. The following command works in a vb development environment but does not work at run tme.
Code:Dim oldprinter As String 150 oldprinter = Printer.DeviceName Dim SetPrinter As New cSetDfltPrinter 160 Debug.Assert SetPrinter.SetPrinterAsDefault("Bullzip PDF Printer")




Reply With Quote