I'm a new to autoyast (2 weeks). I've setup an install procedure for my hosts
but I still fail to setup properly the printer.
I have a "lpadmin" and a "lpoptions" commands working when run as root after the
final reboot.
I've setup a post-scripts to do this automaticaly but it always fail with:
"lpadmin: Unable to connect to server: Connection refused"
Even if my post-script requires network and start cupsd.
<post-scripts config:type="list">
<script>
<debug config:type="boolean">true</debug>
<filename>imprimantes</filename>
true
<notification>Please wait while setting up printers ...</notification>
<interpreter>shell</interpreter>
<source><![CDATA[
#!/bin/sh
service cups start
lpadmin -p laser5M -m manufacturer-PPDs/hplip/hp-laserjet_4050_series-ps.ppd.gz
-u allow:all -L "Salle A116" -v socket://batA1-most1.hmg.inpg.fr.:9100 -E
lpoptions -d laser5M -o PageSize=A4 -o HPOption_Duplexer=True -o
InstalledMemory=36MB -o HPOption_Tray3=True -o HPOption_Disk=HardDisk -o
Duplex=DuplexNoTumble
]]>
</source>
</script>
</post-scripts>
Any suggestion is welcome.
Patrick
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org