Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
|
 |
08-20-2017, 11:03 PM
|
#1
|
Member
Registered: Apr 2014
Posts: 99
Rep: 
|
Printing pdfs
Here I am again. Custom computer with intel i7 and 8gb ram. I installed Debian 9 and had problems but it automatically installed my Brother HL-2240D. We eventually worked out that my installation disk was corrupt. A re-install solved other problems but did not install the printer.
Previous versions of Debian shewed an entry for printers on the control panel and it was possible to install and manage printers from it. 9 does not have such an entry. Searching the menu for printers lists installed printers but does not allow any actions.
Using the Brother web site I have installed HL-2440D and it works for ordinary files but not pdfs. I now have about five jobs stalled and cannot remove them though I will do so from the command line. Past installations I think I used 1250 as recommended and it printed both single sheets and duplex including pdfs..
I have installed the cups generic pdf printer but it does not show on the screen when I press ^p.
Is this problem solvable or do I revert to Jessie.
Thanks
Alaric
|
|
|
08-20-2017, 11:25 PM
|
#2
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
Is the user in the lp and lpadmin groups? otherwise printer installation is a matter of setting up cups (localhost:631) and installing packages plus kernel modules. Most times the kernel stuff is already there.
Otherwise I tend to use a2ps for pdf's and gimp to adjust and print each page plus preview. That way it's not doing 2 pages on 1 page or landscape instead of portrait printing. Plus I can adjust it to B&W / grayscale in the image if I'm out of color ink.
|
|
|
08-20-2017, 11:50 PM
|
#3
|
Member
Registered: Apr 2014
Posts: 99
Original Poster
Rep: 
|
Thanks. I had already checked and corrected 'group' and I am entered under both. I will try localhost:631. Setting up cups is not very easy. Life was much simpler under Jessie. I am aware of a2ps but I don't really see why I should have to go to all that trouble for a simple print job.
Alaric
|
|
|
08-21-2017, 12:11 AM
|
#4
|
Member
Registered: Apr 2014
Posts: 99
Original Poster
Rep: 
|
I have looked at 631. ^p now shows 'pdf'. If I select that and press print I get the usual flash 'Printing completed'. It now shows as a job but it doesn't print.
I note from 631 that the driver for HL-2240 is still 1250.
Alaric
|
|
|
08-21-2017, 03:44 AM
|
#5
|
LQ Newbie
Registered: Aug 2017
Location: Ferguson, Missouri, USA
Distribution: Slackware, antiX, Puppy
Posts: 19
Rep:
|
Printing pdfs
Did you install only the generic cupswrapper from Brother? In the past on Debian based systems I have had trouble getting my Brother HL-2270DW setup. Installing the both the LPR and the Cupswrapper files from Brother's website usually did the trick. So, perhaps trying the LPR and Cupswrapper files instead of one of the two generic files will do the trick for you.
|
|
|
08-21-2017, 03:47 AM
|
#6
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
I got that on an old hp deskjet printer. Most of the driver stuff was there, except pnm2ppa. Without that it "pretended" to print like a champ.
What are you using to print? Some older things try the old lp/lpr programs to print. So you might just be missing the cups-bsd package which provides those. Although brother seems to have their own driver for that part.
http://www.openprinting.org/printer/...rother-HL-2240
Sometimes you just have to download the ppd file and put it in the appropriate place (/usr/share/ppd/). Although the localhost:631 stuff probably has a selection / properties thing to add the ppd from $HOME/. I don't often setup my printer, or turn it on for that matter.
|
|
1 members found this post helpful.
|
08-21-2017, 05:47 AM
|
#7
|
Member
Registered: Apr 2014
Posts: 99
Original Poster
Rep: 
|
Thanks. I had installed pnm2ppa. I used to download the Brother debs but they are for 32 bit architecture. Sometimes I can add 386 architecture but there is often a problem with dependencies and they aren't always resolvable. I had installed cups-bsd.
Downloading the ppd file to /usr/share/ppd appears to have worked.
I do appreciate the assistance from the forum. It's one of Debian's best features. I have tried a number of distros. I started with Mandrake but later versions did not support my printer at the time, an HP Laserjet. I looked at a lot of distros' hardware lists and Debian was the only one that seemed to support HP so I switched and have never had any inclination to change.
With Jessie I installed Virtual Box and Windows 2007 in case I needed something not available on Linux but it just sat there and I never used it. On 9 I have not bothered as I haven't found anything I can't do on Debian. Why anyone uses Microsoft I can't imagine. It's not only hideously expensive but also slow and unreliable.
Thanks again.
Regards,
Alaric
|
|
|
08-21-2017, 07:36 AM
|
#8
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
I keep a Win7 VM. I use it for one thing, to operate a Brother label maker.
|
|
|
08-21-2017, 09:02 AM
|
#9
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
I have my printer setup with a 32 bit install on an OLD machine. Basically a print server. But not wifi or IPP, you have to be directly connected to it (static IPs). And cups does job management via email, so cups, cups-browsed, and exim4 (debian) need to be running on the client machine. Plus the hostname of the server with it's static IP in /etc/hosts of the client since I'm not dhcp-ing anything beyond the router that internets. Although I kind of have to do things this way as that OLD machine is the only hardware I have with a parallel port. And it's not beefy enough to bring up the documents to print on the machine that prints anymore. Plus that whole haven't turned it on in 6+ months worth of updates when I just need to print. So as a print server that doesn't get updated, it does it's job nicely.
|
|
|
All times are GMT -5. The time now is 01:31 AM.
|
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
|
|