Results 1 to 2 of 2

Thread: Printer

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2001
    Posts
    53
    Need MASTER VB PROG,

    WIN 95/98/NT/2000

    1. How do i add network printer using addprinter dialog box
    however since I know the server name and printer name,

    can I select options and pass arguments programmatically to the
    addprinter dailog box, so that user don't have to do it manually.


    2. HOW DO I ADD NETWORK PRINTER USING ADDPRINTER AND
    GETPRINTERDRIVERDIRECTORY API.

    any working code will be helpful.


    Thanks ,


    Milind.

  2. #2
    New Member
    Join Date
    Mar 2001
    Posts
    1

    Smile

    Well i have some code regd how to add a Printer
    Try this if it works out for you

    Vijay
    [email protected]



    Private Sub cmdAddPrinter_Click()
    Shell ("rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter")

    End Sub
    Last edited by vsandena; Mar 14th, 2001 at 01:34 AM.

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