LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-18-2011, 04:53 PM   #1
BradMarks
LQ Newbie
 
Registered: Jul 2011
Location: Los Angeles, CA
Distribution: rhel6
Posts: 26

Rep: Reputation: Disabled
Unable to copy PPD file! When creating new printer via lpadmin


Hi. I'm a Red Hat 6 newbie but have been around Unix.
I looked at some threads here regarding this issue and haven't been able to find a solution.
I'm executing; lpadmin -p bam -v socket:139.64.101.21 -m /etc/cups/ppd/BR5370_2_GPL.ppd

When I look in /var/log/cups/error_log, here's what I get:
E [18/Jul/2011:14:37:36 -0700] [cups-driverd] Bad PPD name "/etc/cups/ppd/BR5370_2_GPL.ppd"!
E [18/Jul/2011:14:37:36 -0700] copy_model: empty PPD file!
E [18/Jul/2011:14:37:36 -0700] Returning IPP server-error-internal-error for CUP
S-Add-Modify-Printer (ipp://localhost/printers/bam) from localhost

But here's the ppd:
ll /etc/cups/ppd/BR5370_2_GPL.ppd
-rw-r--r-- 1 root root 25537 Jul 18 13:45 /etc/cups/ppd/BR5370_2_GPL.ppd

I'm logged in as root, so I don't think permissions are the issue.
Why does the error log state that the ppd file is empty?
Why can't lpadmin copy the ppd file?

Thanks in advance!
-Brad
 
Old 07-18-2011, 10:03 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi BradMarks, welcome to LQ. Try this instead.

Code:
lpadmin -p bam -v socket:139.64.101.21 -P /etc/cups/ppd/BR5370_2_GPL.ppd
Good luck. ;-)
 
Old 07-19-2011, 09:42 AM   #3
BradMarks
LQ Newbie
 
Registered: Jul 2011
Location: Los Angeles, CA
Distribution: rhel6
Posts: 26

Original Poster
Rep: Reputation: Disabled
...almost there!

Thanks, Peacedog, that got me past the ppd issue but...
After doing a '#cupsaccept bam' and 'cupsenable bam', an 'lpstat -t bam' states that the printer is disabled because "Unable to locate printer ''!"
I am able to ping the printer's IP. Why is the printer name blank in the above message? What have I missed doing?
Thnaks!
-Brad
 
Old 07-19-2011, 09:22 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Do you have a GUI on the machine? If so, try http://localhost:631 for web based cups configuration.

Good luck. ;-)
 
Old 07-20-2011, 12:04 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Try
Quote:
-v socket://139.64.101.21
 
Old 07-22-2011, 11:26 AM   #6
BradMarks
LQ Newbie
 
Registered: Jul 2011
Location: Los Angeles, CA
Distribution: rhel6
Posts: 26

Original Poster
Rep: Reputation: Disabled
Thumbs up Got It!

Quote:
Originally Posted by Tinkster View Post
Try
Tinkster,
That did the trick.
Thanks to all for your help!
-Brad
 
  


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
[SOLVED] "Unable to copy PPD file" LloydRice Linux - Hardware 18 07-03-2011 04:05 AM
PPD file or drivers for Konica Minolta network printer machielr Linux - Hardware 3 10-28-2010 09:03 PM
ppd file needed for a new panasonic DP4530 printer/copier in the office Anton123 Linux - Hardware 3 09-01-2009 06:34 AM
HP Device manager printer setup error no PPD file andrw123 Slackware 5 08-19-2008 04:11 PM
Problems creating new printer with ppd for ps-file output only! loonyxp Linux - General 4 07-15-2005 06:48 AM

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

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