Knowledgebase: Developer
Set Win2PDF as active printer in VB6
Posted by Craig Lebakken on 31 January 2007 03:34 AM
How do I set the Win2PDF as the active printer in Visual Basic 6.0?

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
End Sub

(1 vote(s))
Not helpful

Comments (0)

Copyright 2000-2018 © Dane Prairie Systems LLC. All Rights Reserved. About Us | Privacy Policy | PDF Blog | Site Map