Results 1 to 3 of 3

Thread: Select printer programatically

  1. #1

    Thread Starter
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    Use the Printers Collection, eg.
    Code:
    Dim oPrn As Printer
    'Send Print to Every Printer Driver in the Printers Folder..
    For Each oPrn In Printers
        Set Printer = oPrn
        Printer.Print "Printing on.. " & Printer.DeviceName
        Printer.EndDoc
    Next

    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]

  2. #2
    Hyperactive Member
    Join Date
    May 1999
    Location
    Reynosa, Mexico
    Posts
    274

    Post

    How can I select a printer programatically?

    I have two printers conected to my PC and I want that My App send data to both printers (one after other) with just one click.

    Thanks!

  3. #3
    Hyperactive Member
    Join Date
    May 1999
    Location
    Reynosa, Mexico
    Posts
    274

    Post

    Thanks a lot Aaron!

    Tonatiuh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width