PRINTER

Antworten
tiberius
Beiträge: 17
Registriert: 22 Apr 2016, 16:24

PRINTER

Beitrag 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 *** ;-)
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: PRINTER

Beitrag 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"
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
tiberius
Beiträge: 17
Registriert: 22 Apr 2016, 16:24

Re: PRINTER

Beitrag von tiberius »

thx
Antworten