Seite 1 von 1

PRINTER

Verfasst: 26 Mai 2016, 19:50
von tiberius
Dear Folks,

I'm playing and workin with opsi for a while now, pxe action, building opsi packages and everything works good so far and my opsi server gets better and better, but NOW I have to create an opsi script to roll-out my printer drivers /I do hate printers and drivers and vice versa / :D
So I do ask u guys if there is a common way to install/assign printer drivers with opsi....I found a couple of forum posts dealing with autoit things which are great but I prefer straight forward and simple thing if possible- further I found old posts dealing with 'opsi-printer-template' which seems to be gone- right?

I would highly appreciate if anybody can share his/her experience to make printer driver installation just a bit less pain in the *** ;-)

Re: PRINTER

Verfasst: 26 Mai 2016, 21:10
von SisterOfMercy
I use rundll32:

Code: Alles auswählen

; Create printer
"%SystemRoot%\system32\rundll32.exe" printui.dll,PrintUIEntry /q /if /b "FreePDF" /r "freepdfxp1:" /m "PDF24" /z /f "%ScriptPath%\files\printer_nt6\pdf24.inf"

; Restore settings
"%SystemRoot%\system32\rundll32.exe" printui.dll,PrintUIEntry /q /Sr /n "FreePDF" /a "%ScriptPath%\files\printer_nt6\settings.dat" d g r

; Set description and location
"%SystemRoot%\system32\rundll32.exe" printui.dll,PrintUIEntry /q /Xs /n "FreePDF" comment "PDF Printer"
"%SystemRoot%\system32\rundll32.exe" printui.dll,PrintUIEntry /q /Xs /n "FreePDF" location "Virtual"

Re: PRINTER

Verfasst: 01 Jun 2016, 20:06
von tiberius
thx