/build/static/layout/Breadcrumb_cap_w.png

LPR Printing

Would anyone know if a way to include print services for unix as part of a scripted install? at the moment i cant seem to find any info for putting it into the scripted install and its become a part of post-installation for our helpdesk. obviously not the biggest deal in the world but i would love to automate as much as possible.

0 Comments   [ + ] Show comments

Answers (6)

Posted by: dchristian 13 years ago
Red Belt
1
hey trentderby,

Try this as a post-install bat script:
ocsetup.exe Printing-Foundation-LPDPrintService /quiet /norestart

Hope this helps.
Posted by: trentderby 13 years ago
Blue Belt
1
thank you for your help, would this work on XP? i forgot to mention that the target OS is XP! sorry!
Posted by: dchristian 13 years ago
Red Belt
1
Trentderby,

This a little more complicated but not too hard for XP.

First thing you need to do is find your windows XP source CD number.

If you click under library -> source media and than your XP CD, you'll see it in the URL.

After you find it you need to modify this script to point to your CD number and your KBOX.

Mine was ten. Example if your is 7 the last part of the first line should be "\source_cds\7 /f".
Replace all parts in brackets (remove the brackets :) )
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v ServicePackSourcePath /t REG_SZ /d \\{your kbox here}\peinst\source_cds\{source cd number here} /f
xcopy unix.inf c:\ /y
sysocmgr /i:C:\WINDOWS\inf\sysoc.inf /u:C:\unix.inf /r


After you have that save it as printer.bat

Next create this inf file call it unix.inf
[Components]
Netoc = on

[netOptionalComponents]
lpdsvc = 1


Zip up the 2 files and create them as a post install application.

The command line should be printer.bat

Good luck, hope this helps.
Posted by: cblake 13 years ago
Red Belt
1
If memory serves, a long time ago in a land far far away... I copied files from a system that already had it enabled and that solved it.

COPY \\Server\LPRService\lpdsvc.dll C:\WINDOWS\system32 /y
COPY \\Server\LPRService\lprmon.dll C:\WINDOWS\system32 /y

I also wrote an MSI that left something behind for K1000 to detect into inventory since I was doing it as a managed install, but that wouldn't be required. Custom inventory item or script would handle it fine.
Posted by: trentderby 13 years ago
Blue Belt
1
thanks im going to give it a go this afternoon.
Posted by: trentderby 13 years ago
Blue Belt
1
works a treat!!! thanks very much for all your help!!!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ