attachment
<div dir="ltr"><div><div>Hi Norbert,<br><br>Look at "JobConstraintsSupported" and "JobResolversSupported" in <br>SM "ServiceTypes.xsd"<br><br></div>Cheers,<br></div>- Ira<br><br></div><div class="gmail_extra">
<br clear="all"><div><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>
<br><br><div class="gmail_quote">On Mon, Jan 27, 2014 at 2:06 PM, Michael Sweet <span dir="ltr"><<a href="mailto:msweet@apple.com" target="_blank">msweet@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Norbert,<div><br></div><div>IPP does have a notion of constraints (job-constraints-supported and job-resolvers-supported); I don't know whether the SM has incorporated those yet or not.</div>
<div><div class="h5"><div><br></div><div><br><div><div>On Jan 27, 2014, at 2:01 PM, Norbert Schade <<a href="mailto:Norbert.Schade@conexant.com" target="_blank">Norbert.Schade@conexant.com</a>> wrote:</div><br><blockquote type="cite">
<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="color:#1f497d">Michael,<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">I do not see any support for constraints in the SM.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">For eSCL I have to provide a set of PlatenInputCaps and at least one AdfInputCaps.<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">One way to get out of that dilemma is to provide two full scan device descriptions -> two services.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">If I do it that way we have to tell our MFP LCD which of the services (resp sets of caps) is default. Or just go by alphabetical order and show the first or something similar.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Norbert<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"> </span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Michael Sweet [<a href="mailto:msweet@apple.com" target="_blank">mailto:msweet@apple.com</a>] <br>
<b>Sent:</b> Monday, January 27, 2014 1:56 PM<br><b>To:</b> Norbert Schade<br><b>Cc:</b> <a href="mailto:ipp@pwg.org" target="_blank">ipp@pwg.org</a><br><b>Subject:</b> Re: [IPP] named services<u></u><u></u></span></p></div>
</div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Norbert,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Currently there is no notion of a default service in (standard) IPP or the SM. CUPS has a pair of extension operations for getting and setting the default printer (and at one point even allowed a server to advertise it as a sort-of "default network printer" that clients could prefer, with the usual security caveats), however those operations are now rarely used as mobile computing has made the notion of a default printer location-specific.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">What are you trying to do?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p>
<div><div><p class="MsoNormal">On Jan 27, 2014, at 1:23 PM, Norbert Schade <<a href="mailto:Norbert.Schade@conexant.com" target="_blank">Norbert.Schade@conexant.com</a>> wrote:<u></u><u></u></p></div><p class="MsoNormal">
<br><br><u></u><u></u></p><div><p class="MsoNormal"><span style="color:#1f497d">Ok, found a ServiceName under ImagingServiceDescriptionType.</span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d">I guess that will help me with the name.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d">You have another idea how to make one of many services the default?</span><u></u><u></u></p><p class="MsoNormal">
<span style="color:#1f497d"> </span><u></u><u></u></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Norbert Schade <br>
<b>Sent:</b> Monday, January 27, 2014 12:41 PM<br><b>To:</b> 'Michael Sweet'<br><b>Cc:</b> <a href="mailto:ipp@pwg.org" target="_blank">ipp@pwg.org</a><br><b>Subject:</b> RE: [IPP] named services</span><u></u><u></u></p>
</div></div><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d">There’s always the chance that I misinterpret something.</span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d">But the excerpt below is from the ScanService.xsd schema. I can’t find anything that looks like what you have in mind.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d">And so far I think I’m looking at the right object.</span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal">
<span style="color:#1f497d"> <!-- ScanServices - set of Scan services --></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> <xs:complexType name="ScanServicesType"></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> <xs:sequence></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> <xs:element ref="ScanService" minOccurs="0" maxOccurs="unbounded"/></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> </xs:sequence></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> <xs:anyAttribute namespace="##other" processContents="lax"/></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> <!-- ScanServices - set of Scan services --></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> </xs:complexType></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> <xs:element name="ScanServices" type="ScanServicesType"/></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> <!-- ScanService - object --></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> <xs:complexType name="ScanServiceBaseType"></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> <xs:sequence></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> <xs:element ref="ScanServiceCapabilities" minOccurs="0"/></span><u></u><u></u></p><p class="MsoNormal">
<span style="color:#1f497d"> <xs:element ref="ScanServiceCapabilitiesReady" minOccurs="0"/></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> <xs:element ref="ScanServiceConfiguration" minOccurs="0"/></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> <xs:element ref="ScanServiceDefaults" minOccurs="0"/></span><u></u><u></u></p><p class="MsoNormal">
<span style="color:#1f497d"> <xs:element ref="ScanServiceDescription"/></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> <xs:element ref="ScanServiceStatus"/></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> </xs:sequence></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> <xs:anyAttribute namespace="##other" processContents="lax"/></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> <!-- ScanService - object --></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> </xs:complexType></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> <xs:complexType name="ScanServiceType"></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> <xs:complexContent></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> <xs:extension base="ScanServiceBaseType"></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> <xs:sequence></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> <xs:element name="JobTable"></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> <xs:complexType></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> <xs:sequence></span><u></u><u></u></p><p class="MsoNormal">
<span style="color:#1f497d"> <xs:element name="ActiveJobs" type="ScanJobsType"/></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> <xs:element name="JobHistory" type="ScanJobsType" minOccurs="0"/></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> </xs:sequence></span><u></u><u></u></p><p class="MsoNormal">
<span style="color:#1f497d"> </xs:complexType></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> </xs:element></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> </xs:sequence></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> </xs:extension></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> </xs:complexContent></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> </xs:complexType></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> <xs:element name="ScanService" type="ScanServiceType"/></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"> </span><u></u><u></u></p>
<div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Michael Sweet [<a href="mailto:msweet@apple.com" target="_blank">mailto:msweet@apple.com</a>] <br>
<b>Sent:</b> Monday, January 27, 2014 12:18 PM<br><b>To:</b> Norbert Schade<br><b>Cc:</b> <a href="mailto:ipp@pwg.org" target="_blank">ipp@pwg.org</a><br><b>Subject:</b> Re: [IPP] named services</span><u></u><u></u></p></div>
</div><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Norbert,<u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Doesn't the existing IPP printer-name attribute (SM ServiceName element) already provide this?<u></u><u></u></p>
</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p><div><div><p class="MsoNormal">On Jan 27, 2014, at 12:03 PM, Norbert Schade <<a href="mailto:Norbert.Schade@conexant.com" target="_blank">Norbert.Schade@conexant.com</a>> wrote:<u></u><u></u></p>
</div><p class="MsoNormal" style="margin-bottom:12.0pt"> <u></u><u></u></p><div><p class="MsoNormal">I am heavily working with the scan service these days.<u></u><u></u></p><p class="MsoNormal">So my note comes out of that effort.<u></u><u></u></p>
<p class="MsoNormal">But I think this is a rather general question after all.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">A service is typically quite a complex object.<u></u><u></u></p>
<p class="MsoNormal">
A name that identifies a service on the highest level would in many cases ease the management and debugging of functionality that deals with services.<u></u><u></u></p><p class="MsoNormal">And if I had more than one service in my scan service xml instance I’d prefer one to be the default (services have their own defaults, but a service itself cannot be the default within a services group).<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I helped myself by adding a vendor extension (a simple attribute) to the ScanServices and ScanService objects.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I could even imagine to add an ID attribute to a ScanService object and an IDREF attribute to the ScanServices object.<u></u><u></u></p><p class="MsoNormal">But I can’t really do that with vendor extensions.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Just wondering if other people also feel that a named service and a default reference to such a named service might improve the situation.<u></u><u></u></p><p class="MsoNormal">
Regards<u></u><u></u></p><p class="MsoNormal">Norbert<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Norbert Schade<u></u><u></u></p><p class="MsoNormal">
Systems Engineer (printing)<u></u><u></u></p><p class="MsoNormal">Imaging Solutions<u></u><u></u></p><p class="MsoNormal">Conexant Systems, Inc.<u></u><u></u></p><p class="MsoNormal">201 Jones Road<u></u><u></u></p><p class="MsoNormal">
Waltham, MA 02451<u></u><u></u></p><p class="MsoNormal">U.S.A.<u></u><u></u></p><p class="MsoNormal">Tel: <a href="tel:1-781-370-8929" value="+17813708929" target="_blank">1-781-370-8929</a><u></u><u></u></p><p class="MsoNormal">
Email: <a href="mailto:norbert.schade@conexant.com" target="_blank">norbert.schade@conexant.com</a><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p>Conexant E-mail Firewall (<a href="http://conexant.com/" target="_blank">Conexant.Com</a>) made the following annotations<br>
---------------------------------------------------------------------<br>********************** Legal Disclaimer **************************** <br><br>"This email may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message in error, please advise the sender by reply email and delete the message. Thank you." <br>
<br>********************************************************************** <br><br>---------------------------------------------------------------------<u></u><u></u></p></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">_______________________________________________<br>
ipp mailing list<br><a href="mailto:ipp@pwg.org" target="_blank">ipp@pwg.org</a><br><a href="https://www.pwg.org/mailman/listinfo/ipp" target="_blank">https://www.pwg.org/mailman/listinfo/ipp</a></span><u></u><u></u></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span><u></u><u></u></p><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Andale Mono","serif"">_________________________________________________________<br>
Michael Sweet, Senior Printing System Engineer, PWG Chair</span><u></u><u></u></p></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span><u></u><u></u></p>
</div></div></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></p><div><p class="MsoNormal"><span><span style="font-size:12pt;font-family:'Andale Mono',serif">_________________________________________________________</span></span><span><span style="font-size:12pt;font-family:'Andale Mono',serif"><br>
</span></span><span><span style="font-size:12pt;font-family:'Andale Mono',serif">Michael Sweet, Senior Printing System Engineer, PWG Chair</span></span><span><span style="font-family:'Andale Mono',serif"><u></u><u></u></span></span></p>
</div><p class="MsoNormal"><span style="font-family:"Times New Roman","serif""> </span></p></div></div></div></blockquote></div><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;white-space:normal;font-family:'Andale Mono';word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;white-space:normal;font-family:'Andale Mono';word-spacing:0px"><div style="word-wrap:break-word">
_________________________________________________________<br>Michael Sweet, Senior Printing System Engineer, PWG Chair</div></span></span>
</div>
<br></div></div></div></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></div>