You are not logged in.

#26 2013-09-23 19:08:24

71GA
Member
From: Slovenia
Registered: 2012-09-15
Posts: 282

Re: [SOLVED]Arch Linux cant see my HP 5520 printer

frank604 wrote:

Then try the guide in the arch wiki.  Refer to the quote in post #21 in this thread.  Does that fix things?

This:

Note: hplip depends on foomatic-db-engine which prevents the drivers list from appearing when a printer is added to CUPS via the web user interface (following error : "Unable to get list of printer drivers"). The workaround consists of installing hplip first, retrieving the corresponding PPD file from /usr/share/ppd/HP/, then, removing hplip entirely and the unnecessary dependencies. Finally, install the printer manually using the CUPS web ui, select the PPD file you retrieved then re-install hplip. After a reboot, you should have a fully working printer.

did not work... i get no printer in Evince nor in Libre office. Any more ideas?

EDIT:

I did found a person who has same problems as I do - linked to this topic. What should my /etc/cups/client.conf file look like?

Last edited by 71GA (2013-09-23 19:33:18)


C, ARM, ARM assembly, HTML, CSS, JS, Linux

Offline

#27 2013-09-23 20:12:37

71GA
Member
From: Slovenia
Registered: 2012-09-15
Posts: 282

Re: [SOLVED]Arch Linux cant see my HP 5520 printer

THE SOLUTION:
So I figured right that there is a problem with the file /etc/cups/client.conf.

Well my friend @Nejc Ančimer found an elegant solution. So CUPS can clearly comunicate with server (my printer) because I can print a
testpage. But because CUPS is running on localhost (my machine) we need to send server list (ServerName) back to localhost and not
to some network adress.

So the mistake was because in my file /etc/cups/client.conf I had:

ServerName 192.168.1.14

instead of:

ServerName localhost

So we were sending unknown requests to the printer while we have to first send it to localhosts which is running CUPS in order for
CUPS to 1st process/translate the requests and afterwards mediate it to the printer.

So is there a mistake in Wiki? Please someone fix it and possibly add an explaination.

EDIT: Once we get PPD file we could easily uninstall hplip and never use it again... Just save PPD file to some medium and you are done
with hplip for life...

Last edited by 71GA (2013-09-23 20:51:01)


C, ARM, ARM assembly, HTML, CSS, JS, Linux

Offline

#28 2013-09-23 20:54:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]Arch Linux cant see my HP 5520 printer

71GA wrote:

So is there a mistake in Wiki?

No.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#29 2013-09-23 20:58:34

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,170
Website

Re: [SOLVED]Arch Linux cant see my HP 5520 printer

71GA wrote:

So is there a mistake in Wiki?

Bloody hell... It seems you've hacked together a solution (again?).

In the time I've been watching the Arch Forums, I've not seen many people with printing problems after following the ArchWiki. I would say the ArchWiki is correct here.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#30 2013-10-03 12:51:59

calixtine
Member
From: Barcelona, Catalunya
Registered: 2012-12-17
Posts: 3

Re: [SOLVED]Arch Linux cant see my HP 5520 printer

I also made this mistake, changing /etc/cups/client.conf to point at my wireless printer and then, failing to change the setting back when it didn't work (duh .. rule 1). I continued to set up cups with the printer which all went fine. The result is that you can print a test page but none of your applications list the printer in the print dialog.

Perhaps the wiki could have an addition in the Other section "Can print test page from cups web interface but printer is not listed in print dialog" -> Check that /etc/cups/client.conf has the local cups server listed

Offline

Board footer

Powered by FluxBB