LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-07-2015, 05:12 PM   #1
6th_sense
Member
 
Registered: Jun 2006
Distribution: Centos 7.x, Fedora (one version behind latest)
Posts: 141

Rep: Reputation: 6
Printer issue: Prints in FC17, but not FC21 - can anyone tell why?


My brother printer model is: HL3045CN - a single sided colour laser printer.

I was able to download the drivers and print using the rpm supplied by brother in FC 14 and subsequently on fc 17.

However, recently I am unable to do so...

I went to the website link for Linux drivers here:

http://support.brother.com/g/b/downl...n_us_as&os=127

I installed the software using rpm -ivh ...

I took a look at the install script and I found that the script looks for files that used to be where cups and cupssystem stored things - but now things have changed.

I looked around the net and found a driver at github, but I also found the same file on my old fc17 installation under /etc/cups/ppd/
(diff confirms they are the same).

I'm not sure if that is the ppd file I should be using.... I've tried installing it using CUPS with my printer connected, but it seems to indicate a double siding printer - and my printer doesn't double side anything.

The printer's green light for data being transferred to it, flashes when you try and send a test printout - but, it stops flashing within seconds and nothing happens after that.

Is anyone here knowledgeable about printing here, able to help me solve this riddle?

I looked at /var/log/messages and got this little tidbit, if it helps any:

Apr 2 10:10:19 tryton kernel: [ 101.392121] usb 2-1.1: new high-speed USB device number 4 using ehci-pci
Apr 2 10:10:19 tryton kernel: usb 2-1.1: new high-speed USB device number 4 using ehci-pci
Apr 2 10:10:19 tryton kernel: [ 101.479971] usb 2-1.1: New USB device found, idVendor=04f9, idProduct=004e
Apr 2 10:10:19 tryton kernel: [ 101.479976] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 2 10:10:19 tryton kernel: [ 101.479980] usb 2-1.1: Product: HL-3045CN series
Apr 2 10:10:19 tryton kernel: [ 101.479983] usb 2-1.1: Manufacturer: Brother
Apr 2 10:10:19 tryton kernel: [ 101.479985] usb 2-1.1: SerialNumber: 000L1J705587Apr 2 10:10:19 tryton kernel: usb 2-1.1: New USB device found, idVendor=04f9, idProduct=004e

I got some errors from SE-Linux while trying to install the printer. So, I temporarily use:
# setenforce 0

to see if this makes the issues I face go away. No luck there, but certainly get no complaints from SE-Linux.
 
Old 04-07-2015, 06:16 PM   #2
6th_sense
Member
 
Registered: Jun 2006
Distribution: Centos 7.x, Fedora (one version behind latest)
Posts: 141

Original Poster
Rep: Reputation: 6
If any of you can think of information that might be relevant to figuring out why my printer doesn't work, that I can drudge up - let me know.

Don't mind pounding the pavement some....
 
Old 04-09-2015, 11:02 AM   #3
6th_sense
Member
 
Registered: Jun 2006
Distribution: Centos 7.x, Fedora (one version behind latest)
Posts: 141

Original Poster
Rep: Reputation: 6
I found the following web page useful in trying to figure out how to make my old ppd file work in the "new" fashion.... Not sure if anyone has had any experience with this page and the ppdi utility - but this is what I am going to try out.

Here is the URL:
http://www.cups.org/documentation.ph...pt-driver.html

Let me know if you see a better approach to importing my old ppd file (it worked with Fedora 17, but not in Fedora 21).

- 6th -

Last edited by 6th_sense; 04-09-2015 at 11:02 AM. Reason: filled missing link.
 
Old 04-09-2015, 12:25 PM   #4
6th_sense
Member
 
Registered: Jun 2006
Distribution: Centos 7.x, Fedora (one version behind latest)
Posts: 141

Original Poster
Rep: Reputation: 6
It would seem that the ppdi utility is deprecated - ie a future version of CUPS won't have this utility..... I can't seem to tell if there is any newer proposed route to creating an acceptable ppd file, aside from having to do everything manually (incl. learning a lot more!!!) - the descriptions of the utilities to create a ppd file seem to only include the indication that they are deprecated and there is no indication of a newer way of doing things.

I can't tell why there isn't a description/link to newer means to develop postscript drivers on the page and links I supplied above. There is also no description of what ppd file versions this utility applies to.

Not sure whether it is worth the effort of trying to use the utility - if anyone has any pointers as to what route is best in this case - let me know...

- 6th -

Last edited by 6th_sense; 04-09-2015 at 12:54 PM. Reason: more info
 
Old 04-09-2015, 01:31 PM   #5
6th_sense
Member
 
Registered: Jun 2006
Distribution: Centos 7.x, Fedora (one version behind latest)
Posts: 141

Original Poster
Rep: Reputation: 6
I just recently posted a query to the Newbie forum as to how to dual boot fc17, with fc21 using grub - as I have the lvm partitions still on my computer and using fc17 *may* be my best bet at getting my printer working for now.

If you know of a way to have that work, let me know.

Alternatively, I can also share the file with Windows 7, and print from there - although I prefer not to go down that route.

- 6th -
 
Old 04-09-2015, 08:39 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
You could try printing directly from the command line. Perhaps that will throw some useful error messages.

This page will tell you how: http://www.cups.org/documentation.php/options.html

Use the

Code:
lpstat -p -d
command to find out the printer's name, then the

Code:
lp -d [printer] [filename]
command to print a file.

Last edited by frankbell; 04-09-2015 at 08:54 PM.
 
Old 04-09-2015, 10:40 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
from the link in the first post

have you used the source code in fedora 21 and rebuilt the CUPS WRAPPER for the driver
http://support.brother.com/g/b/downl...ng=4&type3=576
 
Old 04-20-2015, 09:17 AM   #8
6th_sense
Member
 
Registered: Jun 2006
Distribution: Centos 7.x, Fedora (one version behind latest)
Posts: 141

Original Poster
Rep: Reputation: 6
Talking

Hi guys,

I managed to find a way to get my printer to work...

I found a script on the brother website that was more recent than the rpm's that they had posted here:
http://support.brother.com/g/b/downl...n_us_as&os=127

I de-installed the rpm's and then looked at their pre-install conditions - I had to mix and match the conditions to fedora 21 (some rules that applied to debian seemed to be reasonable to use on fedora).

And then I ran the script..... Hey, presto! It worked super!

I'm so happy.
 
  


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
Connect to a network printer in fc17 vsandilya Linux - Newbie 5 09-13-2012 04:47 PM
Printer prints faded ngjunkie0011 Linux - Hardware 2 09-18-2007 03:36 PM
CUPS Printer Problem - prints, but prints gibberish Sparrowhawk Debian 2 06-19-2006 07:32 PM
Printer prints too light sofasurfer Linux - Hardware 2 12-31-2003 09:44 AM
Samba printer help(can see and have access to printer but nothign prints out) rmanocha Linux - Networking 1 11-05-2003 06:54 AM

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

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