Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Tea4Cups - Print Job appears as "Held Since"

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
alexgrauer
Posts: 4
Joined: 2021-11-21 02:52

Tea4Cups - Print Job appears as "Held Since"

#1 Post by alexgrauer »

Hi,

I am trying to use cups and tea4cups, but as soon as I add the "tea4cups://" to the DeviceURI and try printing something, the job shows as "held since" on CUPS Administration website, and nothing comes out.
If I take that part and leave the DeviceURI just as ipps://RICOH%20MP%20C3003%20%5B002673876D83%5D._ipps._tcp.local/ then I can see the printer from other devices on the network and print stuff.

In the file /etc/cups/tea4cups.conf I am literally doing nothing. I was trying to run a prehook before, but as it was not working I though I would just do nothing to see if it would print, but nothing.

I tried using tea4cups:ipps://....., tea4cups:/ipps://...... and tea4cups://ipps://...... but nothing.

I follow the steps here http://www.pykota.com/software/tea4cups/download, and saw the same in many other website, but I can't make it work.
Im using a Raspberry Pi 3+.

Anyone that went through the same and got to solve it?
Thanks very much,

Alex

brian_p
Posts: 196
Joined: 2015-11-05 10:32
Has thanked: 1 time
Been thanked: 5 times

Re: Tea4Cups - Print Job appears as "Held Since"

#2 Post by brian_p »

Give what you get for

Code: Select all

lpstat -t

Code: Select all

lpstat -l -e
--
Brian.

alexgrauer
Posts: 4
Joined: 2021-11-21 02:52

Re: Tea4Cups - Print Job appears as "Held Since"

#3 Post by alexgrauer »

Hi @brian_p,

These are the results to those commands:

lpstat -t

Code: Select all

no system default destination
device for Brother_HL_L2360D_series: implicitclass://Brother_HL_L2360D_series/
device for HP_ENVY_4520_series_AC01A2_: implicitclass://HP_ENVY_4520_series_AC01A2_/
device for HP_ENVY_4520_series_AC01A2_@HP705A0FAC01A2.local: implicitclass://HP_ENVY_4520_series_AC01A2_%40HP705A0FAC01A2.local/
device for RICOH_MP_C3003_002673876D83_: implicitclass://RICOH_MP_C3003_002673876D83_/
device for RICOH_MP_C3003_AirPrint: tea4cups:/ipps://RICOH%20MP%20C3003%20%5B002673876D83%5D._ipps._tcp.local/
Brother_HL_L2360D_series accepting requests since Sun 21 Nov 2021 19:00:04 GMT
HP_ENVY_4520_series_AC01A2_ accepting requests since Sun 21 Nov 2021 04:20:08 GMT
HP_ENVY_4520_series_AC01A2_@HP705A0FAC01A2.local accepting requests since Sun 21 Nov 2021 20:46:42 GMT
RICOH_MP_C3003_002673876D83_ accepting requests since Sun 21 Nov 2021 03:42:56 GMT
RICOH_MP_C3003_AirPrint accepting requests since Sun 21 Nov 2021 03:24:38 GMT
printer Brother_HL_L2360D_series is idle.  enabled since Sun 21 Nov 2021 19:00:04 GMT
printer HP_ENVY_4520_series_AC01A2_ is idle.  enabled since Sun 21 Nov 2021 04:20:08 GMT
printer HP_ENVY_4520_series_AC01A2_@HP705A0FAC01A2.local is idle.  enabled since Sun 21 Nov 2021 20:46:42 GMT
printer RICOH_MP_C3003_002673876D83_ is idle.  enabled since Sun 21 Nov 2021 03:42:56 GMT
printer RICOH_MP_C3003_AirPrint is idle.  enabled since Sun 21 Nov 2021 03:24:38 GMT
lpstat -l -e

Code: Select all

Brother_HL_L2360D_series network none ipp://Brother%20HL-L2360D%20series._ipp._tcp.local/
HP_ENVY_4520_series_AC01A2_ network none ipps://HP%20ENVY%204520%20series%20%5BAC01A2%5D._ipps._tcp.local/
HP_ENVY_4520_series_AC01A2_@HP705A0FAC01A2.local permanent ipp://localhost/printers/HP_ENVY_4520_series_AC01A2_@HP705A0FAC01A2.local implicitclass://HP_ENVY_4520_series_AC01A2_%40HP705A0FAC01A2.local/
RICOH_MP_C3003_002673876D83_ network none ipps://RICOH%20MP%20C3003%20%5B002673876D83%5D._ipps._tcp.local/
RICOH_MP_C3003_AirPrint permanent ipp://localhost/printers/RICOH_MP_C3003_AirPrint tea4cups:/ipps://RICOH%20MP%20C3003%20%5B002673876D83%5D._ipps._tcp.local/
RICOH_MP_C3003_AirPrint_ALEX_raspberrypi network none ipps://RICOH%20MP%20C3003%20AirPrint%20ALEX%20%40%20raspberrypi._ipps._tcp.local/cups
Thanks :)

alexgrauer
Posts: 4
Joined: 2021-11-21 02:52

Re: Tea4Cups - Print Job appears as "Held Since"

#4 Post by alexgrauer »

So, I think I've made some "progress".
I changed /usr/lib/cups/backend/tea4cups group and user to root using chown, and gave execution permissions using chmod +x. It still doesn't work, but now the printing job has de status "Held for authorisation"
But, yes, im stuck again! :roll:

Any ideas?

brian_p
Posts: 196
Joined: 2015-11-05 10:32
Has thanked: 1 time
Been thanked: 5 times

Re: Tea4Cups - Print Job appears as "Held Since"

#5 Post by brian_p »

alexgrauer wrote: 2021-11-21 21:08
These are the results to those commands:
Thank you, alexgrauer.

Are you able to print to the RICOH_MP_C3003_002673876D83_ queue? Try

Code: Select all

lp -d "RICOH_MP_C3003_002673876D83_"  /etc/nsswitch.conf
--
Brian.

alexgrauer
Posts: 4
Joined: 2021-11-21 02:52

Re: Tea4Cups - Print Job appears as "Held Since"

#6 Post by alexgrauer »

I am! My problem starts when I add the tea4cups:/
Thanks for your help

brian_p
Posts: 196
Joined: 2015-11-05 10:32
Has thanked: 1 time
Been thanked: 5 times

Re: Tea4Cups - Print Job appears as "Held Since"

#7 Post by brian_p »

alexgrauer wrote: 2021-11-24 06:58 I am! My problem starts when I add the tea4cups:/
Thanks for your help
The queue of interest is the one with destination RICOH_MP_C3003_AirPrint. May we have the detail of how you set it up? Also give

Code: Select all

ls -l /etc/cups/ppd
--
Brian.

brian_p
Posts: 196
Joined: 2015-11-05 10:32
Has thanked: 1 time
Been thanked: 5 times

Re: Tea4Cups - Print Job appears as "Held Since"

#8 Post by brian_p »

brian_p wrote: 2021-11-24 17:02
alexgrauer wrote: 2021-11-24 06:58 I am! My problem starts when I add the tea4cups:/
Thanks for your help
The queue of interest is the one with destination RICOH_MP_C3003_AirPrint. May we have the detail of how you set it up? Also give

Code: Select all

ls -l /etc/cups/ppd
I dislike having to guess. Information is the fuel of analysis. However, all the evidence up 'til now is that the user has set up a raw print queue with an ipp://... URI. Very fraught and guaranteed to fail if the printer does not accept the file type sent.
--
Brian.

Post Reply