This commit breaks compatibility with OpenSRF 0.9.
[Evergreen.git] / Open-ILS / xul / staff_client / server / admin / printer_settings.html
1 <html><head>
2
3         <script type="text/javascript" src="/opac/common/js/utils.js"></script>
4         <script type="text/javascript" src="/opac/common/js/CGI.js"></script>
5         <script type="text/javascript" src="/opac/common/js/md5.js"></script>
6         <script type="text/javascript" src="/opac/common/js/JSON_v1.js"></script>
7         <script type="text/javascript" src="/opac/common/js/fmall.js"></script>
8         <script type="text/javascript" src="/opac/common/js/fmgen.js"></script>
9         <script type="text/javascript" src="/opac/common/js/RemoteRequest.js"></script>
10         <script type="text/javascript" src="/opac/common/js/OrgTree.js"></script>
11         <script type="text/javascript" src="/opac/common/js/org_utils.js"></script>
12
13         <script type="text/javascript" src="/xul/server/OpenILS/global_utils.js"></script>
14         <script type="text/javascript" src="/xul/server/main/constants.js"></script>
15         <script type="text/javascript" src="/xul/server/main/JSAN.js"></script>
16         <script type="text/javascript" src="printer_settings.js"></script>
17 </head><body onload="try { my_init(); } catch(E) { alert(E); }" style="background: white;">
18         <h1>Normal Settings</h1>
19         <iframe id="sample" src="printer_settings.txt"></iframe><br />
20         <button onclick="try { g.printer_settings(); } catch(E) { alert(E); }">Set Default Printer and Print Test Page</button>
21         <button onclick="try { g.page_settings(); } catch(E) { alert(E); }">Page Settings</button><br />
22         <h1>Advanced Settings</h1>
23         <button onclick="try { g.set_print_strategy('webBrowserPrint'); } catch(E) { alert(E); }">Use default print strategy (Mozilla Print)</button>
24         <button onclick="try { g.set_print_strategy('dos.print'); } catch(E) { alert(E); }">Use alternate print strategy (DOS LPT1 Print)</button>
25         <p>
26                 <b>Warning:</b> The alternate (DOS LPT1) print strategy will ignore the printer settings made in the "Normal Settings" section.  In Windows, you must map your printer to the LPT1 port, under Start Menu -&gt; Printers and Faxes -&gt; your printer -&gt; right-click, Properties -&gt; Ports.  Also, HTML styling such as different font weights and sizes will be lost when using the DOS LPT1 print.  Data is sent to the printer as simple text in this case.
27         </p>
28 </body></html>
29