From mboxrd@z Thu Jan 1 00:00:00 1970 From: crimola@gmail.com (Carlos Rimola) Date: Wed, 26 Feb 2014 18:33:02 -0800 Subject: [Printing-architecture] Google Summer of Code 2014 - IPP-over-USB printer support - Joint project idea for OpenPrinting and the kernel In-Reply-To: <1A785707-19A7-43D8-8B21-98707C89AFCC@apple.com> References: <530CCC53.8070007@gmail.com> <3F2A4315-4F2C-4BB1-BC9C-67B6F6BCD3A3@apple.com> <20140226014714.GA8346@kroah.com> <8E2929D6-4A60-4D27-9012-5250503D9B51@apple.com> <20140226230247.GA8283@kroah.com> <1A785707-19A7-43D8-8B21-98707C89AFCC@apple.com> Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi All, I have some quick and general questions regarding IPP over USB ("IPP USB" for short). Some are related to Till's proposed project "Google Summer of Code 2014 - IPP-over-USB printer support". Any help and feedback will be greatly welcomed. I should mention that I am in favor of the proposed project for this event. Assumptions (please confirm or correct): 1) This first one may be obvious but to be sure - I am assuming that we are referring to IPP USB as defined in the "USB Print Interface Class IPP Protocol Specification Revision 1.0" dated 12/5/2012 and published by USB-IF and authored by HP's Smith Kennedy and Andrew R. Mitchell. I'll refer to it as the "IPP USB Spec". 2) As I understand the IPP USB Spec, there is NO network interface, NOR TCP/IP involved. The Communication Protocol to be used between Host and Device (Printer) is *purely HTTP + IPP directly over USB*. A place where this is noted is section 6.2 - "HTTP Headers" which states the following: *Since there is NO network interface connection, NO DNS hostnames or IP addresses, and NO TCP port numbers associated with USB connection, the requirements of the HTTP Host field is addressed by requiring that the value of this header MUST be "localhost".* Please correct me if I am wrong on either of these assumptions. Questions: 1) I know the Spec is already cast in stone but I would like to understand what function HTTP serves and if it is only used for identifying "Host: localhost" and the "/ipp/printer" path? In other words, could pure IPP Requests/Responses and IPP expected format "Print Data" have sufficed? 2) Section 3.2 "Interface Set" paragraph 2 states that "All IPP USB capable Print class interfaces provided by a device MUST be functionally equal from an IPP operation or HTTP perspective. In other words, any IPP operation or resource path that is valid over one IPP USB interface MUST be reachable viaany and all of the IPP USB interfaces." Does this imply that, for example, a Request from the host can be sent over one interface (I/F #1) and the response received over a different interface (e.g., I/F #2)? 3) The last question is much simpler but would be helpful to an implementor - what specific printers (manufacturer, line and model) *on the market*support IPP USB? I have seen references to HP Photosmart and OfficeJet but no model given. Similarly, what Host(s) on the market, including OS and version, support the IPP USB protocol with these Printers? Knowing this would be helpful to implement and test either device and/or host support. I look forward to your reply and discussing the project further. Thanks! Carlos Rimola Software Developer crimola at gmail.com 408-508-8339 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140226/e66c5340/attachment-0001.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=nkSB+slj4BPa8TrcUk2rlKlmwk/8wBuBPEgR9Qxs0gk=; b=EYNoF9pcY4NZP7aNqKSZ10dOhb9myWxiicL/xaIUtWzmw23ualvtxMhegUhKBIXmJO gEkEptYa4E/fxI3j4idum3Bw4x22Bclgx4nCjE7v0lWVxNKGheAcCc4pzAxai5Vr0JSo Ks0/hQhK0uEYf78G8MXwrHm5MQWFcB4L22u5zxsSzFaCZgnLJRRiALI13YM4ldnfrHf+ EyUNUTRzU2WIcUu5gw2kTRCDtyZbMl1nkQ6Ld/IWnHND+cewkBneawvUann8bOtoqOQH cNEkxYUwhu4d7ESTTN3wqA6pNHUmyz/KHJ2OFZK7nt2lQHVeqNsi9iVFOwCeT4gMKRDY IvCQ== MIME-Version: 1.0 In-Reply-To: <1A785707-19A7-43D8-8B21-98707C89AFCC@apple.com> References: <530CCC53.8070007@gmail.com> <3F2A4315-4F2C-4BB1-BC9C-67B6F6BCD3A3@apple.com> <20140226014714.GA8346@kroah.com> <8E2929D6-4A60-4D27-9012-5250503D9B51@apple.com> <20140226230247.GA8283@kroah.com> <1A785707-19A7-43D8-8B21-98707C89AFCC@apple.com> Date: Wed, 26 Feb 2014 18:33:02 -0800 Message-ID: From: Carlos Rimola Content-Type: multipart/alternative; boundary=001a1133fd10f9d6fa04f35a239f Subject: Re: [Printing-architecture] Google Summer of Code 2014 - IPP-over-USB printer support - Joint project idea for OpenPrinting and the kernel List-Id: Printing architecture under linux List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "printing-architecture@lists.linux-foundation.org" , Ubuntu Kernel Team , kernelnewbies@kernelnewbies.org Cc: Till Kamppeter --001a1133fd10f9d6fa04f35a239f Content-Type: text/plain; charset=ISO-8859-1 Hi All, I have some quick and general questions regarding IPP over USB ("IPP USB" for short). Some are related to Till's proposed project "Google Summer of Code 2014 - IPP-over-USB printer support". Any help and feedback will be greatly welcomed. I should mention that I am in favor of the proposed project for this event. Assumptions (please confirm or correct): 1) This first one may be obvious but to be sure - I am assuming that we are referring to IPP USB as defined in the "USB Print Interface Class IPP Protocol Specification Revision 1.0" dated 12/5/2012 and published by USB-IF and authored by HP's Smith Kennedy and Andrew R. Mitchell. I'll refer to it as the "IPP USB Spec". 2) As I understand the IPP USB Spec, there is NO network interface, NOR TCP/IP involved. The Communication Protocol to be used between Host and Device (Printer) is *purely HTTP + IPP directly over USB*. A place where this is noted is section 6.2 - "HTTP Headers" which states the following: *Since there is NO network interface connection, NO DNS hostnames or IP addresses, and NO TCP port numbers associated with USB connection, the requirements of the HTTP Host field is addressed by requiring that the value of this header MUST be "localhost".* Please correct me if I am wrong on either of these assumptions. Questions: 1) I know the Spec is already cast in stone but I would like to understand what function HTTP serves and if it is only used for identifying "Host: localhost" and the "/ipp/printer" path? In other words, could pure IPP Requests/Responses and IPP expected format "Print Data" have sufficed? 2) Section 3.2 "Interface Set" paragraph 2 states that "All IPP USB capable Print class interfaces provided by a device MUST be functionally equal from an IPP operation or HTTP perspective. In other words, any IPP operation or resource path that is valid over one IPP USB interface MUST be reachable viaany and all of the IPP USB interfaces." Does this imply that, for example, a Request from the host can be sent over one interface (I/F #1) and the response received over a different interface (e.g., I/F #2)? 3) The last question is much simpler but would be helpful to an implementor - what specific printers (manufacturer, line and model) *on the market*support IPP USB? I have seen references to HP Photosmart and OfficeJet but no model given. Similarly, what Host(s) on the market, including OS and version, support the IPP USB protocol with these Printers? Knowing this would be helpful to implement and test either device and/or host support. I look forward to your reply and discussing the project further. Thanks! Carlos Rimola Software Developer crimola@gmail.com 408-508-8339 --001a1133fd10f9d6fa04f35a239f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi All,

I have some quick and general q= uestions regarding IPP over USB ("IPP USB" for short). Some are r= elated to Till's proposed project "Google Summer of Code 2014 - IPP-over-USB printer support". Any help and feedback will be greatly welcomed. I should mention = that I am in favor of the proposed project for this event.

Assumptions (please confirm or correct):

1) This first one may be obvious but to be sure= - I am assuming that we are referring to IPP USB as defined in the "U= SB Print Interface Class IPP Protocol Specification Revision 1.0" date= d 12/5/2012 and published by USB-IF and=A0authored by HP's Smith Kenned= y and Andrew R. Mitchell. I'll refer to it as the "IPP USB Spec&qu= ot;.

2) As I understand= the IPP USB Spec, there is NO network interface, NOR TCP/IP involved. The = Communication Protocol to be used between Host and Device (Printer) is=A0purely HTTP + IPP directly over USB. A place where this is noted is se= ction 6.2 - "HTTP Headers" which states the following:

Since there is = NO network interface connection, NO DNS hostnames or IP addresses, and NO T= CP port numbers associated with USB connection, the requirements of the HTT= P Host field is addressed by requiring that the value of this header MUST b= e "localhost".

Please correct me = if I am wrong on either of these assumptions.


Questions:

1) I= know the Spec is already cast in stone but I would like to understand what= function HTTP serves and if it is only used for identifying "Host: lo= calhost" and the "/ipp/printer" path? In other words, could = pure IPP Requests/Responses and IPP expected format "Print Data" = have sufficed?

=A02) Sect= ion 3.2 "Interface Set" paragraph 2 states that "All IPP USB capable= Print class interfaces provided by a device MUST be functionally equal from an IPP operation or HTTP perspective.=A0 In other words, any= IPP oper= ation or resource path that is valid over one IPP USB interface MUST be reachable via any and= =A0all of the IPP USB interfaces."

Does this imply that, for example, a Request from = the host can be sent over one interface (I/F #1) and the response received = over a different interface (e.g., I/F #2)?

3) The last questi= on is much simpler but would be helpful to an implementor - what specific p= rinters (manufacturer, line and model) on the market support IPP USB= ? I have seen references to HP Photosmart and OfficeJet but no model given.= Similarly, what Host(s) on the market, including OS and version, support t= he IPP USB protocol with these Printers?

Knowing this would= be helpful to implement and test either device and/or host support.

I look forward to you= r reply and discussing the project further.


Thanks!


Carlos Rimola

Software Developer

<= p style=3D"font-size:13px">crimola@gmail.com

408-508= -8339

--001a1133fd10f9d6fa04f35a239f--