[Foomatic] foomatic-gswrapper working for root account, not for user account

Ian Jacobs ij at w3.org
Tue Sep 7 10:48:37 PDT 2004


Hello,

Here is what /var/log/cups/error_log shows when I use lpr
as root:

foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE'
'-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD'
'-sDeviceModel=photosmart 7550' '-dDEVICEWIDTHPOINTS=612'
'-dDEVICEHEIGHTPOINTS=792' '-dDuplex=false' '-r300'
'-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:
PenSet=2' '-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2

Here's what the log shows when I use lpr as another user:

foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE'
'-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD'
'-sDeviceModel=photosmart 7550' '-dDEVICEWIDTHPOINTS=0'
'-dDEVICEHEIGHTPOINTS=0' '-dDuplex=false' '-r300'
'-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:
PenSet=2' '-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2

The only difference has to do the width and height of
the device: -dDEVICEWIDTHPOINTS=0' instead of -dDEVICEWIDTHPOINTS=0

I am guessing this has to do with setting privileges somewhere,
but I cannot figure out where. I would appreciate any help
in figuring out how to fix this so all users can use lpr. 

Thank you!

 - Ian



More information about the Printing-foomatic mailing list