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 |
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 |
...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 |
Do you have a GUI on the machine? If so, try http://localhost:631 for web based cups configuration.
Good luck. ;-) |
Try
Quote:
|
Got It!
Quote:
That did the trick. Thanks to all for your help! -Brad |
All times are GMT -5. The time now is 08:46 PM. |