Re: Tea4CUPS: TEABILLING reports error
On Mon 18 Jun 2018 at 22:04:50 +0200, Rainer Dorsch wrote:
> Hi Brian,
> thank you for your response and please apologize for my slow response.
> On Donnerstag, 31. Mai 2018 20:04:22 CEST Brian wrote:
> > Your tea4cups.conf is poorly. Here is a minimal one which works for me:
> > [Global]
> > debug : yes
> > directory : /var/spool/cups/
> > prehook_sispmctl : sispmctl -ng 4 2> /tmp/SISPMCTL
> Hmm....mine does not look so much different, I edited them template shipped by
> rd@b370:/var/log/cups$ grep -v '^#' /etc/cups/tea4cups.conf |grep -v '^$'
> directory : /var/spool/cups/
> prehook_sispmctl : /usr/local/bin/printeron
> I had to change [Global]-> [global] in your config (?)
A typo. Sorry.
> root@b370:/etc/cups# lpadmin -p virtq -v tea4cups:// -E -m raw
> lpadmin: Raw queues are deprecated and will stop working in a future version
> of CUPS.
Nothing to worry about (yet).
> > 3. Print to virtq:
> > lp -d virtq /etc/services
> root@b370:/etc/cups# lp -d virtq /etc/services
> Anfrage-ID ist virtq-40 (1 Datei(en))
> > 4. cat /tmp/SISPMCTL and look at the error_log.
> rd@b370:~$ cat /tmp/SISPMCTL
> not sure why this is empty... (?)
The hook completes without a warning. I get told that no GEMBIRD SIS-PM
> but no entry in the error_log
So, the hook works.
> > 5. Test with your original queue and my tea4cups.conf.
> same behavior as above, printeron is executed when issuing
> lp -d virtq /etc/services
> But when printing on my queue
> I get the same error_log again:
> Is my DeviceURI wrong?
You mean "tea4cups:/http://hpljwlan:631/ipp/"? Advice on an IPP URI is at
Or use tea4cups:/socket://... instead.