<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.stylwiadomociemail17
        {font-family:Arial;
        color:navy;}
span.stylwiadomociemail18
        {font-family:Arial;
        color:navy;}
span.stylwiadomociemail19
        {font-family:Arial;
        color:navy;}
span.StylWiadomociEmail20
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body bgcolor=white lang=PL link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>You need not configure
the printer from the HTML if you do not want to; I only wanted to show what is
ultimately possible.  I think it could make sense on corporate intranet.  You
can strip my example to what you consider essential if you like, but once we
agree upon such a feature, it seems unwise to forbid such constructs.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>In short, your idea was
not that wide, but this is its natural scope.  If this scope is too wide for
you, you should reconsider whether your initial proposition is appropriate at
all.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>Cheers</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>Chris</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=black
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;color:windowtext'>-----Original
Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Sander [mailto:html5@zoid.nl]
<br>
<b><span style='font-weight:bold'>Sent:</span></b> Saturday, July 28, 2007
11:22 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Křištof Želechovski;
whatwg@whatwg.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Whatwg] Request for
HTML-only print link</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'><br>
Křištof Želechovski schreef: </span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>href="print://www.whatwg.org/specs/web-apps/current-work/"
is no good; it asks the browser to find the resource using the print
protocol.  But the print protocol is for printing, not for finding
resources; I imagine it could be used for finding out some printer
configuration parameters (similar to the way printers with a network interface
only can be configured) and to submit documents for printing, nothing more.</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>How about </span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'><form </span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>action="print://host_name/printer_name/?</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>href=&quo;<a
href="http://www.whatwg.org/specs/web-apps/current-work/&quo;&">http://www.whatwg.org/specs/web-apps/current-work/&quo;&amp</a>;</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>palette=mono&amp;</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>copies=3&amp;</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>mode=draft,booklet&amp;</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>stapled=top"
method="post" ><input type="submit" value="Print
me"></form >?  It feels better to me.  Of course, the
arguments would be interpreted by the browser, not by the printer, contrary to
what the syntax suggests, but I think this problem is much smaller and I can
swallow it in spite of being a purist.</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=black
face=Helvetica><span style='font-size:10.0pt;font-family:Helvetica'>The idea
was not to dictate from HTML how the printer should behave (number of copies,
color, etc.). This should be up to the visitor, who can manage that in the
print prompt. The request was about an alternative to <a
href="javascript:print()">javascript:print()</a> where there would be no need
for client-side scripting.<br>
I probably gave this discussion a wrong turn by saying that a
print-pseudo-protocol would perhaps be a good solution. I guess i should not
have done so as my knowledge about such things is minimal.</span></font><br>
<br>
<br>
</p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>

</div>

</body>

</html>