LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 05-26-2019, 07:09 AM   #1
mike acker
Member
 
Registered: Feb 2014
Location: Michigan
Distribution: Debian 10
Posts: 199

Rep: Reputation: Disabled
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>
 
Old 05-26-2019, 07:15 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,393

Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
Make computers run programs - get rid of operating systems.

Hmmmm ....
 
Old 05-26-2019, 08:31 AM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,438
Blog Entries: 7

Rep: Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959
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.
Old 05-26-2019, 11:31 AM   #4
mike acker
Member
 
Registered: Feb 2014
Location: Michigan
Distribution: Debian 10
Posts: 199

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-26-2019, 01:32 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,620

Rep: Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618
Seems to me that your problem is as much a dodgy network as a printer problem
 
Old 05-28-2019, 10:07 AM   #6
mike acker
Member
 
Registered: Feb 2014
Location: Michigan
Distribution: Debian 10
Posts: 199

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
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
 
Old 05-28-2019, 10:34 AM   #7
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
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.
 
Old 05-29-2019, 08:14 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,620

Rep: Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618
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
 
Old 05-29-2019, 09:00 AM   #9
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
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.
 
Old 06-01-2019, 02:13 PM   #10
mike acker
Member
 
Registered: Feb 2014
Location: Michigan
Distribution: Debian 10
Posts: 199

Original Poster
Rep: Reputation: Disabled
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 ) .
 
Old 06-01-2019, 02:41 PM   #11
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352

Rep: Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386
My Brother DCP-7060D has great Linux support. The manufacturer provides Linux drivers. They work.
 
Old 06-01-2019, 03:38 PM   #12
mike acker
Member
 
Registered: Feb 2014
Location: Michigan
Distribution: Debian 10
Posts: 199

Original Poster
Rep: Reputation: Disabled
thanks
Brother makes good printers; I'll have to check 'em out
I'm just about needing a new one anyway
 
Old 06-01-2019, 03:52 PM   #13
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1858Reputation: 1858Reputation: 1858Reputation: 1858Reputation: 1858Reputation: 1858Reputation: 1858Reputation: 1858Reputation: 1858Reputation: 1858Reputation: 1858
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.
 
Old 06-01-2019, 04:03 PM   #14
mike acker
Member
 
Registered: Feb 2014
Location: Michigan
Distribution: Debian 10
Posts: 199

Original Poster
Rep: Reputation: Disabled
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
 
Old 06-06-2019, 10:47 AM   #15
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
M$ Doz obsolete? witeshark General 11 02-07-2004 06:45 PM
removing obsolete files in APT m_yates Debian 1 11-15-2003 06:57 PM
Is Microsoft Obsolete? GtkUser General 24 07-24-2003 07:34 PM
What's up with iostream.h, is it obsolete? linuxlah Programming 4 02-04-2003 05:29 AM
Removing Obsolete Software JHuizingh Linux - General 4 02-26-2002 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:23 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