Results 1 to 4 of 4

Thread: Printer Settings

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2002
    Posts
    50

    Printer Settings

    Is there a way of changing the port settings of a printer programatically?

    i.e a printer is set up with its port being an ip address. I need to be able to change that ip address.

    I'm using VB or VBA.

    Thanks,
    Adam

  2. #2
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148
    Assuming the logged on user has sufficient priveleges, SetPrinter API call with the level 2 data structure PRINTER_INFO_2 can change this (and other settings)

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2002
    Posts
    50
    errrm.
    Any examples?
    Thanks.

  4. #4
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

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