LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 08-21-2017, 12:03 AM   #1
AlaricWood
Member
 
Registered: Apr 2014
Posts: 81
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 08-21-2017, 12:25 AM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,994
Blog Entries: 1

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
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.
 
Old 08-21-2017, 12:50 AM   #3
AlaricWood
Member
 
Registered: Apr 2014
Posts: 81

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 08-21-2017, 01:11 AM   #4
AlaricWood
Member
 
Registered: Apr 2014
Posts: 81

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 08-21-2017, 04:44 AM   #5
rainydayshirt
LQ Newbie
 
Registered: Aug 2017
Location: Ferguson, Missouri, USA
Distribution: Slackware, antiX, Puppy
Posts: 19

Rep: Reputation: 29
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.
 
Old 08-21-2017, 04:47 AM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,994
Blog Entries: 1

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
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.
Old 08-21-2017, 06:47 AM   #7
AlaricWood
Member
 
Registered: Apr 2014
Posts: 81

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 08-21-2017, 08:36 AM   #8
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,511

Rep: Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006
I keep a Win7 VM. I use it for one thing, to operate a Brother label maker.
 
Old 08-21-2017, 10:02 AM   #9
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,994
Blog Entries: 1

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


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
PDFs suddenly stopped printing! easuter Fedora 1 12-04-2007 09:12 PM
SUSE 10.0 printing PDFs in A4 lukeprog SUSE / openSUSE 6 08-27-2006 12:46 AM
Printing empty PDFs with LaserJet 4000 davesbedroom Linux - Hardware 2 12-17-2005 02:24 AM
printing PDFs with CUPS sfrdll Linux - Software 0 07-24-2004 05:35 PM
printing pdfs irvken Linux - Software 1 05-20-2004 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:28 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration