Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
05-26-2019, 07:09 AM
|
#1
|
Member
Registered: Feb 2014
Location: Michigan
Distribution: Debian 10
Posts: 199
Rep: 
|
is the Printer Driver obsolete (it should be)
once again this morning my Debian 9 dropped its CUPS printer: "not reachable" -- even though the printer showed active in the router table -- and worked from the guest computer.
--
we need printers that print .pdf files
that way we can feed 'em with thumb drives when the net is spacing out for unknown reasons
--
a Chromebook expects the use to print via "Google Print Services" -- i.e. you send your print request to a queue managed by Google and they send it to your print. use it from anyplace -- yea? let Google review your work -- ?
--
let's just put and end to this madness, finally. make printers print .pdf documents; get rid of print drivers.
--
</rant>
|
|
|
05-26-2019, 07:15 AM
|
#2
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,393
|
Make computers run programs - get rid of operating systems.
Hmmmm ....
|
|
|
05-26-2019, 08:31 AM
|
#3
|
LQ Guru
Registered: Oct 2004
Distribution: Arch
Posts: 5,438
|
You don't have to use CUPS if you don't like it. You can use lpr or just send a doc to the printer port once you have it formatted in the language that the printer understands. What printer language does your printer speak?
Quote:
we need printers that print .pdf files
|
Then get one that understands pdf language. Or if you have a postscript printer, make a postscript document out of the pdf first.
https://linux.die.net/man/1/pdf2ps
Then send it to the printer port.
Code:
su -c "/dev/usb/lp1 < psfile"
su -c "cat psfile.ps > /dev/usb/lp1"
If you have a PCL printer then convert the doc to PCL first
Code:
dev=laserjet
outfile=MyFile.pcl
infile=MyFile.ps
gs -q -dSAFER -dNOPAUSE -sDEVICE=$dev -sOutputFile=$outfile $infile -c quit
Or network printer
Code:
netcat 192.168.1.20 9100 < $outfile"
If you have a cheep windows GDI printer, that only speaks windows, then that's what you are stuck with.
My hats off to the CUPS devs for making all of that work so well.
|
|
2 members found this post helpful.
|
05-26-2019, 11:31 AM
|
#4
|
Member
Registered: Feb 2014
Location: Michigan
Distribution: Debian 10
Posts: 199
Original Poster
Rep: 
|
thanks
generally CUPS works quite well
I should have tried to ping the printer when I found it listed as status: unreachable
power-cycling the router, and the printer and the client got things working again.
when we get a new printer I'll look for one that will print .pdf from a thumb drive. It just seems to me that if every printer has to have a special print-driver then those special print-drivers should be in the printers rather than installed in the clients.
this issue comes to a head when you need something quickly -- and the net doesn't connect. an alternate method is needed
Last edited by mike acker; 05-26-2019 at 11:32 AM.
|
|
|
05-26-2019, 01:32 PM
|
#5
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,620
|
Seems to me that your problem is as much a dodgy network as a printer problem 
|
|
|
05-28-2019, 10:07 AM
|
#6
|
Member
Registered: Feb 2014
Location: Michigan
Distribution: Debian 10
Posts: 199
Original Poster
Rep: 
|
Quote:
Originally Posted by business_kid
Seems to me that your problem is as much a dodgy network as a printer problem 
|
you may very well be right; i'll be looking at that
|
|
|
05-28-2019, 10:34 AM
|
#7
|
Senior Member
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252
|
Unfortunately, there is a trend among printer manufacturers to pull printer functionality from the printer (hardware) itself and put it all in a windows binary driver. Cheaper to manufacture this way but obviously less versatile. I personally only buy printers that can do postscript/PCL and avoid printers that do not have this support. That is getting more difficult these days.
|
|
|
05-29-2019, 08:14 AM
|
#8
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,620
|
Connect the thing and get it going there.
I agree with sevendogsbsd. Look for laser printers, and spend what you can. If you don't you get ripped off on cartridges, or toner. I have a cheapo HP Laserjet 1102W, which has been the subject of more than 1 thread here. I ended up resorting to windows to sort it with an IP. From 2015 or so:
Code:
The solution finally proved to be
0. Remove Guest Access on my modem.
1. Do a master reset (Hold down both buttons, WiFi & 'X', power up and hold while noisy).
2. Boot M$ Vista and purge it of all instances & copies of the printer (which means cancelling all jobs on each.
3. Insert the driver cd, and run uninstall.exe (Absolute Last Resort).
4. Set up from scratch with HpSetup.exe (I was desperate). The windows cd sets up wifi over usb, and then prints a test page over wifi.
5. Examine the Modem, and see what IP the printer had
6. Back in linux, run 'sudo hp-setup <printer_ip>
7. Print a test page in linux, and a page of text to be sure.
And with that, you need to make sure on point 5 that your printer keeps getting the same IP
|
|
|
05-29-2019, 09:00 AM
|
#9
|
Senior Member
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252
|
I have had good luck with my Xerox printer: my Phaser 3260 was only $70 brand new and does PCL and postscript, sets up just fine in CUPS on both Linux and FreeBSD. I know I don't have to use CUPS but it's easy so...cartridges aren't bad, around $40 US I think. Brother printers are also great printers and the cartridges are cheap but you have to watch the models: some are paperweights in Linux and some work fine. They tend to do use a lot of functionality in the driver and not so much in the hardware though, but their Linux support isn't bad.
|
|
|
06-01-2019, 02:13 PM
|
#10
|
Member
Registered: Feb 2014
Location: Michigan
Distribution: Debian 10
Posts: 199
Original Poster
Rep: 
|
thanks for all the help
i have to agree: for some reason my CUPS is losing the IP of the printer: possibly does to some conflict with the WiFi router. Power cycling the router and then the printer puts it back online but to me this is indicative of a problem in error recovery in one of the components
I'm thinking of taking the printer off DHCP and giving it a fixed address ( the one it's using now ) .
|
|
|
06-01-2019, 02:41 PM
|
#11
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352
|
My Brother DCP-7060D has great Linux support. The manufacturer provides Linux drivers. They work.
|
|
|
06-01-2019, 03:38 PM
|
#12
|
Member
Registered: Feb 2014
Location: Michigan
Distribution: Debian 10
Posts: 199
Original Poster
Rep: 
|
thanks
Brother makes good printers; I'll have to check 'em out
I'm just about needing a new one anyway
|
|
|
06-01-2019, 03:52 PM
|
#13
|
Senior Member
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718
|
I second Brother printers with Linux, they are great. The HL-2270DW mono laser is my printing workhorse. Brother Toner/Drums last a long time, you can even find good quality third party versions of Toner/Drums on Amazon. I would post a direct link but don't want it to seem like an advert.... Hint subtract the first letter from blinkyo and search for it. 
|
|
|
06-01-2019, 04:03 PM
|
#14
|
Member
Registered: Feb 2014
Location: Michigan
Distribution: Debian 10
Posts: 199
Original Poster
Rep: 
|
thanks guys!
I'll definitely be reviewing Brother printers as I look into replacing the WF-4630
I need a 4:1 system; color. and I'd like it to be able to print .pdf from a thumb-stick
|
|
|
06-06-2019, 10:47 AM
|
#15
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
Back in the day there was a standard, postscript. You could literally cat a postscript file and direct it at the printers /dev/ name back in that day. There's an a2ps application that will convert most everything (anything 2 postscript / a2ps) to postscript, including PDF. I normally convert to postscript, then open that in gimp, convert it to gray-scale and print it.
|
|
|
All times are GMT -5. The time now is 05:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|