EKY32 Posted August 19, 2012 Share Posted August 19, 2012 (edited) I'm using this script: $Printers_List = GUICtrlCreateCombo("", 64, 49, 193, 25, BitOR($CBS_DROPDOWNLIST, $CBS_AUTOHSCROLL)) ; Import Printers Names From RegEdit For $Pr = 1 To 100 $Printer_Name = RegEnumVal("HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts", $Pr) If @error <> 0 Then ExitLoop GUICtrlSetData($Printers_List, $Printer_Name) Next So I have the printers' names but i need to view its' settings, I saw a script that has an external DLL file and uses printing options, but It didn't help so much, I need to view the setting of every printer like MS OFFICE do. Is this available? Thank you. Edited August 21, 2012 by EKY32 [font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font] Link to comment Share on other sites More sharing options...
EKY32 Posted August 21, 2012 Author Share Posted August 21, 2012 Solved like so: Run('rundll32 printui.dll,PrintUIEntry /p /n"' & @ComputerName & '' & GUICtrlRead($Printers_List) & '"') Replace GUICtrlRead($Printers_List) with your printer's name. You can use the command "printui" running it from Command Prompt (DOS) and see a HUGE quantity of printing options! Thank You, Me. [font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now