[cups.general] ippool (1.5.3) & ipptest (1.4.5) errors

Michael Sweet msweet at apple.com
Wed Jul 18 15:07:24 PDT 2012


OK, for the photosmart use /ipp/printer on the end.

Also, ipptool requires the "-t" option to run in "test" mode, e.g.:

    ipptool -tv ipp://192.168.11.137/ipp/printer get-printer-attributes.test

On Jul 18, 2012, at 2:56 PM, Tom Morrison <tom.morrison at smith-nephew.com> wrote:

> I ran:
> 
>  ./ipptest -v ipp://192.168.11.137/ipp get-printer-attributes.test
> 
> Got back from this:
> 
>    Get-Printer-Attributes:
>        attributes-charset (charset) = "utf-8"
>        attributes-natural-language (naturalLanguage) = "en"
>        printer-uri (uri) = "ipp://192.168.11.137/ipp"
> 
>    Get printer attributes using get-printer-attributes          [FAIL]
>        ERROR 0406 (Not Found) @ Mon Jun 21 16:30:05 2010
> 
> 
>  ipptool -v ipp://192.168.11.137/ipp get-printer-attributes.test
> 
> hung, and when I did a ctrl-c:
> 
> Not Found
>        IPP request failed with status client-error-not-found (Not Found)
> 
> 
>> The CUPS-Get-Devices request is not supported by printers, and you need to use the correct printer URI ("ipp://address/ipp" will work for HP printers at least...)
>> 
>> Try using the get-printer-attributes.test file...
>> 
>> On Jul 18, 2012, at 2:06 PM, Tom Morrison wrote:
>> 
>>> I have successfully compiled CUPS/cups and CUPS/test in both 1.4.5 & 1.5.3
>>> I have tried to use the get-devices.test in both tests...
>>> 
>>> Here is the command line:
>>> 
>>>> ./ipptest (or ippool) ipp://192;168.11.137/ ./get-devices.test
>>> 
>>> ipptest responds:
>>>  ERROR 0406 (Not Found) @ xxx <date>
>>> 
>>> ippool responds:
>>>  ipptool: Bad STATUS code "ok" on line 20.
>>> 
>>>  Note, I tried <get-printers.test> - and it hung (when I CTRL-C it says
>>>     Not Found
>>>       IPP request failed with status client-error-not-found (Not Found)
>>> 
>>> 
>>> Part of what I am seeing going out on wire for the ipptest is:
>>> 
>>> POST / HTTP/1.1
>>> Content-Length: 72
>>> Content-Type: application/ipp
>>> Host: 192.168.11.137
>>> User-Agent: CUPS/1.4.5
>>> Expect: 100-continue
>>> 
>>> I believe am getting back:
>>> 
>>> HTTP/1.1 404 Not Found
>>> Connection: close
>>> Server: HP HTTP Server; HP Photosmart 6510 series - CQ761A; Serial Number: CN25G5601105QB; Epsilonplus Built:Thu Feb 09, 2012 11:44:29AM {ESP1CN1132BR, ASIC id 0x003a0008}
>>> 
>>> Is there some syntax error that I am missing~!
>>> 
>>> tom
>>> 
>>> _______________________________________________
>>> cups mailing list
>>> cups at easysw.com
>>> http://lists.easysw.com/mailman/listinfo/cups
>> 
>> ________________________________________________________________________
>> Michael Sweet, Senior Printing System Engineer, PWG Chair
>> 
> 
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair





More information about the cups mailing list