Knowledgebase: Developer
Set Win2PDF as active printer in VB6
Posted by Craig Lebakken on 31 January 2007 03:34 AM
|
|
Question: How do I set the Win2PDF as the active printer in Visual Basic 6.0? Answer: The following routine sets Win2PDF to be the active printer: Private Sub SetWin2PDFActivePrinter() Dim Prt As Printer For Each Prt In Printers If InStr(Prt.DeviceName, "Win2PDF") Then Set Printer = Prt Exit For End If Next End Sub | |
|
Comments (0)
Copyright 2000-2018 © Dane Prairie Systems LLC. All Rights Reserved. About Us | Privacy Policy | PDF Blog | Site Map