attachment
Hi Walter,<br><br>Youi should only return one or more ".../ipp/print" URIs for Print service<br>and one or more ".../ipp/faxout" URIs for FaxOut service.<br><br>Only the *future* IPP System Service (that Mike and I are writing) will<br>show in "configured-printers" a list of all services with service type,<br>URI, UUID, etc. <br><br>Cheers,<br>- Ira<br><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Ira McDonald (Musician / Software Architect)<br>Co-Chair - TCG Trusted Mobility Solutions WG<br>Chair - Linux Foundation Open Printing WG<br>Secretary - IEEE-ISTO Printer Working Group<br>Co-Chair - IEEE-ISTO PWG Internet Printing Protocol WG<br>IETF Designated Expert - IPP & Printer MIB<br>Blue Roof Music / High North Inc<br><a style="color:rgb(51,51,255)" href="http://sites.google.com/site/blueroofmusic" target="_blank">http://sites.google.com/site/blueroofmusic</a><br><a style="color:rgb(102,0,204)" href="http://sites.google.com/site/highnorthinc" target="_blank">http://sites.google.com/site/highnorthinc</a><br>mailto: <a href="mailto:blueroofmusic@gmail.com" target="_blank">blueroofmusic@gmail.com</a><br>Winter 579 Park Place Saline, MI 48176 734-944-0094<br>Summer PO Box 221 Grand Marais, MI 49839 906-494-2434<br><br><div style="display:inline"></div><div style="display:inline"></div><div style="display:inline"></div><div></div><div></div><div></div><div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Dec 9, 2014 at 9:24 PM, Walter Zhou <span dir="ltr"><<a href="mailto:walterzh@marvell.com" target="_blank">walterzh@marvell.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi Michael<br>
<br>
The following is description for "printer-uri-supported" in RFC2911.<br>
<br>
4.4.1 printer-uri-supported (1setOf uri)<br>
This REQUIRED Printer attribute contains at least one URI for the<br>
Printer object. It OPTIONALLY contains more than one URI for the<br>
Printer object.<br>
An administrator determines a Printer object’s<br>
URI(s) and configures this attribute to contain those URIs by some<br>
means outside the scope of this IPP/1.1 document. The precise format<br>
of this URI is implementation dependent and depends on the protocol.<br>
See the next two sections for a description of the "uri-security-<br>
supported" and "uri-authentication-supported" attributes, both of<br>
which are the REQUIRED companion attributes to this "printer-uri-<br>
supported" attribute. See section 2.4 on Printer object identity and<br>
section 8.2 on security and URIs for more information.<br>
<br>
I return the following values for the attribute.<br>
<br>
IPP: ATTRIBUTE: printer-uri-supported <br>
IPP: VALUE: Syntax=URI, Data=ipp://DEV334142.local/ipp/print <br>
IPP: VALUE: Syntax=URI, Data=ipp://DEV334142.local/ipp/faxout
<br>
<br>
But APVT 1.4 complain:<br>
<br>
<p style="margin-bottom:0in"><font color="#000000"><font face="Helvetica, serif"><font size="4"><u><span style="font-weight:normal">Check
printer-uri-supported.</span></u></font></font></font><font color="#ff0000"><font face="Helvetica, serif"><font size="4"><span style="text-decoration:none"><span style="font-weight:normal">
FAIL</span></span></font></font></font></p>
<p style="margin-bottom:0in"><font color="#ff0000"><font face="Helvetica, serif"><font size="4"><span style="text-decoration:none"><span style="font-weight:normal"> </span></span></font></font></font><font color="#000000"><font face="Helvetica, serif"><font size="3"><span style="text-decoration:none"><span style="font-weight:normal">"/ipp/faxout"
MUST NOT be listed in printer-uri-supported for printer
but found
URI(s) of which path portion(s) are "/ipp/faxout".</span></span></font></font></font></p>
<p style="margin-bottom:0in"><font color="#000000"><font face="Helvetica, serif"><font size="3"><span style="text-decoration:none"><span style="font-weight:normal">Found
2 different resource partitions in
printer-uri-supported.
printer-uri-supported MUST NOT list special URIs. (</span></span></font></font></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">"/ipp/print",</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">"/ipp/faxout"</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><font face="Helvetica, serif"><font size="3"><span style="text-decoration:none"><span style="font-weight:normal">)</span></span></font></font></font></p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><font color="#000000"><font face="Helvetica, serif"><font size="3"><span style="text-decoration:none"><span style="font-weight:normal">{</span></span></font></font></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">Name
= "Check printer-uri-supported.";</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">Operation
= "Get-Printer-Attributes";</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">RequestAttributes
=
(</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">{</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">"attributes-charset"
=
"utf-8";</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">"attributes-natural-language"
=
en;</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">"printer-uri"
= "ipp://DEV334142.local.:631/ipp/print";</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">"requested-attributes"
=
"printer-uri-supported";</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">}</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">);</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">RequestId
= 66447;</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">ResponseAttributes
=
(</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">{</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">"attributes-charset"
=
"utf-8";</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">"attributes-natural-language"
=
en;</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">},</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">{</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">"printer-uri-supported"
=
(</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">"ipp://DEV334142.local/ipp/print",</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">"ipp://DEV334142.local/ipp/faxout"</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">);</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">}</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">);</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">StatusCode
= "successful-ok";</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">Successful
= 1;</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">Version
= "2.0";</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><font face="Helvetica, serif"><font size="3"><span style="text-decoration:none"><span style="font-weight:normal">}</span></span></font></font></font></p>
<br>
It seems I should only return "ipp://DEV334142.local/ipp/print " for
<font color="#000000"><font face="Helvetica, serif"><font size="3"><span style="text-decoration:none"><span style="font-weight:normal">"printer-uri-supported" for printer</span></span></font></font></font>,
and return <font color="#000000"><span style="text-decoration:none"><font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">"ipp://DEV334142.local/ipp/faxout"
for </span></font></font></span></font><br>
<font color="#000000"><font face="Helvetica, serif"><font size="3"><span style="text-decoration:none"><span style="font-weight:normal">"printer-uri-supported" for faxout ? <br>
<br>
Which rule in IPP specification does the APVT 1.4 obey ?<br>
<br>
Regards<span class="HOEnZb"><font color="#888888"><br>
<br>
Walter<br>
<br>
<br>
</font></span></span></span></font></font></font>
<p style="margin-bottom:0in"><br>
<br>
</p>
<br>
<br>
<br>
</div>
<br>_______________________________________________<br>
ipp mailing list<br>
<a href="mailto:ipp@pwg.org">ipp@pwg.org</a><br>
<a href="https://www.pwg.org/mailman/listinfo/ipp" target="_blank">https://www.pwg.org/mailman/listinfo/ipp</a><br>
<br></blockquote></div><br>