3 # ***** BEGIN LICENSE BLOCK *****
4 # Version: MPL
1.1/GPL
2.0/LGPL
2.1
6 # The contents of this file are subject to the Mozilla Public License Version
7 #
1.1 (the
"License"); you may not use this file except in compliance with
8 # the License. You may obtain a copy of the License at
9 # http://www.mozilla.org/MPL/
11 # Software distributed under the License is distributed on an
"AS IS" basis,
12 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 # for the specific language governing rights and limitations under the
16 # The Original Code is mozilla.org printing front-end.
18 # The Initial Developer of the Original Code is
19 # Netscape Communications Corporation.
20 # Portions created by the Initial Developer are Copyright (C)
2002
21 # the Initial Developer. All Rights Reserved.
24 # Masaki Katakai
<katakai@japan.sun.com
>
25 # Dan Rosen
<dr@netscape.com
>
26 # Jessica Blanco
<jblanco@us.ibm.com
>
27 # Asko Tontti
<atontti@cc.hut.fi
>
28 # Roland Mainz
<roland.mainz@informatik.med.uni-giessen.de
>
29 # Peter Weilbacher
<mozilla@weilbacher.org
>
31 # Alternatively, the contents of this file may be used under the terms of
32 # either the GNU General Public License Version
2 or later (the
"GPL"), or
33 # the GNU Lesser General Public License Version
2.1 or later (the
"LGPL"),
34 # in which case the provisions of the GPL or the LGPL are applicable instead
35 # of those above. If you wish to allow use of your version of this file only
36 # under the terms of either the GPL or the LGPL, and not to allow others to
37 # use your version of this file under the terms of the MPL, indicate your
38 # decision by deleting the provisions above and replace them with the notice
39 # and other provisions required by the GPL or the LGPL. If you do not delete
40 # the provisions above, a recipient may use your version of this file under
41 # the terms of any one of the MPL, the GPL or the LGPL.
43 # ***** END LICENSE BLOCK *****
45 <?xml-stylesheet href=
"chrome://global/skin/" type=
"text/css"?>
46 <!DOCTYPE dialog SYSTEM
"chrome://global/locale/printdialog.dtd">
48 <dialog xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
50 ondialogaccept=
"return onAccept();"
51 oncancel=
"return onCancel();"
52 buttoniconaccept=
"print"
53 title=
"&printDialog.title;"
54 persist=
"screenX screenY"
55 screenX=
"24" screenY=
"24">
57 <script type=
"application/javascript" src=
"chrome://global/content/printdialog.js"/>
59 <stringbundle id=
"printingBundle" src=
"chrome://global/locale/printing.properties"/>
62 <caption label=
"&printer.label;"/>
73 <hbox align=
"center" pack=
"end">
74 <label id=
"printerLabel"
75 value=
"&printerInput.label;"
76 accesskey=
"&printerInput.accesskey;"
77 control=
"printerList"/>
79 <menulist id=
"printerList" flex=
"1" type=
"description" oncommand=
"setPrinterDefaultsForSelectedPrinter();"/>
80 <button id=
"properties"
81 label=
"&propertiesButton.label;"
82 accesskey=
"&propertiesButton.accesskey;"
84 oncommand=
"displayPropertiesDialog();"/>
87 <hbox align=
"center" pack=
"end">
88 <label id=
"descTextLabel" control=
"descText" value=
"&descText.label;"/>
90 <label id=
"descText"/>
91 <checkbox id=
"fileCheck"
93 label=
"&fileCheck.label;"
94 accesskey=
"&fileCheck.accesskey;"
103 <caption label=
"&printrangeGroup.label;"/>
105 <radiogroup id=
"printrangeGroup">
106 <radio id=
"allpagesRadio"
107 label=
"&allpagesRadio.label;"
108 accesskey=
"&allpagesRadio.accesskey;"
109 oncommand=
"doPrintRange(0)"/>
110 <hbox align=
"center">
111 <radio id=
"rangeRadio"
112 label=
"&rangeRadio.label;"
113 accesskey=
"&rangeRadio.accesskey;"
114 oncommand=
"doPrintRange(1)"/>
115 <label id=
"frompageLabel"
116 control=
"frompageInput"
117 value=
"&frompageInput.label;"
118 accesskey=
"&frompageInput.accesskey;"/>
119 <textbox id=
"frompageInput" style=
"width:5em;" onkeyup=
"checkInteger(this)"/>
120 <label id=
"topageLabel"
121 control=
"topageInput"
122 value=
"&topageInput.label;"
123 accesskey=
"&topageInput.accesskey;"/>
124 <textbox id=
"topageInput" style=
"width:5em;" onkeyup=
"checkInteger(this)"/>
126 <radio id=
"selectionRadio"
127 label=
"&selectionRadio.label;"
128 accesskey=
"&selectionRadio.accesskey;"
129 oncommand=
"doPrintRange(2)"/>
134 <caption label=
"&copies.label;"/>
135 <hbox align=
"center">
136 <label control=
"numCopiesInput"
137 value=
"&numCopies.label;"
138 accesskey=
"&numCopies.accesskey;"/>
139 <textbox id=
"numCopiesInput" style=
"width:5em;" onkeyup=
"checkInteger(this)"/>
145 <caption label=
"&printframeGroup.label;" id=
"printframeGroupLabel"/>
146 <radiogroup id=
"printframeGroup">
147 <radio id=
"aslaidoutRadio"
148 label=
"&aslaidoutRadio.label;"
149 accesskey=
"&aslaidoutRadio.accesskey;"/>
150 <radio id=
"selectedframeRadio"
151 label=
"&selectedframeRadio.label;"
152 accesskey=
"&selectedframeRadio.accesskey;"/>
153 <radio id=
"eachframesepRadio"
154 label=
"&eachframesepRadio.label;"
155 accesskey=
"&eachframesepRadio.accesskey;"/>
159 <!-- used to store titles and labels -->
160 <data style=
"display:none;" id=
"printButton" label=
"&printButton.label;"/>
161 <data style=
"display:none;" id=
"fpDialog" label=
"&fpDialog.title;"/>