Deploying iPrint to Workstations Using ZENworks
Novell Cool Solutions: Trench
By Matt Osburn
Digg This -
Posted: 22 Oct 2003
PROBLEM: When we are working with large numbers of NDPS printers and workstations, it's not an option to use an iPrint Printer Policy to deploy these printers. The policy doesn't always work; and, I needed a way to workstation-associate NDPS/iPrint printers for deployment--while not requiring user intervention.
SOLUTION: This solution uses ZENworks NAL and is GREAT!
- First, it assumes that the iPrint client ver. 1.10 has been installed on the workstation. (The NAL I created looks for the C:\WINNT\SYSTEM32\iprntcmd.exe for verification. (This may be deployed via NAL as well)
- Second, you need to know the NDPS PA Names.
The example shows an AXT extract of an "iPrint Printer Template.AXT" App Object. This App Object has two macros: NDPS_PA_NAME=(Exact PA Name) and SERVER_NAME=(DNS Name of NDPS server, ie. NDPSSERVER.COM)
The App Object is set to ForceRun (Run Always) upon user login.
When the App Object is run, it calls the iPrntCmd.EXE iPrint Command Line utility to automatically pull down the NDPS Printer listed in the MACRO.
The App Object can be workstation-associated either directly to workstations, or to workstation groups.
Furthermore, if you have to delete & recreate an NDPS PA, as long as the PA name is the same--you don't have to reassociate anything.
I was able to replicate this to 260 NDPS PA's in about two hours by myself and now we have full NDPS printers associated to workstations.
EXAMPLE: iPrint Template That May Be Workstation Associated
;AXT_FILE 3.1 ; ;[Application Name] ;Value=iPrint Printer Template ; ;[Application Caption] ;Value=iPrint Printer Template ; ;[Macro] ;Name=NDPS_PA_NAME ;Value=NDPSPANAME ; ;[Macro] ;Name=SERVER_NAME ;Value=DNSNAMEOFNDPSSERVER.COM ; ;[Application Admin Notes] ;File=ADMN4823.TXT ; ;[Application Description] ;File=DESC18BE.TXT ; ;[Application Path] ;Value=C:\WINNT\SYSTEM32\IPRNTCMD.EXE ; ;[Application Flags] ;Flag=Not a Disconnectable Application ;Flag=**Unknown** 536870912 (20000000) ; ;[Application Parameters] ;Value=http://%SERVER_NAME%:631/ipp/%NDPS_PA_NAME% /ADD ; ;[Application Platform] ;Flag=Windows NT ; ;[Filter File Exists] ;File=C:\WINNT\SYSTEM32\iprntcmd.exe ;Flag=Exists ;Flag=Show Always ; ;[Filter OS Version] ;Type=Windows NT ;Major Version=-1 ;Minor Version=-1 ;Revision Version=-1 ;Flag=Greater Than or Equal ; ;[Application Icon Order] ;Value=1 ; ;[Application Association Flags] ;Flag=Force Run ;
If you have any questions you may contact Matt at firstname.lastname@example.org
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com