[cups.general] Return Error of socket backend
alet at librelogiciel.com
alet at librelogiciel.com
Thu Feb 12 05:29:47 PST 2009
On Thu, Feb 12, 2009 at 05:19:54AM -0800, JM TETU wrote:
>
> beh:/1/5/60/socket://printer:9100
>
> But i have to do hardware accounting with pykota. And beh seems never
> launch cupspykota backend.
this is normal because your device uri would have to be either :
beh://1/5/60/cupspykota://socket://printer:9100
or :
cupspykota://beh://1/5/60/socket://printer:9100
since otherwise beh can't know you want to launch cupspykota, or
cupspykota can't know you want to launch beh
but for a very long time now PyKota includes a feature to solve your
problem without beh, by setting the 'onbackenderror' directive in your
pykota.conf file. This directive can be placed either in the [global]
section or in any printer section (if it has to apply to only a single
or a few printers).
see this directive's documentation and examples in
pykota/conf/pykota.conf.sample
hth
Jerome Alet
More information about the cups
mailing list