Results 1 to 3 of 3

Thread: Once again printing in VB

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Talking

    What I am doing:

    Making a custom print dialog.

    I load all system printers in a combobox (Thanks guys for the help)!

    My question now is how to determine the default printer on the system? I would like this one to be the deafult choice in my combobox.

    Thanks in advance.
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  2. #2
    Fanatic Member
    Join Date
    Mar 2000
    Location
    That posh bit of England known as Buckinghamshire
    Posts
    658
    The printer object in VB is the default one of the system. You can test the name of that object against all of the enumerated ones.
    Iain, thats with an i by the way!

  3. #3
    Guest
    this will bring up the printers window,
    thereby letting the user choose what printers
    are on his particular machine and change the
    default...


    Shell "C:\WINDOWS\RUNDLL32.EXE " & "shell32,Control_RunDLL " & "C:\WINDOWS\SYSTEM\MAIN.CPL" & ",Printers"


    hope this helps in some way or another


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