You are not logged in.

#1 2017-03-23 15:06

EndErr
Member
Registered: 2017-03-23
Posts: 18

Network printer sharing and connect

Having a HP LaserJet M1120 printer connected to my fresh Q4OS box I can't figure out how to connect that printer in another fresh installed Q4OS box.
From another windows machine I can connect without problems.
From the second Q4OS machine I connect the printer from cups administration but when printing I get a "Filter Failed" error.
I have tried even changing the drivers on the first and second Q4OS machines - but no luck.

Offline

#2 2017-03-23 15:08

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Network printer sharing and connect

Please try to follow Q4OS documentation https://www.q4os.org/dqa007.html#printer and post a result here.

Offline

#3 2017-03-23 15:16

EndErr
Member
Registered: 2017-03-23
Posts: 18

Re: Network printer sharing and connect

did that already, the first things I did after fresh install
still can't connect from another Q4OS, but can from Windows

Offline

#4 2017-03-23 15:23

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Network printer sharing and connect

So do we understand right, that the printer works fine from the first Q4OS machine, while from second doesn't ?

If so, we would recommend you to run from terminal:
$ ( sudo hp-setup 2>&1 ) | tee hpsetup.log
and attach generated logfile 'hpsetup.log' here to analyze.

Offline

#5 2017-03-23 15:32

EndErr
Member
Registered: 2017-03-23
Posts: 18

Re: Network printer sharing and connect

from the first or second machine?
if from the second then hp-setup doesn't find any network printers, but can find it from cups admin

Offline

#6 2017-03-23 15:42

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Network printer sharing and connect

Which type of connection, USB or another ?

If USB, try to run from both machines:
$ lsusb
and post output here.

Offline

#7 2017-03-23 15:51

EndErr
Member
Registered: 2017-03-23
Posts: 18

Re: Network printer sharing and connect

2nd machine:
user@pc2:~$ lsusb
Bus 005 Device 004: ID 8564:1000
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c077 Logitech, Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04d9:1603 Holtek Semiconductor, Inc. Keyboard
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Offline

#8 2017-03-23 15:53

EndErr
Member
Registered: 2017-03-23
Posts: 18

Re: Network printer sharing and connect

user@pc1:~$ lsusb
Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 0461:4e29 Primax Electronics, Ltd
Bus 002 Device 002: ID 09da:c10a A4 Tech Co., Ltd
Bus 002 Device 004: ID 03f0:5617 Hewlett-Packard LaserJet M1120 MFP
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Offline

#9 2017-03-24 07:20

EndErr
Member
Registered: 2017-03-23
Posts: 18

Re: Network printer sharing and connect

any suggestion?

Offline

#10 2017-03-24 15:00

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,298

Re: Network printer sharing and connect

By the look of it you have the printer installed on pc1 via a USB.

Are you trying to share it via network so it can be used by pc2?

If so, have you set the printer to 'shared' in CUPS admin? It is probably better to give pc1 a fixed IP address so that you can identify the share by ip address rather than name.

BTW Q4OS team there's a bug in CUPS ADMIN where once you make a change and it goes to restart the print server the screen does not return to the admin page in Konqueror/Cups Admin.

update - it happens in Advanced - Share Printer - for sure, not looked at other options too hard

Last edited by bin (2017-03-24 15:37)

Offline

#11 2017-03-24 15:04

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Network printer sharing and connect

@bin
Thanks for your hints. We will check the issue you mentioned.

@EndErr
You probably want to share a CUPS network printer. To enable browsing (shared printer discovery), 'avahi-daemon avahi-discover' packages must be installed and running on the server and client:
$ sudo apt-get install avahi-daemon avahi-discover
Reboot.
Run your favorite web browser and enter cups web configuration interface:

http://adminq@localhost:631/admin

On server, you need to select 'Share printers connected to this system' in the web interface:
On the client, you need to select 'Show printers shared by other systems' in the web interface:
Then you can click to 'Add printer', your printer should be listed under the 'Discovered Network Printers' section. Click 'Continue' to proceed steps to install the network printer.

Offline

#12 2017-03-24 15:28

EndErr
Member
Registered: 2017-03-23
Posts: 18

Re: Network printer sharing and connect

All the things were done before and of course I have tried using another browser too.
The printer was descovered and installed automatically, I've selected the same driver as on pc1 (where printer is installed), and tried another drivers too.
But can not print, in job details I get Filter Error after some time of waiting.

Offline

#13 2017-03-24 15:45

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Network printer sharing and connect

EndErr wrote:

But can not print, in job details I get Filter Error after some time of waiting.

Many HP printers require a proprietary plugin to print. So it seems that you need to install the hplip binary plugin. The easy way is to run the 'hp-plugin' wizard, it should install the appropriate plugin. Run in terminal on the client machine:
$ sudo apt-get install hplip hplip-gui
$ sudo hp-plugin

Offline

#14 2017-03-24 15:57

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Network printer sharing and connect

bin wrote:

BTW Q4OS team there's a bug in CUPS ADMIN where once you make a change and it goes to restart the print server the screen does not return to the admin page in Konqueror/Cups Admin.

update - it happens in Advanced - Share Printer - for sure, not looked at other options too hard

Yes, we can confirm an issue, however we are able to produce it with 'Server settings -> Show printers shared by other systems -> Change settings' option only. All other options didn't show any problems when changed.
We have added this bug to our internal bug list.

Offline

Board footer

Powered by FluxBB