[cups.general] lpadmin: Bad device-uri
Ryan Suarez
ryan.suarez at sheridanc.on.ca
Mon Aug 24 14:37:44 PDT 2009
hrmm, problem is I'm not adding a '#'. And I get the same error when I
add 2 or 3 slashes.
# /usr/sbin/lpadmin -p aPDFprinter -v pdf:/tmp# /usr/sbin/lpadmin -p
aPDFprinter -v pdf://tmp
lpadmin: Bad device-uri "pdf:/tmp#"!
# /usr/sbin/lpadmin -p aPDFprinter -v pdf:/tmp# /usr/sbin/lpadmin -p
aPDFprinter -v pdf:///tmp
lpadmin: Bad device-uri "pdf:/tmp#"!
Michael Sweet wrote:
> "#" is not a valid character in a device URI, and "pdf:/tmp#" is not
> well-formed - you need two slashes at least, preferably 3 to match up
> with the generic URI spec...
>
> On Aug 24, 2009, at 2:23 PM, Ryan Suarez wrote:
>
>
>> Greetings,
>>
>> I'm stuck, could someone please help? I get this error on RHEL 5.3:
>>
>> # /usr/sbin/lpadmin -p aPDFprinter -v pdf:/tmp# /usr/sbin/lpadmin -p
>> aPDFprinter -v pdf:/tmp
>> lpadmin: Bad device-uri "pdf:/tmp#"!
>>
>> # ls -la /usr/lib/cups/backend/pdf
>> -rwx------ 1 root root 2343 Aug 24 15:15 /usr/lib/cups/backend/pdf
>>
>> # cups-config --version (it's just the standard cups rpm for this
>> RHEL)
>> 1.3.7
>>
>> here's a copy of the backend:
>> http://pastebin.ca/1542040
>>
>> and cupsd.conf:
>> http://pastebin.ca/1542046
>>
>> What causing this?
>>
>> _______________________________________________
>> cups mailing list
>> cups at easysw.com
>> http://lists.easysw.com/mailman/listinfo/cups
>>
>
> ___________________________________________________
> Michael Sweet, Senior Printing System Engineer
>
>
>
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
>
>
More information about the cups
mailing list