LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 07-24-2017, 09:58 PM   #1
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Rep: Reputation: 89
Cannot print with remote printer - BLFS 7.9


As the title suggests I cannot print to a remote printer. I can print just fine with the same printer connected via USB cable.

I have an HP DeskJet 880C connected by USB cable to a particular computer running Devuan Jessie and CUPS 1.7.5. Then I try to set up remote printing from a laptop running BLFS 7.9 (and CUPS 2.1.3) using ipp. When I try printing from this laptop, the printer is apparently detected properly, nothing happens and the status reads "Sending data to printer." It never seems to time out. When I log into the web interface of the other computer to which the printer is connected, the status of the particular job reads "No pages were found." I must add that this identical setup works without issue on another laptop running BLFS 7.5, so I suspect something changed with the stack on BLFS 7.9.

This happens whether I use hpcups or Gutenprint. Does anyone else have this problem, and are there any workarounds? Thanks.
 
Old 07-25-2017, 05:36 PM   #2
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Have you checked all of the system logs on the print server for issues with either authentication or daemon/app erros? How about its firewall settings?
 
Old 07-31-2017, 09:13 PM   #3
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Original Poster
Rep: Reputation: 89
I have. The error log did not have anything that jumped out at me, at least not until I enabled the verbose logging - which is VERY verbose indeed. Then I can see that the filter "rastertohp" exited with status 1. Again this really doesn't explain what happened, but in reading up on some similar problems, there were some changes with ghostscript and poppler which this filter apparently uses.

Apparently, I can print using the USB cable with BLFS-7.9 because I am using the hplip filters, but am using the generic hpcups on the remote server. Whatever ghostscript is with BLFS-7.5 apparently produces usable output but the newer one does not. I have not yet tested using the hplip packages on Devuan because I'm keeping my server minimal, and hplip wants to pull in dbus and about 53 other packages that seem frivolous. I built hplip for BLFS-7.9 and disabled a bunch of options during the configure stage, and I built cups and all related printing things before dbus or any desktop environment, so I know it's possible. But building anything on the server (a small armv5 box) is going to take ages.

Troubleshooting the rastertohp error seems a bit out of my expertise, but if there are any suggestions I will surely give them a try.
 
Old 08-01-2017, 09:59 AM   #4
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by ordealbyfire83 View Post
...and hplip wants to pull in dbus and about 53 other packages that seem frivolous. I built hplip for BLFS-7.9 and disabled a bunch of options during the configure stage, and I built cups and all related printing things before dbus or any desktop environment, so I know it's possible.
Packages might "seem frivolous" and indeed, they are sometimes. But, unless you know exactly what functions they're providing, you cannot be sure of that. Perhaps you could build it as recommended, then rebuild it disabling one thing at a time until you see exactly what is causing the problem. Finally, packages and their dependencies change over time. Perhaps something didn't need dbus before but, what if it decided to drop the SUID from an executable and use Polkit instead?

Heck, I'm still using UDisks-2.6.5 because of what the merger of libblockdev did to its dependencies.

Last edited by Luridis; 08-01-2017 at 10:03 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS: Cannot print to remote printer nazarioz Linux - General 16 01-12-2005 09:11 PM
Can't print to remote printer using CUPS pfunk Linux - General 1 10-22-2004 12:51 PM
CUPS: Cannot print to remote printer nazarioz Linux - Hardware 1 09-26-2004 07:23 PM
CUPS: Cannot print to remote printer nazarioz Linux - Newbie 1 09-26-2004 06:49 PM
Can't print to remote printer using LPRng Earl Parker II Linux - Networking 1 07-05-2004 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration