Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Bring up "Printing Defaults"

$
0
0
I am making an install script for installing printers without having to reboot, I have been successful so far except when I try to configure the printer driver.
I can use...

'rundll32 printui.dll,PrintUIEntry /e /n "printername"'

To bring up printing preferences but I have searched the internet for find a command to bring up "printer defaults" normally found in the advance tab and found nothing. This is necessary for other computers trying to access this printer.

I have also tried to import printer settings via
"RUNDLL32 PRINTUI.DLL,PrintUIEntry /Sr /n " & """" & $drivername & """" & " /a " & """" & @TempDir & "\TSC TDP-247.dat" & """"
But there are issues making this work with 64bit computing, mostly the “.dat” is not interchangeable from different 64bit systems.

Anyway, How do I get to “Printing defaults” via CMD? Or is there some other way to set printer defaults automaticly?

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>