Web lists-archives.com

Re: Tea4CUPS: TEABILLING reports error




On Wed 30 May 2018 at 12:40:35 +0200, Rainer Dorsch wrote:

> I have tea4cups configured to power on my printer before printing. In order to do this, I 
> prepended tea4cups:/ to the DeviceURI in printers.conf (if I remove this and power on the 
> printer manually before printing, everything works as expected):

I suppose this should work ok if done when cupsd is not running. I'd be
inclined to modify the existing queue or set up a new one. A virtual
queue would allow testing Tea4CUPS without wrapping the backend.

The printer is being powered on by some type of electronic switch?
 
> /etc/cups/printers.conf:
> DeviceURI tea4cups:/http://hpljwlan:631/ipp/

http:// is a symlink the ipp backend. It's always useful to know what
model of printer is being used.

> I configured the printer power on script:
> 
> /etc/cups/tea4cups.conf:
> 
> 
> but I get unfortunately an error in /var/log/cups/error_log
> 
> 
> E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) : Traceback (most recent call 
> last): 
> 
> Is seems something goes wrong while setting the TEABILLING environement variable. 
> 
> Has anybody an idea why that could be?

tea4cups.conf is the configuration file for Tea4CUPS. I guess you are
using a prehook or posthook to activate the printer; we really need to
know what you have for it (including any associated script). What part
does TEABILLING play in the process?

-- 
Brian.