LinuxQuestions.org
Visit Jeremy's Blog.
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 06-16-2010, 01:18 AM   #1
mv6688
LQ Newbie
 
Registered: Jun 2010
Distribution: fedora
Posts: 11

Rep: Reputation: 0
FC12/13 - Can't install network printer


Recently upgraded from FC11 to FC12, and lost the ability to print to my network printer. Couldn't figure it out, though I can continue to print from an old FC9 server, so I know it's not the print server, Netgear PS110 or the printer Samsung ML-2510. In desperation, I upgraded to FC13, and still no dice. Don't think it's a network problem as I've tried with a disabled local firewall (I'm behind a network firewall) and even disabled SELinux.

If I go through system-config-printer, I probe for network printers, and can discover the print server, but the queue is wrong (it has two ports, P1 and P2.) Neither PASSTHRU or manually written P1, the connected port, work. It will spool, then disappear.

I'm using the Samsung ML-2150 Driver which I understand works for this printer and used to work on FC9, because the printer is not listed directly in CUPS' database.
 
Old 06-16-2010, 05:32 AM   #2
APB_4
Member
 
Registered: Nov 2004
Location: England
Distribution: Ubuntu 9.04; Crunchee; EEE Xandros
Posts: 291

Rep: Reputation: 31
Erm, you could try going to localhost:631 in your web browser and fiddling with the cups setup there, I've found it to work better than other programs for some problems.
 
Old 06-16-2010, 07:47 PM   #3
mv6688
LQ Newbie
 
Registered: Jun 2010
Distribution: fedora
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by APB_4 View Post
Erm, you could try going to localhost:631 in your web browser and fiddling with the cups setup there, I've found it to work better than other programs for some problems.
Thanks, I've tried that. Makes no difference - the print job spools, disappears and comes back with "Data file sent successfully", but no printing happens.
 
Old 06-16-2010, 08:01 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,931

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
What are you using for the device URI in Fedora 9 vs Fedora 12/13? Is it something like:
lpd://IP_address/p1
Is the cups printer state idle, accepting jobs? Is the cups job queue empty?
Is there any similar stuff for the printer server i.e is the printer state ready to except jobs and its queue empty?
 
Old 06-16-2010, 08:03 PM   #5
taylorjp75
LQ Newbie
 
Registered: Jul 2009
Location: California
Distribution: RHEL,Debian,SUSE,SCO...
Posts: 10

Rep: Reputation: 0
Try checking /etc/cups/printers.conf on the FC9 box where you are able to print, look for the entry for your printer, should look something like this

<Printer HP1022n>
Location
DeviceURI socket://192.168.1.105:9100/
State Idle
Accepting Yes
JobSheets none none
</Printer>

Copy the section to the same file on your new box, then restart cups and see if it works. Make sure to delete the current entry or change the printer name in the entry you paste in (the printer name shown in the example is HP1022n). Or try pasting the contents of your printers.conf files, from the working box and the non-working box, maybe someone can spot the problem. Good luck
 
Old 06-17-2010, 01:54 AM   #6
mv6688
LQ Newbie
 
Registered: Jun 2010
Distribution: fedora
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by taylorjp75 View Post
Try checking /etc/cups/printers.conf on the FC9 box where you are able to print, look for the entry for your printer, should look something like this

<Printer HP1022n>
Location
DeviceURI socket://192.168.1.105:9100/
State Idle
Accepting Yes
JobSheets none none
</Printer>

Copy the section to the same file on your new box, then restart cups and see if it works. Make sure to delete the current entry or change the printer name in the entry you paste in (the printer name shown in the example is HP1022n). Or try pasting the contents of your printers.conf files, from the working box and the non-working box, maybe someone can spot the problem. Good luck

Thank you!
Still getting no dice though. Here is the working FC9 config file:

<DefaultPrinter samsung_laser>
DeviceURI lpd://PS110/P1
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>


And here is the one that doesn't work.

<DefaultPrinter Samsung>
Info Samsung
MakeModel Samsung ML-2150 - CUPS+Gutenprint v5.2.5 Simplified
DeviceURI lpd://PS110/P1
State Idle
StateTime 1276731760
Type 8392724
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-raster 100 rastertogutenprint.5.2
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

I can't see any material difference. Initially I thought this was some kind of firewall problem because first enabling the network printer triggered notifications that modifications were required to the firewall, which I accepted. Wouldn't print. Then i disabled the firewall completely [it's behind another]. Then SELinux. Nothing.

THe only difference I can see is that the FC9 has a different driver class - "gdi".
 
Old 06-17-2010, 01:58 AM   #7
mv6688
LQ Newbie
 
Registered: Jun 2010
Distribution: fedora
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
What are you using for the device URI in Fedora 9 vs Fedora 12/13? Is it something like:
lpd://IP_address/p1
Is the cups printer state idle, accepting jobs? Is the cups job queue empty?
Is there any similar stuff for the printer server i.e is the printer state ready to except jobs and its queue empty?
Yes, that's the lpd resource, it's accepting jobs, and the job queue will show a job, which then spools and empties. But no printing, from this PC. Other one works fine.
 
Old 06-17-2010, 02:37 AM   #8
mv6688
LQ Newbie
 
Registered: Jun 2010
Distribution: fedora
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mv6688 View Post
Thank you!
Still getting no dice though. Here is the working FC9 config file:

<DefaultPrinter samsung_laser>
DeviceURI lpd://PS110/P1
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>


And here is the one that doesn't work.

<DefaultPrinter Samsung>
Info Samsung
MakeModel Samsung ML-2150 - CUPS+Gutenprint v5.2.5 Simplified
DeviceURI lpd://PS110/P1
State Idle
StateTime 1276731760
Type 8392724
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-raster 100 rastertogutenprint.5.2
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

I can't see any material difference. Initially I thought this was some kind of firewall problem because first enabling the network printer triggered notifications that modifications were required to the firewall, which I accepted. Wouldn't print. Then i disabled the firewall completely [it's behind another]. Then SELinux. Nothing.

THe only difference I can see is that the FC9 has a different driver class - "gdi".

OK, fixed it. Installed the foomatic print drivers, and selected the "gdi" driver option that then becomes available. Now I can print!

Conclusion - "Gutenprint" is "Barfenprint" for Samsung.
 
  


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
network connectivity stops on fc12 jhoggatt Linux - Networking 1 06-09-2010 06:29 PM
Bridge br0 on FC12 , No Network mickeyboa Fedora 3 05-10-2010 08:00 AM
fc12 - join wireless network before login winkydo Fedora 3 03-25-2010 06:29 PM
Want to install a network printer vsandilya Linux - Hardware 5 06-17-2008 04:48 PM
Cannot install a network printer, that is connected directly to the network. Epeescott Linux - Networking 3 03-19-2006 09:31 PM


All times are GMT -5. The time now is 08:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration