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)
Please log in to answer
Posted by:
dchristian
13 years ago
Posted by:
trentderby
13 years ago
Posted by:
dchristian
13 years ago
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 :) )
After you have that save it as printer.bat
Next create this inf file call it unix.inf
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.
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
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.
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.
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.