Subject: Re: IPPDEV> IBM's IPP Client Prototype Problems

From: Carl Kugler <[email-masked]>
Date: Fri, 14 Nov 1997 13:29:55 -0500

The GUI for IBM's IPP Client Prototype expects a non-standard format for the
"Printer URL".  The Printer URL must be specified with the leading "http://"
stripped off.  So, if the full URL of your Printer is

 http://www.ippserver.com/servlet/IPPServlet

you should enter the Printer URL as

 www.ippserver.com/servlet/IPPServlet

and the client should send something like

 POST /servlet/IPPServlet HTTP/1.1\r\n
 Accept: application/ipp\r\n
 Content-type: application/ipp\r\n
 Host: www.ippserver.com\r\n
 Content-length: 6261\r\n
 \r\n
 \x01\x00\x00\x02\x01)\x00\bjob-name\x00......

Maybe that's the problem?

Also, the version at the download site won't allow you to specify a port number
in the URL.  If that's a problem contact me for a fix.

Carl Kugler
IBM
303-924-5060

Please respond to [email-masked] @ internet

To: [email-masked] @ internet
cc:
Subject: IPPDEV> IBM's IPP Client Prototype Problems

We are developing an IPP server (actually a servlet) and are trying to
use IBM's IPP Client Prototype to aid in that development. Unfortunately,
we are not able to use the client because it appears to be sending out
bogus data to the server. It seems that just prior to the HTTP header, it
is incorrectly sending out the protocol type and domain name. Here is a
specific example:

If the server domain is <www.ippserver.com>, what should be sent is,

    POST /
    HTTP 1.0
    <remaining header>

The IBM client is sending,

    POST http://www.ippserver.com/
    HTTP 1.0
    <remaining header>

which is refused by the server. Any help is appreciated.

Bill Hastings
RBI Software Systems
[email-masked]