[cups.general] each jobs get a paper with "-en % !" printed
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Thu Sep 18 13:01:56 PDT 2008
On Sep 18, 2008, at 15:35 , Guido wrote:
> *FoomaticRIPCommandLine: "level=%D; echo -en "%!\n%% %%\n
> %C"&&
> ; if (( $level > 0 )); then if (( $level < 99 )); then
> level=&qu&&
> ot; -dLanguageLevel=$level"; else level=""; fi; gs -q
> -&&
> dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=pswrite$level%A%Z -
> sOutputFi&&
> le=- -; else cat; fi"
>
> The echo command on a Solaris host does not accept any flags (eg: -
> en) so that entire statement after echo is seen as the content to
> echo. I can remove the -en flags from the ppd file and the extra
> page does not print but I'm wondering if that will cause some other
> unforseen problem and if modifying the ppd files in this fashion is
> considered safe?
You need to remove the -en parameter and end the echoed string with
"\c".
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
More information about the cups
mailing list