Printing.html 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <!DOCTYPE html>
  2. <html dir="ltr">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  5. <title>App/UI/Printing - XOWA</title>
  6. <link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
  7. <link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
  8. <style>
  9. .console {font-family: monospace; color: #EEEEEE ; background-color: black ; border: medium solid black;}
  10. .code
  11. ,.path
  12. ,.url {font-family: monospace; color: black ; background-color: #f9f9f9 ; border: medium solid #f9f9f9;}
  13. .bold {font-weight: 900;}
  14. </style>
  15. <style>
  16. .console {font-family: monospace; color: #EEEEEE ; background-color: black ; border: medium solid black;}
  17. .code
  18. ,.path
  19. ,.url {font-family: monospace; color: black ; background-color: #f9f9f9 ; border: medium solid #f9f9f9;}
  20. .bold {font-weight: 900;}
  21. </style>
  22. </head>
  23. <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
  24. <div id="mw-page-base" class="noprint"></div>
  25. <div id="mw-head-base" class="noprint"></div>
  26. <div id="content" class="mw-body">
  27. <h1 id="firstHeading" class="firstHeading"><span>App/UI/Printing</span></h1>
  28. <div id="bodyContent" class="mw-body-content">
  29. <div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
  30. <div id="contentSub"></div>
  31. <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
  32. <p>
  33. This bug was fixed as of v2.6.5. This page is provided for historical reasons.
  34. </p>
  35. <hr>
  36. <p>
  37. XOWA currently does not support printing by default. This limitation is due to an underlying bug in the SWT HTML browser: <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376358" rel="nofollow" class="external free">https://bugs.eclipse.org/bugs/show_bug.cgi?id=376358</a>
  38. </p>
  39. <h2>
  40. <span class="mw-headline" id="Printing_after_saving_to_a_file">Printing after saving to a file</span>
  41. </h2>
  42. <p>
  43. The simplest way to print a document is to do the following:
  44. </p>
  45. <ul>
  46. <li>
  47. Right-click anywhere in the HTML box
  48. </li>
  49. <li>
  50. Choose File -&gt; Save As
  51. </li>
  52. <li>
  53. Save the file
  54. </li>
  55. <li>
  56. Open the file in Mozilla Firefox
  57. </li>
  58. <li>
  59. Choose File -&gt; Print
  60. </li>
  61. </ul>
  62. <h2>
  63. <span class="mw-headline" id="Printing_directly_from_XOWA">Printing directly from XOWA</span>
  64. </h2>
  65. <p>
  66. If you want to print directly from XOWA, you will need to do extra configuration.
  67. </p>
  68. <ul>
  69. <li>
  70. Find your prefs.js file
  71. </li>
  72. </ul>
  73. <dl>
  74. <dd>
  75. On Linux, the folder would be <span class='path'>/home/your_user_name/.mozilla/eclipse</span>
  76. </dd>
  77. <dd>
  78. On Windows XP, the folder would be <span class='path'>C:\Documents and Settings\your_user_name\Application Data\Mozilla\eclipse</span>
  79. </dd>
  80. <dd>
  81. On Windows 7, the folder would be <span class='path'>C:\Users\your_user_name\Application Data\Mozilla\eclipse</span>
  82. </dd>
  83. </dl>
  84. <ul>
  85. <li>
  86. Open the file with a text-editor (Notepad++ on Windows)
  87. </li>
  88. <li>
  89. Add the following to the bottom of the file: <span class="code">user_pref("print.show_print_progress", false);</span>
  90. </li>
  91. <li>
  92. Restart XOWA
  93. </li>
  94. <li>
  95. Go to <a href="http://xowa.org/wiki/home/page/Options/Menus.html" id="xolnki_2" title="Options/Menus" class="xowa-visited">Options/Menus</a>
  96. </li>
  97. <li>
  98. Add the following line: <span class="code">add_btn_default('xowa.file.print');</span>
  99. </li>
  100. <li>
  101. Click Save in the upper left-hand corner
  102. </li>
  103. <li>
  104. Right-click and choose Print
  105. </li>
  106. </ul>
  107. </div>
  108. </div>
  109. </div>
  110. <div id="mw-head" class="noprint">
  111. <div id="left-navigation">
  112. <div id="p-namespaces" class="vectorTabs">
  113. <h3>Namespaces</h3>
  114. <ul>
  115. <li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
  116. </ul>
  117. </div>
  118. </div>
  119. </div>
  120. <div id='mw-panel' class='noprint'>
  121. <div id='p-logo'>
  122. <a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
  123. </div>
  124. <div class="portal" id='xowa-portal-home'>
  125. <h3>XOWA</h3>
  126. <div class="body">
  127. <ul>
  128. <li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
  129. <li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
  130. <li><a href="http://xowa.org/wiki/home/page/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
  131. <li><a href="http://xowa.org/wiki/home/page/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
  132. </ul>
  133. </div>
  134. </div>
  135. <div class="portal" id='xowa-portal-stargin'>
  136. <h3>Getting started</h3>
  137. <div class="body">
  138. <ul>
  139. <li><a href="http://xowa.org/wiki/home/page/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
  140. <li><a href="http://xowa.org/wiki/home/page/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
  141. <li><a href="http://xowa.org/wiki/home/page/App/Import/Simple_Wikipedia.html" title='Learn how to set up Simple Wikipedia'>Simple Wikipedia</a></li>
  142. <li><a href="http://xowa.org/wiki/home/page/App/Import/English_Wikipedia.html" title='Learn how to set up English Wikipedia'>English Wikipedia</a></li>
  143. <li><a href="http://xowa.org/wiki/home/page/App/Import/Other_wikis.html" title='Learn how to set up other Wikipedias'>Other Wikipedias</a></li>
  144. </ul>
  145. </div>
  146. </div>
  147. <div class="portal" id='xowa-portal-help'>
  148. <h3>Help</h3>
  149. <div class="body">
  150. <ul>
  151. <li><a href="http://xowa.org/wiki/home/page/Help/About.html" title='Get more information about XOWA'>About</a></li>
  152. <li><a href="http://xowa.org/wiki/home/page/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
  153. <li><a href="http://xowa.org/wiki/home/page/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
  154. <li><a href="http://xowa.org/wiki/home/page/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
  155. </ul>
  156. </div>
  157. </div>
  158. <div class="portal" id='xowa-portal-blog'>
  159. <h3>Blog</h3>
  160. <div class="body">
  161. <ul>
  162. <li><a href="http://xowa.org/wiki/home/page/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
  163. </ul>
  164. </div>
  165. </div>
  166. <div class="portal" id='xowa-portal-links'>
  167. <h3>Links</h3>
  168. <div class="body">
  169. <ul>
  170. <li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
  171. <li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
  172. <li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
  173. </ul>
  174. </div>
  175. </div>
  176. <div class="portal" id='xowa-portal-donate'>
  177. <h3>Donate</h3>
  178. <div class="body">
  179. <ul>
  180. <li><a href="https://archive.org/donate/index.php" title="Support archive.org!">archive.org</a></li><!-- listed first due to recent fire damages: http://blog.archive.org/2013/11/06/scanning-center-fire-please-help-rebuild/ -->
  181. <li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
  182. <!-- <li><a href="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
  183. </ul>
  184. </div>
  185. </div>
  186. </div>
  187. </body>
  188. </html>