Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Printing -- tearing my hair out
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
lars_the_bear
Guru
Guru


Joined: 05 Jun 2024
Posts: 522

PostPosted: Sun Jun 09, 2024 9:06 am    Post subject: [solved] Printing -- tearing my hair out Reply with quote

Hi

Can anybody help, before I completely lose the will to live? Well, the will to live with Gentoo, anyway -- being unable to print is a showstopper for me.

I have a Brother network laser printer. It Just Works with Fedora and Ubuntu. It even Just Works from my phone. It supports AirPrint, IPP Anywhere, LPD, and a stack of other things.

At present, it's working from other Linux systems in driverless mode. It has a fixed IP number, because I got fed up with the auto-detection stuff working only when it felt like it.

So, from the Gentoo documentation, I figured all I would need to do is

lpadmin -p xxx -E -v ipp631://my_ip/ipp/print -m everywhere

I know this is the correct URI, because it works on other Linux systems. I've installed the cups and cups-meta packages as per the documentation. And, of course, the CUPS daemon is running.

I get a print queue that shows up in the CUPS console, but trying to print does not even create a job. In the CUPS error log I have:

Code:

E [09/Jun/2024:09:31:58 +0100] [Client 501] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost:631/printers/panda) from localhost.


I don't know what that error message means, but I don't think it's come from the printer. I'm monitoring the network chatter between CUPS and the printer, and attempting to print does not result in any network traffic. I see chatter when defining the printer, however, so I'm sure that communication is OK.

FWIW I've tried it with drivers as well -- both official ones from Brother and 3rd-party ones from an emerge overlay. I've tried LPD mode as well as IPP. I've tried using the CUPS web interface rather than lpadmin. The results are always the same.

Trying to print a test page from the CUPS web interface gives me:

Code:

Unsupported format "text/plain".


It looks to me as if a chunk of format conversion software is missing. cups-filters is installed, as is ghostscript, although I don't know whether these are actually necessary.

I'm at my wit's end, what little wit I have. There are some things I can't make work yet in Gentoo, but it's essential that I'm able to print.

Any suggestions welcome.

BR, Lars.

PS. I don't have ìppfind`. I'm assuming I don't need it if I'm using static configuration. I hope that's true, but I accept that it might not be.


Last edited by lars_the_bear on Wed Jun 26, 2024 8:41 am; edited 1 time in total
Back to top
View user's profile Send private message
lars_the_bear
Guru
Guru


Joined: 05 Jun 2024
Posts: 522

PostPosted: Sun Jun 09, 2024 9:15 am    Post subject: Reply with quote

In desperation, I rebooted my Gentoo machine.

Now it's printing fine.

WHY?? This is like using Windows ;)

So far as I know, nothing is running after the reboot that wasn't running before it.

If anybody has an explanation for this, and would like to save my sanity, please feel free to share it.

BR, Lars.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54578
Location: 56N 3W

PostPosted: Sun Jun 09, 2024 9:21 am    Post subject: Reply with quote

lars_the_bear,

You should be using cups with driverless printing.

As you say, a reboot should not have been required.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
lars_the_bear
Guru
Guru


Joined: 05 Jun 2024
Posts: 522

PostPosted: Sun Jun 09, 2024 10:23 am    Post subject: Reply with quote

NeddySeagoon wrote:
lars_the_bear,

You should be using cups with driverless printing.

As you say, a reboot should not have been required.


Thanks. But I was, and it was. I expect this sort of thing with Windows. On Linux, it suggests that I haven't really understood. That's what worries me. If I don't understand the cause of the issue, it might come back :/

BR, Lars.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3005
Location: Edge of marsh USA

PostPosted: Sat Jun 15, 2024 4:21 am    Post subject: Reply with quote

Restarting cupsd should have cured you:
Code:
/etc/init.d/cupsd restart

_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
lars_the_bear
Guru
Guru


Joined: 05 Jun 2024
Posts: 522

PostPosted: Sat Jun 15, 2024 7:30 am    Post subject: Reply with quote

figueroa wrote:
Restarting cupsd should have cured you:
Code:
/etc/init.d/cupsd restart


Fair enough. But I'm surprised such a measure would be necessary. To be fair, I'm not sure it was: it might just have been a coincidence.

BR, Lars.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum