On all my OpenSuse 11.4 client installed with Autoyast I have some trouble with
printers.
Applications like evince or firefox cannot understand printers options.
Ex: I'm unable to set two-sided printing from these applications, the two-sided
menu is greyed, the paper format is not set to A4 but to letter.. etc.
Printers are set with these lines in my autoyast file:
<scripts>
<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
service cups status
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 -o HPOption_PaperPolicy=NearestSizeAdjust
lpadmin -p color -m manufacturer-PPDs/hplip/hp-color_laserjet_cp2025n-ps.ppd.gz
-u allow:all -L "Salle A106" -v socket://batA1-most-color.hmg.inpg.fr:9100 -E
lpoptions -p color -o PageSize=A4 -o HPOption_Duplexer=True -o
Duplex=DuplexNoTumble -o HPBookletPageSize=A4 -o HPManualDuplexSwitch=True
]]>
</source>
</script>
</post-scripts>
</scripts>
Runing "lpoptions -p laser5M -l"
on these Autoyast configured PC and mine installed from OpenSuse DVD do not show
any difference, they all have
PageSize/Page Size: Letter LetterSmall Executive Legal LegalSmall *A4 A4Small A5
B5 w612h935 .....
HPOption_Duplexer/Duplex Unit: *True False
HPOption_PaperPolicy/Fit to Page: PromptUser *NearestSizeAdjust NearestSizeNoAdjust
Duplex/2-Sided Printing: None *DuplexNoTumble DuplexTumble
Any idea about this strange behavior with autoyast configured boxes ?
Thanks
Partrick
--
===============================================================
| Equipe M.O.S.T. | http://most.hmg.inpg.fr |
| Patrick BEGOU | ------------ |
| LEGI | mailto:Patrick.Begou@hmg.inpg.fr |
| BP 53 X | Tel 04 76 82 51 35 |
| 38041 GRENOBLE CEDEX | Fax 04 76 82 52 71 |
===============================================================
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org