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.
No problem. > 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 > Debian: > > rd@b370:/var/log/cups$ grep -v '^#' /etc/cups/tea4cups.conf |grep -v '^$' > [global] > directory : /var/spool/cups/ > prehook_sispmctl : /usr/local/bin/printeron > rd@b370:/var/log/cups$ > > ... > > I had to change [Global]-> [global] in your config (?) A typo. Sorry. [Snip] > 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. > root@b370:/etc/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)) > root@b370:/etc/cups# > > > > 4. cat /tmp/SISPMCTL and look at the error_log. > > rd@b370:~$ cat /tmp/SISPMCTL > rd@b370:~$ > > not sure why this is empty... (?) The hook completes without a warning. I get told that no GEMBIRD SIS-PM is found. > 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 [Snip] > I get the same error_log again: [Snip] > Is my DeviceURI wrong? You mean "tea4cups:/http://hpljwlan:631/ipp/"? Advice on an IPP URI is at https://wiki.debian.org/PrintQueuesCUPS Or use tea4cups:/socket://... instead. [Snip] -- Brian.