diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-08-11 17:51:24 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-08-11 17:51:24 +0000 |
commit | 4bf2b7f0742c1c874e697b96a9b0fee95a169cf3 (patch) | |
tree | afda89dc2066577b1003119175b2039797aed860 | |
parent | de9676e191f5a31ea0920a194ec16966add70f55 (diff) |
Updating FAQXORG-6_7_99_902XORG-6_7_99_901XORG-6_7_99_2
-rw-r--r-- | hardcopy/XPRINT/Xprint_FAQ.html | 641 | ||||
-rw-r--r-- | hardcopy/XPRINT/Xprint_FAQ.txt | 769 | ||||
-rw-r--r-- | hardcopy/XPRINT/Xprint_FAQ.xml | 127 |
3 files changed, 802 insertions, 735 deletions
diff --git a/hardcopy/XPRINT/Xprint_FAQ.html b/hardcopy/XPRINT/Xprint_FAQ.html index f50e03e..52b24d0 100644 --- a/hardcopy/XPRINT/Xprint_FAQ.html +++ b/hardcopy/XPRINT/Xprint_FAQ.html @@ -3,7 +3,7 @@ </p><p> Version: 0.9.1 </p><p> - Last-Modified: 2004/05/16 08:15:16 + Last-Modified: 2004/06/14 08:15:16 </p><p> Maintained-by: <span class="othercredit"><span class="firstname">Roland</span> <span class="surname">Mainz</span></span> @@ -85,103 +85,105 @@ Which applications support Xprint ? </a></dt><dt>Q: <a href="#is_xprint_only_for_mozilla"> Is "Xprint" "mozilla"-only (I saw that it's hosted by mozdev.org) ? - </a></dt><dt>Q: <a href="#id2809387"> + </a></dt><dt>Q: <a href="#xprint_license"> Under which license is the source code from xprint.mozdev.org distributed under ? </a></dt><dt>Q: <a href="#why_does_xprint_not_use_ppds"> Why does Xprint not use PPDs for configuration ? - </a></dt></dl></dd><dt>2. <a href="#faq_usage">Usage</a></dt><dd><dl><dt>Q: <a href="#id2809547"> + </a></dt></dl></dd><dt>2. <a href="#faq_usage">Usage</a></dt><dd><dl><dt>Q: <a href="#how_to_configure_xprint_clients"> How do I configure Xprint on the client side ? </a></dt><dt>Q: <a href="#how_do_i_start_xprt"> How do I start Xprt ? - </a></dt><dt>Q: <a href="#id2874376"> + </a></dt><dt>Q: <a href="#id2874377"> How can I get a list of printers managed by Xprint ? - </a></dt><dt>Q: <a href="#id2874479"> + </a></dt><dt>Q: <a href="#id2874480"> How can I start Xprt at boot time ? - </a></dt><dt>Q: <a href="#id2874512"> + </a></dt><dt>Q: <a href="#id2874513"> How can I start Xprt per-user ? - </a></dt><dt>Q: <a href="#id2874544"> + </a></dt><dt>Q: <a href="#id2874545"> How can I start Xprt only for one application ? - </a></dt><dt>Q: <a href="#id2874578"> + </a></dt><dt>Q: <a href="#id2874579"> How can I filter the font path which should be passed to Xprt for certain fonts ? - </a></dt><dt>Q: <a href="#id2874600"> + </a></dt><dt>Q: <a href="#id2874601"> How can I manage access control to the Xprt server ? - </a></dt><dt>Q: <a href="#id2874698"> + </a></dt><dt>Q: <a href="#id2874699"> How can I log access to the Xprt server ? - </a></dt><dt>Q: <a href="#id2874730"> + </a></dt><dt>Q: <a href="#id2874732"> Does it require "root" permissions to use Xprt/Xprint ? - </a></dt><dt>Q: <a href="#id2874773"> + </a></dt><dt>Q: <a href="#id2874774"> How can I see the attributes of a printer managed by Xprint ? </a></dt><dt>Q: <a href="#how_can_i_list_the_font_path_used_by_xprint"> How can I list the font path used by a Xprt server ? - </a></dt><dt>Q: <a href="#id2874904"> + </a></dt><dt>Q: <a href="#id2874905"> "xset q" lists all model-specific font dirs (like PRINTER:/myxpcfg/C/print/models/SPSPARC2/fonts/") - is that a bug ? - </a></dt><dt>Q: <a href="#id2874952"> + </a></dt><dt>Q: <a href="#id2874954"> My application lists a printer called "xp_ps_spooldir_tmp_Xprintjobs" / "xp_pdf_spooldir_tmp_Xprintjobs" / "spooldir_tmp_Xprintjobs" / in the print dialog but I do not have such a print queue installed anywhere. What is that for a thing ?! </a></dt><dt>Q: <a href="#manual_xprint_forwarding_via_ssh"> How can I forward Xprint services when logging-in via ssh to another machine ? - </a></dt></dl></dd><dt>3. <a href="#faq_configuration">Configuration</a></dt><dd><dl><dt>Q: <a href="#id2875302"> + </a></dt></dl></dd><dt>3. <a href="#faq_configuration">Configuration</a></dt><dd><dl><dt>Q: <a href="#configure_default_printer"> + How do I change the default printer used by Xprint applications ? + </a></dt><dt>Q: <a href="#configure_default_plex"> How do I change the defaults for double-sided/single-sided/etc. printing ? - </a></dt><dt>Q: <a href="#id2875490"> + </a></dt><dt>Q: <a href="#configure_default_papersize"> I am in America and I don't have any ISO A4 paper. How do I change the default paper size to 8.5 inch x 11 inch (US-Letter) ? - </a></dt><dt>Q: <a href="#id2876052"> + </a></dt><dt>Q: <a href="#configure_default_resolution"> How do I change the default printer resolution ? - </a></dt><dt>Q: <a href="#id2876382"> + </a></dt><dt>Q: <a href="#configure_default_orientation"> How do I change the default settings for "portrait"/"landscape"/"seascape" (=page orientation) ? - </a></dt><dt>Q: <a href="#id2876573"> + </a></dt><dt>Q: <a href="#how_to_prevent_usage_of_bitmap_fonts"> How can I prevent Xprt from using any bitmap(=gfx) fonts ? </a></dt><dt>Q: <a href="#configure_manual_list_of_printers"> I want only my manually added printers managed by Xprint. How can I prevent Xprt from looking-up the printer names automatically ? </a></dt><dt>Q: <a href="#configure_custom_script_to_enumerate_system_printers"> How can I specify an own program/script to enumerate the printers on my system ? - </a></dt><dt>Q: <a href="#id2876925"> + </a></dt><dt>Q: <a href="#id2877080"> Which program is used by default by Xprt to enumerate the printers on my system ? - </a></dt><dt>Q: <a href="#id2877182"> + </a></dt><dt>Q: <a href="#id2877337"> Where can I get more PostScript Type1 fonts from ? - </a></dt><dt>Q: <a href="#id2877531"> + </a></dt><dt>Q: <a href="#id2877686"> What are PMF fonts (e.g. the *.pmf fonts in ${XPCONFIGDIR}/C/print/models/%model_name%/fonts/ (or ${XPCONFIGDIR}/${LANG}/print/models/%model_name%/fonts/)) ? - </a></dt><dt>Q: <a href="#id2877610"> + </a></dt><dt>Q: <a href="#id2877773"> Can I use the fontserver ("xfs") with Xprt ? - </a></dt><dt>Q: <a href="#id2877673"> + </a></dt><dt>Q: <a href="#id2877836"> What is a "model-config" ? - </a></dt><dt>Q: <a href="#id2877784"> + </a></dt><dt>Q: <a href="#id2877947"> Where can I store the default values for printers ? - </a></dt><dt>Q: <a href="#id2877806"> + </a></dt><dt>Q: <a href="#id2877968"> How can I create my own model-config ? - </a></dt><dt>Q: <a href="#id2877827"> + </a></dt><dt>Q: <a href="#id2877990"> How can I create my own PMF "fonts" ? - </a></dt><dt>Q: <a href="#id2877869"> + </a></dt><dt>Q: <a href="#where_can_i_get_more_model_configs_from"> Where can I get more model-configs from ? - </a></dt><dt>Q: <a href="#id2877931"> + </a></dt><dt>Q: <a href="#id2878099"> If I install Xprt &co. as "root" in the default location and don't need to set ${XPCONFIGDIR} - where are my configuration files located then ? - </a></dt><dt>Q: <a href="#id2878074"> + </a></dt><dt>Q: <a href="#id2878242"> Are config files and/or the PMF fonts architecture dependent ? - </a></dt><dt>Q: <a href="#id2878143"> + </a></dt><dt>Q: <a href="#id2878311"> Can I localise my Xprint/Xprt configuration (l10n) ? - </a></dt><dt>Q: <a href="#id2878428"> + </a></dt><dt>Q: <a href="#id2878596"> Can I execute my own scripts to process the PostScript files generated by Xprt ? - </a></dt><dt>Q: <a href="#id2878635"> + </a></dt><dt>Q: <a href="#id2878803"> How can I disable "xp_ps_spooldir_tmp_Xprintjobs" / "xp_pdf_spooldir_tmp_Xprintjobs" printer targets ? </a></dt></dl></dd><dt>4. <a href="#faq_troubleshooting">Troubleshooting</a></dt><dd><dl><dt>Q: <a href="#printout_only_covers_1_4_of_the_paper"> "Printing itself works but the printout covers only 1/4 of the paper - what am I doing wrong ?" - </a></dt><dt>Q: <a href="#id2878803"> + </a></dt><dt>Q: <a href="#id2878971"> "Printing works but I get large borders/margins..." / "[Top] margin is too small" / "Margins are wrong" / etc. - </a></dt><dt>Q: <a href="#id2878887"> + </a></dt><dt>Q: <a href="#id2879055"> Xprt refuses to start with the message "sh: lpc: command not found" on my Linux machine. What does that mean ? - </a></dt><dt>Q: <a href="#id2878978"> + </a></dt><dt>Q: <a href="#id2879146"> When the application (=client side) tries to connect to the Xprt (Xserver) side it fails with a @@ -189,61 +191,61 @@ Xlib: connection to "meridian:52.0" refused by server Xlib: Client is not authorized to connect to Server What does that mean ? - </a></dt><dt>Q: <a href="#id2879247"> + </a></dt><dt>Q: <a href="#id2879415"> Xprt refuses to start with the message "failed to set default font path '...' Fatal server error: could not open default font 'fixed'". What does that mean ? - </a></dt><dt>Q: <a href="#id2879345"> + </a></dt><dt>Q: <a href="#id2879513"> Just copying my fonts into a directory and adding the path to my Xprt command line didn't work - I always get "Fatal server error: could not open default font 'fixed'". What am I doing wrong ? - </a></dt><dt>Q: <a href="#id2879456"> + </a></dt><dt>Q: <a href="#id2879625"> Xprt refuses to start with the message "Fatal server error: Cannot establish any listening sockets - Make sure an X server isn't already running". What does that mean ? - </a></dt><dt>Q: <a href="#id2879485"> + </a></dt><dt>Q: <a href="#id2879653"> Xprt refuses to start with the message "Fatal server error: Failed to establish all listening sockets". What does that mean ? - </a></dt><dt>Q: <a href="#id2879530"> + </a></dt><dt>Q: <a href="#id2879698"> Xprt refuses to start with the message "Fatal server error: could not open default font 'fixed'" or "Fatal server error: could not open default cursor font 'cursor'". - </a></dt><dt>Q: <a href="#id2879557"> + </a></dt><dt>Q: <a href="#id2879727"> Xprt refuses to start with the message "Fatal server error: no screens found". What does that mean ? - </a></dt><dt>Q: <a href="#id2879848"> + </a></dt><dt>Q: <a href="#id2880016"> Xprt prints a warning like "Xp Extension: could not find config dir /usr/X11R6/lib/X11/C/print" - what does that mean ? - </a></dt><dt>Q: <a href="#id2879922"> + </a></dt><dt>Q: <a href="#id2880091"> Xprt crashes with "Fatal server error: Beziers this big not yet supported" What does that mean ? - </a></dt><dt>Q: <a href="#id2879948"> + </a></dt><dt>Q: <a href="#id2880117"> "My PS Type1 font does not work with my Xserver - how can I fix this ?" - </a></dt><dt>Q: <a href="#id2880061"> + </a></dt><dt>Q: <a href="#id2880230"> I can't get it working. I have set ${DISPLAY} correctly to point to the Xprt display and... ... What is going wrong ? - </a></dt><dt>Q: <a href="#id2880108"> + </a></dt><dt>Q: <a href="#id2880277"> When I try to print via Xprint I get the message "Fatal server error: unable to exec '/usr/bin/lp'". What is going wrong here ? - </a></dt><dt>Q: <a href="#id2880149"> + </a></dt><dt>Q: <a href="#id2880318"> The Solaris Xprt prints some error messages about PostScript fonts like "FOOBAR not found, using Courier. CMEX0123 not found, using Courier." etc. and uses "Courier" instead of these fonts... - </a></dt><dt>Q: <a href="#id2880437"> + </a></dt><dt>Q: <a href="#id2880605"> "Xprt refused to start, complaining about a missing dir (/etc/X11/xserver/C/print/ directory)... I created it by hand (empty) and started Xprt but it still does not work properly..." - </a></dt><dt>Q: <a href="#id2880492"> + </a></dt><dt>Q: <a href="#id2880661"> My Linux system already shipps with a '/usr/X11R6/bin/Xprt'-binary. Do I need the binary distribution from http://xprint.mozdev.org/ ? - </a></dt><dt>Q: <a href="#id2880576"> + </a></dt><dt>Q: <a href="#id2880745"> I am getting the error message "error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy". What does that mean ? - </a></dt><dt>Q: <a href="#id2880629"> + </a></dt><dt>Q: <a href="#id2880798"> I have modified the "HPLJ4family" [or "HPDJ1600C" etc.] printer model to work with my PostScript printer, but when I print I get empty places where some text should be - what am I doing wrong here ? - </a></dt><dt>Q: <a href="#id2880682"> + </a></dt><dt>Q: <a href="#id2880851"> Xprt outputs warning messages like: @@ -257,7 +259,7 @@ Xp Extension: Can't load driver XP-RASTER </a></dt><dt>Q: <a href="#bug_solaris_xprt_removes_spaces_between_words"> Printing on Solaris with Mozilla/Eclipse [or any other Xprint client] removes spaces between words. What is going wrong ? - </a></dt><dt>Q: <a href="#id2881446"> + </a></dt><dt>Q: <a href="#id2881576"> Installation of the "GISWxprint" / "GISWxprintglue" packages fails like this: # pkgadd -d /space/staging/xprint/GISWxprint.pkg pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> @@ -265,70 +267,70 @@ pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> </a></dt><dt>Q: <a href="#multiple_leading_blank_pages"> Printing page results in [two/three/.../16] leading blank pages, followed by a correct (but offset) page. Any idea what is going wrong ? - </a></dt></dl></dd><dt>5. <a href="#faq_development">Software development</a></dt><dd><dl><dt>Q: <a href="#id2881714"> + </a></dt></dl></dd><dt>5. <a href="#faq_development">Software development</a></dt><dd><dl><dt>Q: <a href="#id2881884"> How does the X print server (Xprt) and the Xlib client side differ from the "normal" video Xserver/video client side ? - </a></dt><dt>Q: <a href="#id2882163"> + </a></dt><dt>Q: <a href="#id2882332"> How can I get the printable area (e.g. the portion of the page on which the printer is physically capable of placing ink) of the paper after I have chosen a paper ? - </a></dt><dt>Q: <a href="#id2882212"> + </a></dt><dt>Q: <a href="#id2882381"> Do "offscreen" pixmaps work on Xprt ? - </a></dt><dt>Q: <a href="#id2882234"> + </a></dt><dt>Q: <a href="#id2882403"> How can I get the DPI value for the current Xprt server ? Can I use the values from "xdpyinfo" ? - </a></dt><dt>Q: <a href="#id2882304"> + </a></dt><dt>Q: <a href="#why_does_xprt_not_support_mitshm"> Why does Xprt not offer the MIT-SHM protocol extension ? - </a></dt><dt>Q: <a href="#id2882402"> + </a></dt><dt>Q: <a href="#id2882576"> Does Xprint/Xprt support font rotation ? - </a></dt><dt>Q: <a href="#id2882521"> + </a></dt><dt>Q: <a href="#id2882696"> When I render something on my window and call XpStartPage all the rendered stuff is gone, I only get a white, empty paper. What is going wrong here ? - </a></dt><dt>Q: <a href="#id2882617"> + </a></dt><dt>Q: <a href="#id2882791"> What is XpStartDoc for ? - </a></dt><dt>Q: <a href="#id2882707"> + </a></dt><dt>Q: <a href="#id2882881"> How does the XLFD for printer-builtin fonts look like ? / How can I find/identify printer-builtin fonts ? - </a></dt><dt>Q: <a href="#id2882780"> + </a></dt><dt>Q: <a href="#id2882955"> How can I scale images using the Xprint API ? - </a></dt><dt>Q: <a href="#id2882801"> + </a></dt><dt>Q: <a href="#id2882976"> Can I pass my own PostScript code (fragment) to the print spooler instead of letting Xprt's PostScript DDX generate it ? - </a></dt><dt>Q: <a href="#id2882828"> + </a></dt><dt>Q: <a href="#id2883002"> When I use XpPutDocumentData I get a BadValue X protocol error. Any idea what am I doing wrong ? - </a></dt><dt>Q: <a href="#id2882868"> + </a></dt><dt>Q: <a href="#id2883043"> How do I use the XprintUtil library ? </a></dt><dt>Q: <a href="#why_does_xgetimage_not_work"> Why does the XGetImage not work for Xprt ? - </a></dt><dt>Q: <a href="#id2883025"> + </a></dt><dt>Q: <a href="#id2883200"> How to print with Xt/Athena widgets ? - </a></dt><dt>Q: <a href="#id2883118"> + </a></dt><dt>Q: <a href="#id2883293"> How to print with Xt/Motif widgets ? - </a></dt><dt>Q: <a href="#id2883143"> + </a></dt><dt>Q: <a href="#id2883318"> What are the differences between normal display and Xprint display ? - </a></dt><dt>Q: <a href="#id2883165"> + </a></dt><dt>Q: <a href="#id2883340"> How do I scale images ? - </a></dt><dt>Q: <a href="#id2883186"> + </a></dt><dt>Q: <a href="#id2883361"> libXp Image scaling vs. max. request size ? - </a></dt><dt>Q: <a href="#id2883208"> + </a></dt><dt>Q: <a href="#id2883383"> How can I use XprintUtils ? - </a></dt><dt>Q: <a href="#id2883230"> + </a></dt><dt>Q: <a href="#id2883405"> How do I calculate the DPI values for Xprt DDX screens ? - </a></dt><dt>Q: <a href="#id2883252"> + </a></dt><dt>Q: <a href="#id2883427"> How do I find scaleable fonts ? - </a></dt><dt>Q: <a href="#id2883274"> + </a></dt><dt>Q: <a href="#id2883449"> How do I find printer-builtin fonts ? - </a></dt><dt>Q: <a href="#id2883295"> + </a></dt><dt>Q: <a href="#id2883470"> The XLFD for Printer-builtin fonts look like bitmap fonts - is that bad ? - </a></dt><dt>Q: <a href="#id2883326"> + </a></dt><dt>Q: <a href="#id2883501"> When printing using the XawPrintShell/XmPrintShell print shells my PostScript output is always corrupt. What am I doing wrong ? - </a></dt><dt>Q: <a href="#id2883394"> + </a></dt><dt>Q: <a href="#id2883569"> When printing using the XawPrintShell/XmPrintShell print shells I always get a grey/dithered background on paper. Any idea how to change that to "white" ? - </a></dt><dt>Q: <a href="#id2883430"> + </a></dt><dt>Q: <a href="#id2883605"> Are there any caveats/suggestions when printing via Xt/Motif2 widgets ? </a></dt><dt>Q: <a href="#changing_page_attributes_on_the_fly_when_using_printshells"> Can I change the paper size/resolution/page orientation/etc. when printing using the @@ -380,7 +382,7 @@ pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> Which applications support Xprint ? </a></dt><dt>Q: <a href="#is_xprint_only_for_mozilla"> Is "Xprint" "mozilla"-only (I saw that it's hosted by mozdev.org) ? - </a></dt><dt>Q: <a href="#id2809387"> + </a></dt><dt>Q: <a href="#xprint_license"> Under which license is the source code from xprint.mozdev.org distributed under ? </a></dt><dt>Q: <a href="#why_does_xprint_not_use_ppds"> Why does Xprint not use PPDs for configuration ? @@ -810,6 +812,8 @@ pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> </p></li><li><p> Athena toolkit (full framework incl. special widgets like <tt class="function">XawPrintShell</tt>, starting with X.org release 6.7.1) </p></li><li><p> + Xedit, Xman, Xmore, etc. (starting with X.org release 6.7.1) + </p></li><li><p> <a href="http://www.opengroup.org/cde/" target="_top">Common Desktop Environment (CDE) 2.x</a> </p></li><li><p> <a href="http://www.mozilla.org/projects/xprint/" target="_top">Mozilla, FireFox, ThunderBird, etc.</a> @@ -822,17 +826,21 @@ pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> </p></li><li><p> etc. </p></li></ul></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="is_xprint_only_for_mozilla"></a><a name="id2809344"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="is_xprint_only_for_mozilla"></a><a name="id2809353"></a><b>Q:</b></td><td align="left" valign="top"><p> Is "Xprint" "mozilla"-only (I saw that it's hosted by mozdev.org) ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> - No, Xprint is a general-purpose print API based on the X11 API used by - many applications (<a href="http://www.mozdev.org/" target="_top">mozdev.org</a> is just - hosting the development area, but this does not mean the project is limited to mozilla... - <tt class="literal">:)</tt>). - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2809387"></a><a name="id2809390"></a><b>Q:</b></td><td align="left" valign="top"><p> + No, Xprint is a general-purpose print API based on X11 used by + many applications - <a href="http://www.mozdev.org/" target="_top">mozdev.org</a> is just + one of the hosting places (others are + <a href="http://xprint.freedesktop.org/" target="_top">http://xprint.freedesktop.org/</a> (bugzilla, CVS) + and <a href="http://www.sourceforge.net/projects/xprint/" target="_top">http://www.sourceforge.net/projects/xprint/</a> (download area)) + hosting the development area, <a href="http://xprint.mozdev.org/docs/" target="_top">documentation</a> and + <a href="http://xprint.mozdev.org/list.html" target="_top">mailinglist</a>. + <tt class="literal">:)</tt>. + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="xprint_license"></a><a name="id2809468"></a><b>Q:</b></td><td align="left" valign="top"><p> Under which license is the source code from xprint.mozdev.org distributed under ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns13="" align="left" valign="top"><p> - That's the plain "MIT" license, the same as used by Xfree86.org and X.org: + That's the plain "MIT" license, the same as used by Xfree86.org < V4.4.0 and X.org: </p><pre class="programlisting"> Copyright (c) <year> <copyright holders> @@ -851,7 +859,7 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FO DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </pre><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="why_does_xprint_not_use_ppds"></a><a name="id2809472"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="why_does_xprint_not_use_ppds"></a><a name="id2809549"></a><b>Q:</b></td><td align="left" valign="top"><p> Why does Xprint not use PPDs for configuration ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> Xprint supports multiple "page description languages (<a href="#what_does_pdl_mean">PDL</a>)" @@ -864,44 +872,44 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN into Xprint's model-config format. See <a href="http://xprint.freedesktop.org/bugzilla/show_bug.cgi?id=636" target="_top">xprint.freedesktop.org bug 636 ("RFE: Add an Adobe PPD to model-config converter / xpppdtomodelconfig")</a> for further information. - </p></td></tr><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq_usage"></a><h4 class="title"><a name="faq_usage"></a>2. Usage</h4></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="#id2809547"> + </p></td></tr><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq_usage"></a><h4 class="title"><a name="faq_usage"></a>2. Usage</h4></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="#how_to_configure_xprint_clients"> How do I configure Xprint on the client side ? </a></dt><dt>Q: <a href="#how_do_i_start_xprt"> How do I start Xprt ? - </a></dt><dt>Q: <a href="#id2874376"> + </a></dt><dt>Q: <a href="#id2874377"> How can I get a list of printers managed by Xprint ? - </a></dt><dt>Q: <a href="#id2874479"> + </a></dt><dt>Q: <a href="#id2874480"> How can I start Xprt at boot time ? - </a></dt><dt>Q: <a href="#id2874512"> + </a></dt><dt>Q: <a href="#id2874513"> How can I start Xprt per-user ? - </a></dt><dt>Q: <a href="#id2874544"> + </a></dt><dt>Q: <a href="#id2874545"> How can I start Xprt only for one application ? - </a></dt><dt>Q: <a href="#id2874578"> + </a></dt><dt>Q: <a href="#id2874579"> How can I filter the font path which should be passed to Xprt for certain fonts ? - </a></dt><dt>Q: <a href="#id2874600"> + </a></dt><dt>Q: <a href="#id2874601"> How can I manage access control to the Xprt server ? - </a></dt><dt>Q: <a href="#id2874698"> + </a></dt><dt>Q: <a href="#id2874699"> How can I log access to the Xprt server ? - </a></dt><dt>Q: <a href="#id2874730"> + </a></dt><dt>Q: <a href="#id2874732"> Does it require "root" permissions to use Xprt/Xprint ? - </a></dt><dt>Q: <a href="#id2874773"> + </a></dt><dt>Q: <a href="#id2874774"> How can I see the attributes of a printer managed by Xprint ? </a></dt><dt>Q: <a href="#how_can_i_list_the_font_path_used_by_xprint"> How can I list the font path used by a Xprt server ? - </a></dt><dt>Q: <a href="#id2874904"> + </a></dt><dt>Q: <a href="#id2874905"> "xset q" lists all model-specific font dirs (like PRINTER:/myxpcfg/C/print/models/SPSPARC2/fonts/") - is that a bug ? - </a></dt><dt>Q: <a href="#id2874952"> + </a></dt><dt>Q: <a href="#id2874954"> My application lists a printer called "xp_ps_spooldir_tmp_Xprintjobs" / "xp_pdf_spooldir_tmp_Xprintjobs" / "spooldir_tmp_Xprintjobs" / in the print dialog but I do not have such a print queue installed anywhere. What is that for a thing ?! </a></dt><dt>Q: <a href="#manual_xprint_forwarding_via_ssh"> How can I forward Xprint services when logging-in via ssh to another machine ? - </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="id2809547"></a><a name="id2809550"></a><b>Q:</b></td><td align="left" valign="top"><p> + </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="how_to_configure_xprint_clients"></a><a name="id2809633"></a><b>Q:</b></td><td align="left" valign="top"><p> How do I configure Xprint on the client side ? - </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns18="" align="left" valign="top"><p> + </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns15="" align="left" valign="top"><p> There are two env vars which control Xprint on the client side: </p><div class="orderedlist"><ol type="1"><li xmlns:ns14=""><p> The env variable <tt class="envar">${XPSERVERLIST}</tt> contains a list of display identifiers @@ -923,33 +931,15 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN instructs an application to look at the displays 80 on the machine "littlecat" and display 72 on the machine bigdog to look for Xprt servers. - </p></li><li xmlns:ns17=""><p> + </p></li><li><p> The env variable <tt class="envar">${XPRINTER}</tt> defines the default printer used by print - applications. The syntax is either <printername> or - <printername>@<display> - - </p><div class="orderedlist"><p class="title"><b>Examples:</b></p><ol type="a"><li xmlns:ns15=""><p> -</p><pre class="screen"> - % <b class="userinput"><tt>export XPRINTER=ps003</tt></b> -</pre><p> - tells an application to look for the first printer named "ps003" on - all Xprt servers. - </p></li><li xmlns:ns16=""><p> -</p><pre class="screen"> - % <b class="userinput"><tt>export XPRINTER="hplaser19@littlecat:80"</tt></b> -</pre><p> - tells an application to look for the printer "hplaser19" on the Xprt - display "littlecat:80". - </p></li></ol></div><p> - </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note:</h3><p> - If <tt class="envar">${XPRINTER}</tt> is not set the applications will examine the values of - the <tt class="envar">${PDPRINTER}</tt>, <tt class="envar">${LPDEST}</tt>, and - <tt class="envar">${PRINTER}</tt> env vars (in that order). - </p></div><p> + applications. + The details can be found in the FAQ item + <a href="#configure_default_printer">How do I change the default printer used by Xprint applications ?</a> ... </p></li></ol></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="how_do_i_start_xprt"></a><a name="id2873688"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="how_do_i_start_xprt"></a><a name="id2873690"></a><b>Q:</b></td><td align="left" valign="top"><p> How do I start Xprt ? - </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns26="" align="left" valign="top"><p> + </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns23="" align="left" valign="top"><p> </p><div class="orderedlist"><ol type="1"><li><p><a name="starting_xprt_on_linux_rpm"></a> Linux RPM installations on Mandrake/RedHat/SuSE Linux: Binary RPM packages provided by xprint.mozdev.org (or based on the same @@ -959,7 +949,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN startup and <tt class="envar">${XPSERVERLIST}</tt> should be populated for all users. Note that you can start/stop per-user instances using <tt class="filename">/etc/init.d/xprint</tt> (see <a href="#starting_xprt_general">[4]</a>), too... - </p></li><li xmlns:ns19=""><p><a name="starting_xprt_on_debian_linux"></a> + </p></li><li xmlns:ns16=""><p><a name="starting_xprt_on_debian_linux"></a> Debian Linux: Same as <a href="#starting_xprt_on_linux_rpm">[1]</a>, however Debian does not support <tt class="filename">/etc/profile.d/</tt> - you have to add the following line to <tt class="filename">/etc/profile</tt> @@ -987,7 +977,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN (see <a href="#starting_xprt_on_solaris_using_giswxprintglue">[3a]</a>) but provides a Xprt binary build from the xprint.mozdve.org sources ("GISWxprintglue" uses the <tt class="filename">/usr/openwin/bin/Xprt</tt> binary provided by Solaris). - </p></li></ol></div></li><li xmlns:ns20=""><p><a name="starting_xprt_general"></a> + </p></li></ol></div></li><li xmlns:ns17=""><p><a name="starting_xprt_general"></a> General: Using <tt class="filename">/etc/init.d/xprint</tt> and related glue: There are startup/shutdown scripts in <tt class="filename">xc/programs/Xserver/Xprint/etc/</tt> to start/stop/restart Xprt per-machine and/or per-user and to populate the @@ -1004,7 +994,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN Linux (which support <tt class="filename">/etc/profile.d/</tt> ; note that this does not include Debian) to populate the <tt class="envar">${XPSERVERLIST}</tt> env var for each user. </p></li></ul></div><p> - </p></li><li xmlns:ns21=""><p><a name="starting_xprt_manually"></a> + </p></li><li xmlns:ns18=""><p><a name="starting_xprt_manually"></a> Starting Xprt "manually" (without using <tt class="filename">/etc/init.d/xprint</tt>): Set the <tt class="envar">${XPCONFIGDIR}</tt> env variable to the directory where Xprt can find it's configuration data. @@ -1020,7 +1010,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN You may want to make a copy of the default configuration directory and modify it to match your needs. </p></div><p> - </p></li><li xmlns:ns22=""><p> + </p></li><li xmlns:ns19=""><p> Starting Xprt is just as easy as starting any other Xserver: </p><pre class="screen"> % <b class="userinput"><tt>Xprt :12</tt></b> @@ -1034,11 +1024,11 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN % <b class="userinput"><tt>Xprt -fp $(xset q | awk "/Font Path:/ { i=1 ; next } i==1 { print \$0 ; i=0 }") :12</tt></b> </pre><p> </p></li></ol></div><p> - </p><div xmlns:ns25="" class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Notes:</h3><p> + </p><div xmlns:ns22="" class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Notes:</h3><p> </p><div class="itemizedlist"><ul type="disc"><li><p> The <tt class="filename">/etc/init.d/xprint</tt> has a more advanched filtering scheme based on regex patters to "accept" and/or "reject" font paths - </p></li><li xmlns:ns23=""><p> + </p></li><li xmlns:ns20=""><p> 'xset q | awk "/Font Path:/ { i=1 ; next } i==1 { print \$0 ; i=0 }"' may be too simple-minded if your Xserver does not support TrueType fonts. The following statemement is better in this case since it @@ -1053,7 +1043,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN do fontpath=${fontpath}${fpdelim}${i} ; fpdelim="," ; done ; echo \ $fontpath)</tt></b> </pre><p> - </p></li><li xmlns:ns24=""><p> + </p></li><li xmlns:ns21=""><p> It may be easier to just feed all available font paths to Xprt (BTW: mozilla 1.0 had a bug in that case which resulted in the problem that it used many many bitmap fonts in that case - this has been fixed @@ -1072,14 +1062,14 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN </p></li></ul></div><p> See <a href="#faq_troubleshooting">TROUBLESHOOTING</a> if you run into problems... </p></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874376"></a><a name="id2874379"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874377"></a><a name="id2874380"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I get a list of printers managed by Xprint ? - </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns29="" align="left" valign="top"><p> + </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns26="" align="left" valign="top"><p> The tool "xplsprinters" is designed for that purpose. It can deliver both list of printers and attributes supported for a specific list of printers. Use % xplsprinters -h # to obtain usage information. Example: - </p><div class="itemizedlist"><ul type="disc"><li xmlns:ns27=""><p> + </p><div class="itemizedlist"><ul type="disc"><li xmlns:ns24=""><p> Get list of available printers: </p><pre class="screen"> % <b class="userinput"><tt>xplsprinters</tt></b> @@ -1088,12 +1078,12 @@ printer: hpcolor001@castor:19 printer: laser1@jason:5 printer: david_dj01@jason:5</tt> </pre><p> - </p></li><li xmlns:ns28=""><p> + </p></li><li xmlns:ns25=""><p> Get information about the supported attrbites of printer "ps002": </p><pre class="screen"> % <b class="userinput"><tt>xplsprinters -printer ps002 -l</tt></b> <tt class="computeroutput">printer: ps002@castor:18 - comment= + description= model-identifier=HPDJ1600C default-medium=iso-a4 default-input-tray= @@ -1108,33 +1098,33 @@ printer: david_dj01@jason:5</tt> plex=simplex</tt> </pre><p> </p></li></ul></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874479"></a><a name="id2874482"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874480"></a><a name="id2874483"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I start Xprt at boot time ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> "<tt class="filename">xc/programs/Xserver/Xprint/etc/init.d/xprint</tt>" is a script for SystemV and Linux to start/stop/restart Xprt at system startup (e.g. per-machine) or for a single user (e.g. per-user). The script includes installation and usage details. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874512"></a><a name="id2874515"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874513"></a><a name="id2874516"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I start Xprt per-user ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> "<tt class="filename">xc/programs/Xserver/Xprint/etc/init.d/xprint</tt>" is a script for SystemV and Linux to start/stop/restart Xprt at system startup (e.g. per-machine) or for a single user (e.g. per-user). The script includes installation and usage details. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874544"></a><a name="id2874547"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874545"></a><a name="id2874548"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I start Xprt only for one application ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> Create your own version/copy of <tt class="filename">/etc/init.d/xprint</tt> and modify it to fit your requirements and then make sure that you issue a "my_xprint_startscript start" before starting the application and a "my_xprint_startscript stop" after leaving the application. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874578"></a><a name="id2874580"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874579"></a><a name="id2874581"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I filter the font path which should be passed to Xprt for certain fonts ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874600"></a><a name="id2874603"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874601"></a><a name="id2874604"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I manage access control to the Xprt server ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> Access control to Xprt is not differently as to any other Xserver and @@ -1150,13 +1140,13 @@ printer: david_dj01@jason:5</tt> <span class="citerefentry"><span class="refentrytitle">xhost</span>(1x)</span>, <span class="citerefentry"><span class="refentrytitle">Xserver</span>(1x)</span> etc. for further details. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874698"></a><a name="id2874701"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874699"></a><a name="id2874702"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I log access to the Xprt server ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> Logging access to Xprt can be done using the standard Xserver auditing, see the <span class="citerefentry"><span class="refentrytitle">Xserver</span>(1x)</span> manual page, option "-audit" - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874730"></a><a name="id2874734"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874732"></a><a name="id2874735"></a><b>Q:</b></td><td align="left" valign="top"><p> Does it require "root" permissions to use Xprt/Xprint ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> No, both Xprint clients and Xprint server(s) do not require root rights @@ -1171,7 +1161,7 @@ printer: david_dj01@jason:5</tt> The workaround is to start Xprt with the option "-pn"; therefore even Xprt server binaries which are not setgid "root" can run without problems). - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874773"></a><a name="id2874776"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874774"></a><a name="id2874777"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I see the attributes of a printer managed by Xprint ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> "xplsprinters -printer myprinter004 -l" will do the job for printer @@ -1180,9 +1170,9 @@ printer: david_dj01@jason:5</tt> See <span class="citerefentry"><span class="refentrytitle">xplsprinters</span>(1x)</span> for futher usage and a description of the output. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="how_can_i_list_the_font_path_used_by_xprint"></a><a name="id2874822"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="how_can_i_list_the_font_path_used_by_xprint"></a><a name="id2874824"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I list the font path used by a Xprt server ? - </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns30="" align="left" valign="top"><p> + </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns27="" align="left" valign="top"><p> Figure out the display id of the server which should be queried (we are using "foobar:98" in this example) and then try this: </p><pre class="screen"> @@ -1206,7 +1196,7 @@ PRINTER:/usr/openwin/server/etc/XpConfig/C/print/models/HPLJ3Si-PS/fonts/ sourced <span class="emphasis"><em>after</em></span> the matching printer has been selected and configured (for developers: After <tt class="function">XpSetContext</tt> has been called). </p></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874904"></a><a name="id2874906"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874905"></a><a name="id2874908"></a><b>Q:</b></td><td align="left" valign="top"><p> "xset q" lists all model-specific font dirs (like PRINTER:/myxpcfg/C/print/models/SPSPARC2/fonts/") - is that a bug ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> @@ -1216,12 +1206,12 @@ PRINTER:/usr/openwin/server/etc/XpConfig/C/print/models/HPLJ3Si-PS/fonts/ selected and configured (for developers: After <tt class="function">XpSetContext</tt> has been called), <span class="emphasis"><em>before</em></span> that point fonts in these dirs are not available for an application. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874952"></a><a name="id2874956"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2874954"></a><a name="id2874957"></a><b>Q:</b></td><td align="left" valign="top"><p> My application lists a printer called "xp_ps_spooldir_tmp_Xprintjobs" / "xp_pdf_spooldir_tmp_Xprintjobs" / "spooldir_tmp_Xprintjobs" / in the print dialog but I do not have such a print queue installed anywhere. What is that for a thing ?! - </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns31="" align="left" valign="top"><p> + </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns28="" align="left" valign="top"><p> "xp_ps_spooldir_tmp_Xprintjobs" and "xp_pdf_spooldir_tmp_Xprintjobs" ("spooldir_tmp_Xprintjobs" was the old, pre-009 name for "xp_ps_spooldir_tmp_Xprintjobs") are special Xprint printer targets which uses the "PSspooldir" / "PS2PDFspooldir-GS" @@ -1231,13 +1221,13 @@ PRINTER:/usr/openwin/server/etc/XpConfig/C/print/models/HPLJ3Si-PS/fonts/ of printed pages). </p><p><b>References: </b> </p><div class="itemizedlist"><ul type="disc"><li><p><a href="http://xprint.mozdev.org/bugs/show_bug.cgi?id=5092" target="_top">xprint.mozdev.org bug 5092 ("[PS2PDFspooldir-GS] RFE: Add printer model which sends PDF jobs to /tmp/Xprintjobs/")</a></p></li></ul></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="manual_xprint_forwarding_via_ssh"></a><a name="id2875042"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="manual_xprint_forwarding_via_ssh"></a><a name="id2875044"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I forward Xprint services when logging-in via ssh to another machine ? - </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns34="" align="left" valign="top"><p> + </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns31="" align="left" valign="top"><p> You have to forward the X11 connection for the Xprint server(s) to the remote system and set the <tt class="envar">XPSERVERLIST</tt> variable to direct the Xprint clients to the forwarded ports. - </p><div xmlns:ns32="" class="example"><a name="id2875067"></a><p class="title"><b>Example 1. Login to a remote host using slogin (assuming there is only one + </p><div xmlns:ns29="" class="example"><a name="id2875068"></a><p class="title"><b>Example 1. Login to a remote host using slogin (assuming there is only one Xprint server listed in <tt class="envar">XPSERVERLIST</tt>)</b></p><pre class="screen">% <b class="userinput"><tt>echo $XPSERVERLIST</tt></b></pre><pre class="screen"><tt class="computeroutput">west:33</tt></pre><p>Add 6000 to the display number ("33" in this example) to get the port number (X11 port numbers start at port 6000. 6000 is display number "0", 6001 is display number 6001 and so on) and then ask slogin to forward the port: @@ -1251,7 +1241,7 @@ Have a lot of fun... ports and you are done: </p><pre class="screen">% <b class="userinput"><tt>export XPSERVERLIST="localhost:33 ${XPSERVERLIST}"</tt></b></pre></div><p> - </p><div xmlns:ns33="" class="example"><a name="id2875170"></a><p class="title"><b>Example 2. Login to a remote host using slogin (assuming there are multiple + </p><div xmlns:ns30="" class="example"><a name="id2875171"></a><p class="title"><b>Example 2. Login to a remote host using slogin (assuming there are multiple Xprint servers listed in <tt class="envar">XPSERVERLIST</tt>)</b></p><p> The following small shell script will process the <tt class="envar">XPSERVERLIST</tt> env var and output the parameters for calling slogin/ssh with all Xprint server ports forwarded: @@ -1290,56 +1280,83 @@ echo "Set remote XPSERVERLIST with % export XPSERVERLIST=\"${REMOTE_XP </p><pre class="screen"><tt class="computeroutput">Log in with: % slogin -R6100:west:6033 -R6101:north:6033 -l myloginname myremotehost Set remote XPSERVERLIST with % export XPSERVERLIST="localhost:100 localhost:101 ${XPSERVERLIST}"</tt></pre><p> </p></div><p> - </p></td></tr><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq_configuration"></a><h4 class="title"><a name="faq_configuration"></a>3. Configuration</h4></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="#id2875302"> + </p></td></tr><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq_configuration"></a><h4 class="title"><a name="faq_configuration"></a>3. Configuration</h4></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="#configure_default_printer"> + How do I change the default printer used by Xprint applications ? + </a></dt><dt>Q: <a href="#configure_default_plex"> How do I change the defaults for double-sided/single-sided/etc. printing ? - </a></dt><dt>Q: <a href="#id2875490"> + </a></dt><dt>Q: <a href="#configure_default_papersize"> I am in America and I don't have any ISO A4 paper. How do I change the default paper size to 8.5 inch x 11 inch (US-Letter) ? - </a></dt><dt>Q: <a href="#id2876052"> + </a></dt><dt>Q: <a href="#configure_default_resolution"> How do I change the default printer resolution ? - </a></dt><dt>Q: <a href="#id2876382"> + </a></dt><dt>Q: <a href="#configure_default_orientation"> How do I change the default settings for "portrait"/"landscape"/"seascape" (=page orientation) ? - </a></dt><dt>Q: <a href="#id2876573"> + </a></dt><dt>Q: <a href="#how_to_prevent_usage_of_bitmap_fonts"> How can I prevent Xprt from using any bitmap(=gfx) fonts ? </a></dt><dt>Q: <a href="#configure_manual_list_of_printers"> I want only my manually added printers managed by Xprint. How can I prevent Xprt from looking-up the printer names automatically ? </a></dt><dt>Q: <a href="#configure_custom_script_to_enumerate_system_printers"> How can I specify an own program/script to enumerate the printers on my system ? - </a></dt><dt>Q: <a href="#id2876925"> + </a></dt><dt>Q: <a href="#id2877080"> Which program is used by default by Xprt to enumerate the printers on my system ? - </a></dt><dt>Q: <a href="#id2877182"> + </a></dt><dt>Q: <a href="#id2877337"> Where can I get more PostScript Type1 fonts from ? - </a></dt><dt>Q: <a href="#id2877531"> + </a></dt><dt>Q: <a href="#id2877686"> What are PMF fonts (e.g. the *.pmf fonts in ${XPCONFIGDIR}/C/print/models/%model_name%/fonts/ (or ${XPCONFIGDIR}/${LANG}/print/models/%model_name%/fonts/)) ? - </a></dt><dt>Q: <a href="#id2877610"> + </a></dt><dt>Q: <a href="#id2877773"> Can I use the fontserver ("xfs") with Xprt ? - </a></dt><dt>Q: <a href="#id2877673"> + </a></dt><dt>Q: <a href="#id2877836"> What is a "model-config" ? - </a></dt><dt>Q: <a href="#id2877784"> + </a></dt><dt>Q: <a href="#id2877947"> Where can I store the default values for printers ? - </a></dt><dt>Q: <a href="#id2877806"> + </a></dt><dt>Q: <a href="#id2877968"> How can I create my own model-config ? - </a></dt><dt>Q: <a href="#id2877827"> + </a></dt><dt>Q: <a href="#id2877990"> How can I create my own PMF "fonts" ? - </a></dt><dt>Q: <a href="#id2877869"> + </a></dt><dt>Q: <a href="#where_can_i_get_more_model_configs_from"> Where can I get more model-configs from ? - </a></dt><dt>Q: <a href="#id2877931"> + </a></dt><dt>Q: <a href="#id2878099"> If I install Xprt &co. as "root" in the default location and don't need to set ${XPCONFIGDIR} - where are my configuration files located then ? - </a></dt><dt>Q: <a href="#id2878074"> + </a></dt><dt>Q: <a href="#id2878242"> Are config files and/or the PMF fonts architecture dependent ? - </a></dt><dt>Q: <a href="#id2878143"> + </a></dt><dt>Q: <a href="#id2878311"> Can I localise my Xprint/Xprt configuration (l10n) ? - </a></dt><dt>Q: <a href="#id2878428"> + </a></dt><dt>Q: <a href="#id2878596"> Can I execute my own scripts to process the PostScript files generated by Xprt ? - </a></dt><dt>Q: <a href="#id2878635"> + </a></dt><dt>Q: <a href="#id2878803"> How can I disable "xp_ps_spooldir_tmp_Xprintjobs" / "xp_pdf_spooldir_tmp_Xprintjobs" printer targets ? - </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="id2875302"></a><a name="id2875305"></a><b>Q:</b></td><td align="left" valign="top"><p> + </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="configure_default_printer"></a><a name="id2875312"></a><b>Q:</b></td><td align="left" valign="top"><p> + How do I change the default printer used by Xprint applications ? + </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns34="" align="left" valign="top"><p> + The env variable <tt class="envar">${XPRINTER}</tt> defines the default printer used by print + applications. The syntax is either <printername> or + <printername>@<display> + + </p><div class="orderedlist"><p class="title"><b>Examples:</b></p><ol type="1"><li xmlns:ns32=""><p> +</p><pre class="screen"> + % <b class="userinput"><tt>export XPRINTER=ps003</tt></b> +</pre><p> + tells an application to look for the first printer named "ps003" on + all Xprt servers. + </p></li><li xmlns:ns33=""><p> +</p><pre class="screen"> + % <b class="userinput"><tt>export XPRINTER="hplaser19@littlecat:80"</tt></b> +</pre><p> + tells an application to look for the printer "hplaser19" on the Xprt + display "littlecat:80". + </p></li></ol></div><p> + </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note:</h3><p> + If <tt class="envar">${XPRINTER}</tt> is not set the applications will examine the values of + the <tt class="envar">${PDPRINTER}</tt>, <tt class="envar">${LPDEST}</tt>, and + <tt class="envar">${PRINTER}</tt> env vars (in that order). + </p></div><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="configure_default_plex"></a><a name="id2875440"></a><b>Q:</b></td><td align="left" valign="top"><p> How do I change the defaults for double-sided/single-sided/etc. printing ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns39="" align="left" valign="top"><p> @@ -1384,7 +1401,7 @@ Set remote XPSERVERLIST with % export XPSERVERLIST="localhost:100 localhost to view the plex settings for all printers. </p></li></ul></div><p> </p></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2875490"></a><a name="id2875493"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="configure_default_papersize"></a><a name="id2875633"></a><b>Q:</b></td><td align="left" valign="top"><p> I am in America and I don't have any ISO A4 paper. How do I change the default paper size to 8.5 inch x 11 inch (US-Letter) ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns45="" align="left" valign="top"><p> @@ -1444,7 +1461,7 @@ Set remote XPSERVERLIST with % export XPSERVERLIST="localhost:100 localhost The 'medium-source-sizes-supported='-lines have the format XXX. </p></li></ul></div><p> </p></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2876052"></a><a name="id2876055"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="configure_default_resolution"></a><a name="id2876201"></a><b>Q:</b></td><td align="left" valign="top"><p> How do I change the default printer resolution ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns51="" align="left" valign="top"><p> This is controlled via the "default-printer-resolution" attribute in the @@ -1496,7 +1513,7 @@ Set remote XPSERVERLIST with % export XPSERVERLIST="localhost:100 localhost to view the resolution settings for all printers. </p></li></ul></div><p> </p></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2876382"></a><a name="id2876385"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="configure_default_orientation"></a><a name="id2876537"></a><b>Q:</b></td><td align="left" valign="top"><p> How do I change the default settings for "portrait"/"landscape"/"seascape" (=page orientation) ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns56="" align="left" valign="top"><p> This is controlled via the "content-orientation" attribute in the @@ -1541,7 +1558,7 @@ Set remote XPSERVERLIST with % export XPSERVERLIST="localhost:100 localhost to view the orientation settings for all printers. </p></li></ul></div><p> </p></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2876573"></a><a name="id2876575"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="how_to_prevent_usage_of_bitmap_fonts"></a><a name="id2876733"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I prevent Xprt from using any bitmap(=gfx) fonts ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns62="" align="left" valign="top"><p> Do not pass any bitmap fonts with the "-fp" (=font path) argument. @@ -1587,7 +1604,7 @@ fonts.dir</tt> </p></li></ol></div></blockquote></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="configure_manual_list_of_printers"></a><a name="id2876804"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="configure_manual_list_of_printers"></a><a name="id2876959"></a><b>Q:</b></td><td align="left" valign="top"><p> I want only my manually added printers managed by Xprint. How can I prevent Xprt from looking-up the printer names automatically ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns63="" align="left" valign="top"><p> @@ -1603,13 +1620,13 @@ Printer ps003 Printer hplaser6 </pre><p> will add only the printers "ps001", ps003" and "hplaser6". - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="configure_custom_script_to_enumerate_system_printers"></a><a name="id2876884"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="configure_custom_script_to_enumerate_system_printers"></a><a name="id2877039"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I specify an own program/script to enumerate the printers on my system ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> Add "Augment_Printer_List my_script" to <tt class="filename"><tt class="envar">${XPCONFIGDIR}</tt>/C/print/Xprinters</tt> (or <tt class="filename"><tt class="envar">${XPCONFIGDIR}</tt>/<tt class="envar">${LANG</tt>}/print/Xprinters</tt>). The script must return the printer names - one per line, ASCII-only - to stdout. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2876925"></a><a name="id2876928"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877080"></a><a name="id2877083"></a><b>Q:</b></td><td align="left" valign="top"><p> Which program is used by default by Xprt to enumerate the printers on my system ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns70="" align="left" valign="top"><p> This depends on the OS: @@ -1662,7 +1679,7 @@ Printer hplaser6 printer). </p></li></ul></div><p> </p></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877182"></a><a name="id2877185"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877337"></a><a name="id2877340"></a><b>Q:</b></td><td align="left" valign="top"><p> Where can I get more PostScript Type1 fonts from ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns74="" align="left" valign="top"><p> Some sources: @@ -1721,7 +1738,7 @@ Printer hplaser6 <tt class="filename">/usr/openwin/lib/X11/fonts/Type1/</tt> </p></li></ul></div><p> </p></li></ul></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877531"></a><a name="id2877534"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877686"></a><a name="id2877689"></a><b>Q:</b></td><td align="left" valign="top"><p> What are PMF fonts (e.g. the *.pmf fonts in <tt class="filename"><tt class="envar">${XPCONFIGDIR}</tt>/C/print/models/%model_name%/fonts/</tt> (or <tt class="filename"><tt class="envar">${XPCONFIGDIR}</tt>/<tt class="envar">${LANG}</tt>/print/models/%model_name%/fonts/</tt>)) ? @@ -1732,7 +1749,7 @@ Printer hplaser6 into the printer (ROM or via font catridge etc.). The file format is identical to the PCF ("Portable Compiled Format") font format except that the bitmap data is not provided. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877610"></a><a name="id2877613"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877773"></a><a name="id2877776"></a><b>Q:</b></td><td align="left" valign="top"><p> Can I use the fontserver ("xfs") with Xprt ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> You can use Xprt with the font server ("xfs") like with any other @@ -1746,7 +1763,7 @@ Printer hplaser6 (users of xprint.mozdev.org-release <= 006 may see <a href="http://xprint.mozdev.org/bugs/show_bug.cgi?id=2092" target="_top">xprint.mozdev.org bug 2092</a> if they use "xfs"; this has been fixed in the 007 release!) - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877673"></a><a name="id2877676"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877836"></a><a name="id2877838"></a><b>Q:</b></td><td align="left" valign="top"><p> What is a "model-config" ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns75="" align="left" valign="top"><p> The term "model-config" refers to the subdirs in @@ -1769,30 +1786,30 @@ Printer hplaser6 application has selected a printer and configured it (for developers: After <tt class="function">XpSetContext</tt> has been called). </p></li></ul></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877784"></a><a name="id2877787"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877947"></a><a name="id2877950"></a><b>Q:</b></td><td align="left" valign="top"><p> Where can I store the default values for printers ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877806"></a><a name="id2877809"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877968"></a><a name="id2877972"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I create my own model-config ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877827"></a><a name="id2877830"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877990"></a><a name="id2877993"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I create my own PMF "fonts" ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - no solution yet, but <a href="http://xprint.mozdev.org/bugs/show_bug.cgi?id=2430" target="_top">xprint.mozdev.org bug 2430 ("RFE: Need tool to create PMF (printer metrics file) fonts")</a> has been filed to create a freeware tool to create such fonts. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877869"></a><a name="id2877872"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="where_can_i_get_more_model_configs_from"></a><a name="id2878042"></a><b>Q:</b></td><td align="left" valign="top"><p> Where can I get more model-configs from ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> If you miss a model-config for your printer please open a bug/RFE at - <a href="http://xprint.freedesktop.org/bugzilla/enter_bug.cgi?product=xprint&component=Server%3A%2BConfig%3A%2Bmodel-configs" target="_top"> - http://xprint.freedesktop.org/bugzilla/enter_bug.cgi?product=xprint&component=Server%3A+Config%3A+model-configs</a> + <a href="http://xprint.freedesktop.org/bugzilla/enter_bug.cgi?product=xprint&component=Server%3A%20Config%3A%20model-configs" target="_top"> + http://xprint.freedesktop.org/bugzilla/enter_bug.cgi?product=xprint&component=Server%3A%20Config%3A%20model-configs</a> (e.g. <a href="http://xprint.freedesktop.org/bugzilla/enter_bug.cgi" target="_top">http://xprint.freedesktop.org/bugzilla/enter_bug.cgi</a>, product "Xprint", component - "Server Config: model-configs"). - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2877931"></a><a name="id2877934"></a><b>Q:</b></td><td align="left" valign="top"><p> + "Server: Config: model-configs"). + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2878099"></a><a name="id2878102"></a><b>Q:</b></td><td align="left" valign="top"><p> If I install Xprt &co. as "root" in the default location and don't need to set <tt class="envar">${XPCONFIGDIR}</tt> - where are my configuration files located then ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns77="" align="left" valign="top"><p> @@ -1817,7 +1834,7 @@ Printer hplaser6 return some debug info from the binary containing the builtin XpConfig path. </p></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2878074"></a><a name="id2878077"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2878242"></a><a name="id2878246"></a><b>Q:</b></td><td align="left" valign="top"><p> Are config files and/or the PMF fonts architecture dependent ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> The PMF fonts are a variant of the PCF font format, they are @@ -1835,7 +1852,7 @@ Printer hplaser6 <tt class="envar">${XPCONFIGDIR}</tt> as read-only vendor data; admins should create copies of this tree on demand (and/or (soft-)link some files) and set <tt class="envar">${XPCONFIGDIR}</tt> to the modified config data. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2878143"></a><a name="id2878146"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2878311"></a><a name="id2878314"></a><b>Q:</b></td><td align="left" valign="top"><p> Can I localise my Xprint/Xprt configuration (l10n) ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns79="" align="left" valign="top"><p> Yes, Xprt supports localisation ("l10n") by default. Default values for @@ -1880,7 +1897,7 @@ Printer hplaser6 printers's model-config. </p></div><p> </p></li></ul></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2878428"></a><a name="id2878431"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2878596"></a><a name="id2878599"></a><b>Q:</b></td><td align="left" valign="top"><p> Can I execute my own scripts to process the PostScript files generated by Xprt ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns83="" align="left" valign="top"><p> @@ -1922,7 +1939,7 @@ Printer myscriptprinter </p></li></ol></div></blockquote></div><p> </p></li></ol></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2878635"></a><a name="id2878637"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2878803"></a><a name="id2878805"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I disable "xp_ps_spooldir_tmp_Xprintjobs" / "xp_pdf_spooldir_tmp_Xprintjobs" printer targets ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns84="" align="left" valign="top"><p> Edit <tt class="filename"><tt class="envar">${XPCONFIGDIR}</tt>/C/print/Xprinters</tt> and @@ -1936,13 +1953,13 @@ Printer myscriptprinter </p></div><p> </p></td></tr><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq_troubleshooting"></a><h4 class="title"><a name="faq_troubleshooting"></a>4. Troubleshooting</h4></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="#printout_only_covers_1_4_of_the_paper"> "Printing itself works but the printout covers only 1/4 of the paper - what am I doing wrong ?" - </a></dt><dt>Q: <a href="#id2878803"> + </a></dt><dt>Q: <a href="#id2878971"> "Printing works but I get large borders/margins..." / "[Top] margin is too small" / "Margins are wrong" / etc. - </a></dt><dt>Q: <a href="#id2878887"> + </a></dt><dt>Q: <a href="#id2879055"> Xprt refuses to start with the message "sh: lpc: command not found" on my Linux machine. What does that mean ? - </a></dt><dt>Q: <a href="#id2878978"> + </a></dt><dt>Q: <a href="#id2879146"> When the application (=client side) tries to connect to the Xprt (Xserver) side it fails with a @@ -1950,61 +1967,61 @@ Xlib: connection to "meridian:52.0" refused by server Xlib: Client is not authorized to connect to Server What does that mean ? - </a></dt><dt>Q: <a href="#id2879247"> + </a></dt><dt>Q: <a href="#id2879415"> Xprt refuses to start with the message "failed to set default font path '...' Fatal server error: could not open default font 'fixed'". What does that mean ? - </a></dt><dt>Q: <a href="#id2879345"> + </a></dt><dt>Q: <a href="#id2879513"> Just copying my fonts into a directory and adding the path to my Xprt command line didn't work - I always get "Fatal server error: could not open default font 'fixed'". What am I doing wrong ? - </a></dt><dt>Q: <a href="#id2879456"> + </a></dt><dt>Q: <a href="#id2879625"> Xprt refuses to start with the message "Fatal server error: Cannot establish any listening sockets - Make sure an X server isn't already running". What does that mean ? - </a></dt><dt>Q: <a href="#id2879485"> + </a></dt><dt>Q: <a href="#id2879653"> Xprt refuses to start with the message "Fatal server error: Failed to establish all listening sockets". What does that mean ? - </a></dt><dt>Q: <a href="#id2879530"> + </a></dt><dt>Q: <a href="#id2879698"> Xprt refuses to start with the message "Fatal server error: could not open default font 'fixed'" or "Fatal server error: could not open default cursor font 'cursor'". - </a></dt><dt>Q: <a href="#id2879557"> + </a></dt><dt>Q: <a href="#id2879727"> Xprt refuses to start with the message "Fatal server error: no screens found". What does that mean ? - </a></dt><dt>Q: <a href="#id2879848"> + </a></dt><dt>Q: <a href="#id2880016"> Xprt prints a warning like "Xp Extension: could not find config dir /usr/X11R6/lib/X11/C/print" - what does that mean ? - </a></dt><dt>Q: <a href="#id2879922"> + </a></dt><dt>Q: <a href="#id2880091"> Xprt crashes with "Fatal server error: Beziers this big not yet supported" What does that mean ? - </a></dt><dt>Q: <a href="#id2879948"> + </a></dt><dt>Q: <a href="#id2880117"> "My PS Type1 font does not work with my Xserver - how can I fix this ?" - </a></dt><dt>Q: <a href="#id2880061"> + </a></dt><dt>Q: <a href="#id2880230"> I can't get it working. I have set ${DISPLAY} correctly to point to the Xprt display and... ... What is going wrong ? - </a></dt><dt>Q: <a href="#id2880108"> + </a></dt><dt>Q: <a href="#id2880277"> When I try to print via Xprint I get the message "Fatal server error: unable to exec '/usr/bin/lp'". What is going wrong here ? - </a></dt><dt>Q: <a href="#id2880149"> + </a></dt><dt>Q: <a href="#id2880318"> The Solaris Xprt prints some error messages about PostScript fonts like "FOOBAR not found, using Courier. CMEX0123 not found, using Courier." etc. and uses "Courier" instead of these fonts... - </a></dt><dt>Q: <a href="#id2880437"> + </a></dt><dt>Q: <a href="#id2880605"> "Xprt refused to start, complaining about a missing dir (/etc/X11/xserver/C/print/ directory)... I created it by hand (empty) and started Xprt but it still does not work properly..." - </a></dt><dt>Q: <a href="#id2880492"> + </a></dt><dt>Q: <a href="#id2880661"> My Linux system already shipps with a '/usr/X11R6/bin/Xprt'-binary. Do I need the binary distribution from http://xprint.mozdev.org/ ? - </a></dt><dt>Q: <a href="#id2880576"> + </a></dt><dt>Q: <a href="#id2880745"> I am getting the error message "error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy". What does that mean ? - </a></dt><dt>Q: <a href="#id2880629"> + </a></dt><dt>Q: <a href="#id2880798"> I have modified the "HPLJ4family" [or "HPDJ1600C" etc.] printer model to work with my PostScript printer, but when I print I get empty places where some text should be - what am I doing wrong here ? - </a></dt><dt>Q: <a href="#id2880682"> + </a></dt><dt>Q: <a href="#id2880851"> Xprt outputs warning messages like: @@ -2018,7 +2035,7 @@ Xp Extension: Can't load driver XP-RASTER </a></dt><dt>Q: <a href="#bug_solaris_xprt_removes_spaces_between_words"> Printing on Solaris with Mozilla/Eclipse [or any other Xprint client] removes spaces between words. What is going wrong ? - </a></dt><dt>Q: <a href="#id2881446"> + </a></dt><dt>Q: <a href="#id2881576"> Installation of the "GISWxprint" / "GISWxprintglue" packages fails like this: # pkgadd -d /space/staging/xprint/GISWxprint.pkg pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> @@ -2026,7 +2043,7 @@ pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> </a></dt><dt>Q: <a href="#multiple_leading_blank_pages"> Printing page results in [two/three/.../16] leading blank pages, followed by a correct (but offset) page. Any idea what is going wrong ? - </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="printout_only_covers_1_4_of_the_paper"></a><a name="id2878715"></a><b>Q:</b></td><td align="left" valign="top"><p> + </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="printout_only_covers_1_4_of_the_paper"></a><a name="id2878883"></a><b>Q:</b></td><td align="left" valign="top"><p> "Printing itself works but the printout covers only 1/4 of the paper - what am I doing wrong ?" </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> This is usually an indicator for a wrong DPI setting. The default @@ -2044,7 +2061,7 @@ pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> supported by your printer ("printer-resolutions-supported" is the attribute in the "model-config" which holds the space-seperated list of DPI values which are supported by the printer). - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2878803"></a><a name="id2878806"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2878971"></a><a name="id2878974"></a><b>Q:</b></td><td align="left" valign="top"><p> "Printing works but I get large borders/margins..." / "[Top] margin is too small" / "Margins are wrong" / etc. </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns85="" align="left" valign="top"><p> @@ -2068,7 +2085,7 @@ pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> default paper size it will set no default paper size for this printer (then the application side has to make an explicit choice). </p></li></ul></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2878887"></a><a name="id2878890"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879055"></a><a name="id2879058"></a><b>Q:</b></td><td align="left" valign="top"><p> Xprt refuses to start with the message "sh: lpc: command not found" on my Linux machine. What does that mean ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns86="" align="left" valign="top"><p> @@ -2086,7 +2103,7 @@ pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> # Start Xprt ... % <b class="userinput"><tt>Xprt <your-options-come-here></tt></b> </pre><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2878978"></a><a name="id2878981"></a><b>Q:</b></td><td xmlns:ns87="" align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879146"></a><a name="id2879149"></a><b>Q:</b></td><td xmlns:ns87="" align="left" valign="top"><p> When the application (=client side) tries to connect to the Xprt (Xserver) side it fails with a </p><pre class="screen"> @@ -2149,7 +2166,7 @@ INET:mars</tt> </pre><p> </p></li></ol></div></blockquote></div><p> </p></li></ol></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879247"></a><a name="id2879249"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879415"></a><a name="id2879417"></a><b>Q:</b></td><td align="left" valign="top"><p> Xprt refuses to start with the message "failed to set default font path '...' Fatal server error: could not open default font 'fixed'". What does that mean ? @@ -2172,7 +2189,7 @@ INET:mars</tt> with the name "fixed" which references a non-existing or non-readable file </p></li></ul></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879345"></a><a name="id2879348"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879513"></a><a name="id2879516"></a><b>Q:</b></td><td align="left" valign="top"><p> Just copying my fonts into a directory and adding the path to my Xprt command line didn't work - I always get "Fatal server error: could not open default font 'fixed'". What am I doing wrong ? @@ -2190,7 +2207,7 @@ INET:mars</tt> <a href="http://packages.debian.org/stable/utils/type1inst.html" target="_top">http://packages.debian.org/stable/utils/type1inst.html</a>) or "ttmkfdir" (for TrueType fonts; see <a href="http://packages.debian.org/stable/x11/ttmkfdir.html" target="_top">http://packages.debian.org/stable/x11/ttmkfdir.html</a>). - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879456"></a><a name="id2879460"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879625"></a><a name="id2879628"></a><b>Q:</b></td><td align="left" valign="top"><p> Xprt refuses to start with the message "Fatal server error: Cannot establish any listening sockets - Make sure an X server isn't already running". What does that mean ? @@ -2198,7 +2215,7 @@ INET:mars</tt> There is already a Xserver running at the display ID you have specified to start Xprt (for example your framebuffer Xserver runs at ":0" then Xprt can't run at the same display display). - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879485"></a><a name="id2879488"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879653"></a><a name="id2879656"></a><b>Q:</b></td><td align="left" valign="top"><p> Xprt refuses to start with the message "Fatal server error: Failed to establish all listening sockets". What does that mean ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> @@ -2209,7 +2226,7 @@ INET:mars</tt> option requires to access the server <span class="emphasis"><em>always</em></span> with <hostname>:<displaynum> (see <span class="citerefentry"><span class="refentrytitle">Xserver</span>(1x)</span> manual page for the side-effects of this option). - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879530"></a><a name="id2879533"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879698"></a><a name="id2879701"></a><b>Q:</b></td><td align="left" valign="top"><p> Xprt refuses to start with the message "Fatal server error: could not open default font 'fixed'" or "Fatal server error: could not open default cursor font 'cursor'". @@ -2218,7 +2235,7 @@ INET:mars</tt> ("fixed") and one font for the cursor ("cursor"). Be sure that the font path contains these fonts. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879557"></a><a name="id2879569"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879727"></a><a name="id2879736"></a><b>Q:</b></td><td align="left" valign="top"><p> Xprt refuses to start with the message "Fatal server error: no screens found". What does that mean ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns99="" align="left" valign="top"><p><b>Cause: </b> @@ -2278,7 +2295,7 @@ ps_myscript.xp-spooler-command: /home/sanja/xprint_test/my_xprt_cat_script.sh </pre><p> </p></li></ol></div></blockquote></div><p> </p></li></ol></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879848"></a><a name="id2879850"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880016"></a><a name="id2880019"></a><b>Q:</b></td><td align="left" valign="top"><p> Xprt prints a warning like "Xp Extension: could not find config dir /usr/X11R6/lib/X11/C/print" - what does that mean ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns100="" align="left" valign="top"><p> @@ -2294,14 +2311,14 @@ ps_myscript.xp-spooler-command: /home/sanja/xprint_test/my_xprt_cat_script.sh Set the <tt class="envar">${XPCONFIGDIR}</tt> env var to the location of the Xprt configuration directory. </p></li></ul></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879922"></a><a name="id2879925"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880091"></a><a name="id2880094"></a><b>Q:</b></td><td align="left" valign="top"><p> Xprt crashes with "Fatal server error: Beziers this big not yet supported" What does that mean ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> This is a known issue in the X11R6.5.1 code. In rare cases some PostScript Type1 fonts can trigger this. See "My PS Type1 font does not work with my Xserver" ... - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2879948"></a><a name="id2879952"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880117"></a><a name="id2880120"></a><b>Q:</b></td><td align="left" valign="top"><p> "My PS Type1 font does not work with my Xserver - how can I fix this ?" </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns101="" align="left" valign="top"><p> Some PS Type1 do not work out-of-the-box with all PS Type1 font engines - @@ -2336,7 +2353,7 @@ ps_myscript.xp-spooler-command: /home/sanja/xprint_test/my_xprt_cat_script.sh type1fix.pl --ofmt=pfb --infile=$i --outfile=$(basename ${i%.pfa}.pfb) ; done</tt></b> </pre><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880061"></a><a name="id2880064"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880230"></a><a name="id2880233"></a><b>Q:</b></td><td align="left" valign="top"><p> I can't get it working. I have set <tt class="envar">${DISPLAY}</tt> correctly to point to the Xprt display and... ... What is going wrong ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> @@ -2344,7 +2361,7 @@ ps_myscript.xp-spooler-command: /home/sanja/xprint_test/my_xprt_cat_script.sh Xserver for your video card - Xprt is only for your printer(s). Applications look up Xprt servers via the <tt class="envar">${XPSERVERLIST}</tt> env var, <span class="emphasis"><em>NOT</em></span> via the <tt class="envar">${DISPLAY}</tt> env var. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880108"></a><a name="id2880111"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880277"></a><a name="id2880280"></a><b>Q:</b></td><td align="left" valign="top"><p> When I try to print via Xprint I get the message "Fatal server error: unable to exec '/usr/bin/lp'". What is going wrong here ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> @@ -2352,7 +2369,7 @@ ps_myscript.xp-spooler-command: /home/sanja/xprint_test/my_xprt_cat_script.sh could not be launched. This is usually the result when <tt class="filename">/usr/bin/lp</tt> does not exist or cannot be executed (for example, shell scripts without the +x (executable) flag etc.). - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880149"></a><a name="id2880152"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880318"></a><a name="id2880321"></a><b>Q:</b></td><td align="left" valign="top"><p> The Solaris Xprt prints some error messages about PostScript fonts like "FOOBAR not found, using Courier. CMEX0123 not found, using Courier." etc. and uses "Courier" instead of these fonts... @@ -2389,7 +2406,7 @@ ps_myscript.xp-spooler-command: /home/sanja/xprint_test/my_xprt_cat_script.sh </p></li></ol></div></blockquote></div><p> </p><p><b>References: </b> </p><div class="itemizedlist"><ul type="disc"><li><p><span class="citerefentry"><span class="refentrytitle">makepsres</span>(1)</span> manual page</p></li><li><p><a href="http://bugzilla.mozilla.org/show_bug.cgi?id=120560" target="_top">bugzilla.mozilla.org 120560 ("Solaris Xsun does not like CMEX10/CMSY10 Type1 fonts")</a></p></li><li><p><a href="http://bugzilla.mozilla.org/show_bug.cgi?id=142718" target="_top">bugzilla.mozilla.org 142718 ("Document how to get the MathML fonts to work on Solaris")</a></p></li></ul></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880437"></a><a name="id2880439"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880605"></a><a name="id2880608"></a><b>Q:</b></td><td align="left" valign="top"><p> "Xprt refused to start, complaining about a missing dir (<tt class="filename">/etc/X11/xserver/C/print/</tt> directory)... I created it by hand (empty) and started Xprt but it still does not work properly..." @@ -2403,7 +2420,7 @@ ps_myscript.xp-spooler-command: /home/sanja/xprint_test/my_xprt_cat_script.sh be able to use Xprint (however it is possible to copy the config data from another system :) BTW: Source for the configs can be found under <tt class="filename">xc/programs/Xserver/XpConfig/</tt> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880492"></a><a name="id2880495"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880661"></a><a name="id2880664"></a><b>Q:</b></td><td align="left" valign="top"><p> My Linux system already shipps with a '<tt class="filename">/usr/X11R6/bin/Xprt</tt>'-binary. Do I need the binary distribution from <a href="http://xprint.mozdev.org/" target="_top">http://xprint.mozdev.org/</a> ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns107="" align="left" valign="top"><p> @@ -2421,7 +2438,7 @@ ps_myscript.xp-spooler-command: /home/sanja/xprint_test/my_xprt_cat_script.sh "vendor string: xprint.mozdev.org" for releases >= 007, older releases (e.g. <= 006) identify itself as as "vendor string: The X.Org Group") are known to work proprtly. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880576"></a><a name="id2880579"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880745"></a><a name="id2880748"></a><b>Q:</b></td><td align="left" valign="top"><p> I am getting the error message "error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy". What does that mean ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> @@ -2435,7 +2452,7 @@ ps_myscript.xp-spooler-command: /home/sanja/xprint_test/my_xprt_cat_script.sh <a href="ftp://ftp.x.org/pub/R6.6/xc/programs/Xserver/Xext/SecurityPolicy" target="_top">ftp://ftp.x.org/pub/R6.6/xc/programs/Xserver/Xext/SecurityPolicy</a> (copy it to the matching location - but be sure that you do not overwrite any existing security policy file). - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880629"></a><a name="id2880632"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880798"></a><a name="id2880801"></a><b>Q:</b></td><td align="left" valign="top"><p> I have modified the "HPLJ4family" [or "HPDJ1600C" etc.] printer model to work with my PostScript printer, but when I print I get empty places where some text should be - what am I doing wrong here ? @@ -2453,7 +2470,7 @@ ps_myscript.xp-spooler-command: /home/sanja/xprint_test/my_xprt_cat_script.sh customized own version of this model) - or look if there is a model-config beginning with the same name and ending with "PS" (e.g. "HPLJ4family-PS"). - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880682"></a><a name="id2880685"></a><b>Q:</b></td><td xmlns:ns108="" align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2880851"></a><a name="id2880854"></a><b>Q:</b></td><td xmlns:ns108="" align="left" valign="top"><p> Xprt outputs warning messages like: </p><pre class="screen"> <tt class="computeroutput"> @@ -2499,7 +2516,7 @@ Xp Extension: Can't load driver XP-RASTER Workaround: Start a 2nd instance of Xprt which handles the other drivers which do not fit into the first instance. </p></li></ol></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="bug_solaris_xprt_removes_spaces_between_words"></a><a name="id2880868"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="bug_solaris_xprt_removes_spaces_between_words"></a><a name="id2881037"></a><b>Q:</b></td><td align="left" valign="top"><p> Printing on Solaris with Mozilla/Eclipse [or any other Xprint client] removes spaces between words. What is going wrong ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns111="" align="left" valign="top"><p><b>Cause: </b> @@ -2515,7 +2532,7 @@ Xp Extension: Can't load driver XP-RASTER </p><p><b>Solution: </b> Solution: Please apply the following OS patches from <a href="http://sunsolve.sun.com/" target="_top">http://sunsolve.sun.com/</a>: - </p><div class="table"><a name="id2880997"></a><p class="title"><b>Table 1. + </p><div class="table"><a name="id2881166"></a><p class="title"><b>Table 1. Solaris patches to fix <a href="http://xprint.mozdev.org/bugs/show_bug.cgi?id=3353" target="_top">xprint.mozdev.org bug 3353 ("Solaris Xprt looses space when rendering with '-monotype-arial-*'-fonts")</a> </b></p><table summary=" @@ -2551,7 +2568,7 @@ Xp Extension: Can't load driver XP-RASTER inaccessible for printing since many of them only employ MonoType fonts. </p></div><p> </p></li></ul></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2881446"></a><a name="id2881449"></a><b>Q:</b></td><td xmlns:ns113="" align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2881576"></a><a name="id2881616"></a><b>Q:</b></td><td xmlns:ns113="" align="left" valign="top"><p> Installation of the "GISWxprint" / "GISWxprintglue" packages fails like this: </p><pre class="screen"># <b class="userinput"><tt>pkgadd -d /space/staging/xprint/GISWxprint.pkg</tt></b> <tt class="computeroutput">pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz></tt></pre><p> @@ -2561,7 +2578,7 @@ Xp Extension: Can't load driver XP-RASTER Please apply the patches listed in the "Installation Requirements" section in the README for the <a href="http://xprint.mozdev.org/lxr/http/source/xprint/src/xprint_main/xc/packager/solaris/GISWxprint/README" target="_top">GISWxprint</a> / <a href="http://xprint.mozdev.org/lxr/http/source/xprint/src/xprint_main/xc/packager/solaris/GISWxprintglue/README" target="_top">GISWxprintglue</a> package. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="multiple_leading_blank_pages"></a><a name="id2881537"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="multiple_leading_blank_pages"></a><a name="id2881707"></a><b>Q:</b></td><td align="left" valign="top"><p> Printing page results in [two/three/.../16] leading blank pages, followed by a correct (but offset) page. Any idea what is going wrong ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns114="" align="left" valign="top"><p> @@ -2582,77 +2599,77 @@ Xp Extension: Can't load driver XP-RASTER If you use <tt class="filename">/etc/foomatic/filter.conf</tt>, disable ps_accounting there. </p><p><b>References: </b> </p><div class="itemizedlist"><ul type="disc"><li><p><a href="http://sdb.suse.de/en/sdb/html/jsmeix_print-81-cups-formfeed.html" target="_top">SuSE support database entry SDB-2002/11/jsmeix_print-81-cups-formfeed ("Blank Pages When Printing with CUPS")</a></p></li><li><p><a href="http://xprint.mozdev.org/bugs/show_bug.cgi?id=4181" target="_top">xprint.mozdev.org bug 4181 ("Two empty pages printed first")</a></p></li><li><p><a href="http://bugzilla.mozilla.org/show_bug.cgi?id=180602#c7" target="_top">bugzilla.mozilla.org bug 180602 comment #7 ("Printing page results in 16 leading blank pages, followed by a correct, but offset, page")</a></p></li></ul></div><p> - </p></td></tr><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq_development"></a><h4 class="title"><a name="faq_development"></a>5. Software development</h4></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="#id2881714"> + </p></td></tr><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq_development"></a><h4 class="title"><a name="faq_development"></a>5. Software development</h4></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="#id2881884"> How does the X print server (Xprt) and the Xlib client side differ from the "normal" video Xserver/video client side ? - </a></dt><dt>Q: <a href="#id2882163"> + </a></dt><dt>Q: <a href="#id2882332"> How can I get the printable area (e.g. the portion of the page on which the printer is physically capable of placing ink) of the paper after I have chosen a paper ? - </a></dt><dt>Q: <a href="#id2882212"> + </a></dt><dt>Q: <a href="#id2882381"> Do "offscreen" pixmaps work on Xprt ? - </a></dt><dt>Q: <a href="#id2882234"> + </a></dt><dt>Q: <a href="#id2882403"> How can I get the DPI value for the current Xprt server ? Can I use the values from "xdpyinfo" ? - </a></dt><dt>Q: <a href="#id2882304"> + </a></dt><dt>Q: <a href="#why_does_xprt_not_support_mitshm"> Why does Xprt not offer the MIT-SHM protocol extension ? - </a></dt><dt>Q: <a href="#id2882402"> + </a></dt><dt>Q: <a href="#id2882576"> Does Xprint/Xprt support font rotation ? - </a></dt><dt>Q: <a href="#id2882521"> + </a></dt><dt>Q: <a href="#id2882696"> When I render something on my window and call XpStartPage all the rendered stuff is gone, I only get a white, empty paper. What is going wrong here ? - </a></dt><dt>Q: <a href="#id2882617"> + </a></dt><dt>Q: <a href="#id2882791"> What is XpStartDoc for ? - </a></dt><dt>Q: <a href="#id2882707"> + </a></dt><dt>Q: <a href="#id2882881"> How does the XLFD for printer-builtin fonts look like ? / How can I find/identify printer-builtin fonts ? - </a></dt><dt>Q: <a href="#id2882780"> + </a></dt><dt>Q: <a href="#id2882955"> How can I scale images using the Xprint API ? - </a></dt><dt>Q: <a href="#id2882801"> + </a></dt><dt>Q: <a href="#id2882976"> Can I pass my own PostScript code (fragment) to the print spooler instead of letting Xprt's PostScript DDX generate it ? - </a></dt><dt>Q: <a href="#id2882828"> + </a></dt><dt>Q: <a href="#id2883002"> When I use XpPutDocumentData I get a BadValue X protocol error. Any idea what am I doing wrong ? - </a></dt><dt>Q: <a href="#id2882868"> + </a></dt><dt>Q: <a href="#id2883043"> How do I use the XprintUtil library ? </a></dt><dt>Q: <a href="#why_does_xgetimage_not_work"> Why does the XGetImage not work for Xprt ? - </a></dt><dt>Q: <a href="#id2883025"> + </a></dt><dt>Q: <a href="#id2883200"> How to print with Xt/Athena widgets ? - </a></dt><dt>Q: <a href="#id2883118"> + </a></dt><dt>Q: <a href="#id2883293"> How to print with Xt/Motif widgets ? - </a></dt><dt>Q: <a href="#id2883143"> + </a></dt><dt>Q: <a href="#id2883318"> What are the differences between normal display and Xprint display ? - </a></dt><dt>Q: <a href="#id2883165"> + </a></dt><dt>Q: <a href="#id2883340"> How do I scale images ? - </a></dt><dt>Q: <a href="#id2883186"> + </a></dt><dt>Q: <a href="#id2883361"> libXp Image scaling vs. max. request size ? - </a></dt><dt>Q: <a href="#id2883208"> + </a></dt><dt>Q: <a href="#id2883383"> How can I use XprintUtils ? - </a></dt><dt>Q: <a href="#id2883230"> + </a></dt><dt>Q: <a href="#id2883405"> How do I calculate the DPI values for Xprt DDX screens ? - </a></dt><dt>Q: <a href="#id2883252"> + </a></dt><dt>Q: <a href="#id2883427"> How do I find scaleable fonts ? - </a></dt><dt>Q: <a href="#id2883274"> + </a></dt><dt>Q: <a href="#id2883449"> How do I find printer-builtin fonts ? - </a></dt><dt>Q: <a href="#id2883295"> + </a></dt><dt>Q: <a href="#id2883470"> The XLFD for Printer-builtin fonts look like bitmap fonts - is that bad ? - </a></dt><dt>Q: <a href="#id2883326"> + </a></dt><dt>Q: <a href="#id2883501"> When printing using the XawPrintShell/XmPrintShell print shells my PostScript output is always corrupt. What am I doing wrong ? - </a></dt><dt>Q: <a href="#id2883394"> + </a></dt><dt>Q: <a href="#id2883569"> When printing using the XawPrintShell/XmPrintShell print shells I always get a grey/dithered background on paper. Any idea how to change that to "white" ? - </a></dt><dt>Q: <a href="#id2883430"> + </a></dt><dt>Q: <a href="#id2883605"> Are there any caveats/suggestions when printing via Xt/Motif2 widgets ? </a></dt><dt>Q: <a href="#changing_page_attributes_on_the_fly_when_using_printshells"> Can I change the paper size/resolution/page orientation/etc. when printing using the XawPrintShell/XmPrintShell print shells ? </a></dt><dt>Q: <a href="#examples_for_using_glx"> Where can I find an example how to print with Xprint using the OpenGL/GLX API ? - </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="id2881714"></a><a name="id2881717"></a><b>Q:</b></td><td align="left" valign="top"><p> + </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="id2881884"></a><a name="id2881887"></a><b>Q:</b></td><td align="left" valign="top"><p> How does the X print server (Xprt) and the Xlib client side differ from the "normal" video Xserver/video client side ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns115="" align="left" valign="top"><p> @@ -2756,7 +2773,7 @@ Xp Extension: Can't load driver XP-RASTER (for example the RASTER DDX) does not support scaling. In that case the application has to scale the image manually. </p></li></ol></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882163"></a><a name="id2882166"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882332"></a><a name="id2882335"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I get the printable area (e.g. the portion of the page on which the printer is physically capable of placing ink) of the paper after I have chosen a paper ? @@ -2765,11 +2782,11 @@ Xp Extension: Can't load driver XP-RASTER about the current page geometry. Note that the page geometry changes when the page attributes such as <tt class="literal">content-orientation</tt> or <tt class="literal">default-medium</tt> are changed by the application. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882212"></a><a name="id2882215"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882381"></a><a name="id2882384"></a><b>Q:</b></td><td align="left" valign="top"><p> Do "offscreen" pixmaps work on Xprt ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> Yes, "offscreen" pixmaps are working on Xprt. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882234"></a><a name="id2882237"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882403"></a><a name="id2882406"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I get the DPI value for the current Xprt server ? Can I use the values from "xdpyinfo" ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> @@ -2779,7 +2796,7 @@ Xp Extension: Can't load driver XP-RASTER resolution, see <tt class="function">XpuGetResolutionList</tt>, <tt class="function">XpuFreeResolutionList</tt>, <tt class="function">XpuGetResolution</tt>, <tt class="function">XpuSetPageResolution</tt>, <tt class="function">XpuSetDocResolution</tt> and <tt class="function">XpuFindResolution</tt>). - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882304"></a><a name="id2882307"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="why_does_xprt_not_support_mitshm"></a><a name="id2882484"></a><b>Q:</b></td><td align="left" valign="top"><p> Why does Xprt not offer the MIT-SHM protocol extension ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> The MIT-SHM protocol extension is partially (<tt class="function">XShmPutImage</tt> would work, @@ -2791,7 +2808,7 @@ Xp Extension: Can't load driver XP-RASTER <a href="#why_does_xgetimage_not_work"><tt class="function">XGetImage</tt> does not work for those DDXs</a> - and functions such as <tt class="function">XShmCreatePixmap</tt> would be useless since drawing operations on the shared pixmap would not be applied to the application (e.g. Xprint client) as well. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882402"></a><a name="id2882404"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882576"></a><a name="id2882578"></a><b>Q:</b></td><td align="left" valign="top"><p> Does Xprint/Xprt support font rotation ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns118="" align="left" valign="top"><p> Yes - Xprint/Xprt supports font rotation at any angle via the matrix XLFD @@ -2823,7 +2840,7 @@ Xp Extension: Can't load driver XP-RASTER </p><p> Future versions of Xprint will support the <a href="http://stsf.sourceforge.net/" target="_top">STSF</a> font API which supports matrix transformations as well. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882521"></a><a name="id2882524"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882696"></a><a name="id2882699"></a><b>Q:</b></td><td align="left" valign="top"><p> When I render something on my window and call <tt class="function">XpStartPage</tt> all the rendered stuff is gone, I only get a white, empty paper. What is going wrong here ? @@ -2841,7 +2858,7 @@ Xp Extension: Can't load driver XP-RASTER the "paper" drawable (after calling <tt class="function">XpStartPage</tt>) - <tt class="function">XpStartpage</tt> only affects the window passed as parameter. </p></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882617"></a><a name="id2882620"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882791"></a><a name="id2882794"></a><b>Q:</b></td><td align="left" valign="top"><p> What is <tt class="function">XpStartDoc</tt> for ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> ISO 10175 and some advanced printing systems by IBM and HP had set forth @@ -2858,7 +2875,7 @@ Xp Extension: Can't load driver XP-RASTER Because most applications of the day are only printing one document per job, <tt class="function">XpStartPage</tt> was designed that it generates a "synthetic" <tt class="function">XpStartDoc</tt> if it has not been called yet. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882707"></a><a name="id2882710"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882881"></a><a name="id2882884"></a><b>Q:</b></td><td align="left" valign="top"><p> How does the XLFD for printer-builtin fonts look like ? / How can I find/identify printer-builtin fonts ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> There is no special XLFD scheme for printer-builtin fonts. @@ -2869,26 +2886,26 @@ Xp Extension: Can't load driver XP-RASTER thaht <tt class="function">XListFonts</tt> and co. return both printer-builtin and normal fonts. Removing <tt class="literal">xp-list-internal-printer-fonts</tt> will make printer-builtin fonts disappear, removing <tt class="literal">xp-list-glyph-fonts</tt> will make normal glyph fonts disappear from font lists. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882780"></a><a name="id2882783"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882955"></a><a name="id2882957"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I scale images using the Xprint API ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882801"></a><a name="id2882804"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882976"></a><a name="id2882979"></a><b>Q:</b></td><td align="left" valign="top"><p> Can I pass my own PostScript code (fragment) to the print spooler instead of letting Xprt's PostScript DDX generate it ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882828"></a><a name="id2882831"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883002"></a><a name="id2883006"></a><b>Q:</b></td><td align="left" valign="top"><p> When I use <tt class="function">XpPutDocumentData</tt> I get a <tt class="literal">BadValue</tt> X protocol error. Any idea what am I doing wrong ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2882868"></a><a name="id2882871"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883043"></a><a name="id2883046"></a><b>Q:</b></td><td align="left" valign="top"><p> How do I use the XprintUtil library ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="why_does_xgetimage_not_work"></a><a name="id2882899"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="why_does_xgetimage_not_work"></a><a name="id2883074"></a><b>Q:</b></td><td align="left" valign="top"><p> Why does the <tt class="function">XGetImage</tt> not work for Xprt ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns120="" align="left" valign="top"><p> There are at least three reasons why <tt class="function">XGetImage</tt> does not work for Xprt: @@ -2913,7 +2930,7 @@ Xp Extension: Can't load driver XP-RASTER (which means: A <tt class="function">XGetImage</tt> implementation would return image data but glyphs rendered using the printer-builtin fonts would be missing). </p></li></ol></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883025"></a><a name="id2883028"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883200"></a><a name="id2883203"></a><b>Q:</b></td><td align="left" valign="top"><p> How to print with Xt/Athena widgets ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns121="" align="left" valign="top"><p> There are two examples in the Xprint.org and X11R6.7.1 source trees which demonstrate how to use Xprint using @@ -2928,40 +2945,40 @@ Xp Extension: Can't load driver XP-RASTER <tt class="function">XmPrintShell</tt> should be used since this is the easier way to add print support to an Athena application). </p></li></ol></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883118"></a><a name="id2883121"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883293"></a><a name="id2883296"></a><b>Q:</b></td><td align="left" valign="top"><p> How to print with Xt/Motif widgets ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> The Xprint.org source tree contains the xpxmhelloworld (xc/programs/xphelloworld/xpxmhelloworld/) application to demonstrate how to print using the Motif2 toolkit. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883143"></a><a name="id2883146"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883318"></a><a name="id2883321"></a><b>Q:</b></td><td align="left" valign="top"><p> What are the differences between normal display and Xprint display ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883165"></a><a name="id2883168"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883340"></a><a name="id2883343"></a><b>Q:</b></td><td align="left" valign="top"><p> How do I scale images ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883186"></a><a name="id2883190"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883361"></a><a name="id2883364"></a><b>Q:</b></td><td align="left" valign="top"><p> libXp Image scaling vs. max. request size ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883208"></a><a name="id2883211"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883383"></a><a name="id2883386"></a><b>Q:</b></td><td align="left" valign="top"><p> How can I use XprintUtils ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883230"></a><a name="id2883233"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883405"></a><a name="id2883408"></a><b>Q:</b></td><td align="left" valign="top"><p> How do I calculate the DPI values for Xprt DDX screens ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883252"></a><a name="id2883255"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883427"></a><a name="id2883430"></a><b>Q:</b></td><td align="left" valign="top"><p> How do I find scaleable fonts ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883274"></a><a name="id2883277"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883449"></a><a name="id2883452"></a><b>Q:</b></td><td align="left" valign="top"><p> How do I find printer-builtin fonts ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883295"></a><a name="id2883298"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883470"></a><a name="id2883473"></a><b>Q:</b></td><td align="left" valign="top"><p> The XLFD for Printer-builtin fonts look like bitmap fonts - is that bad ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> No, this is not "bad". The XLFD of a printer-builtin font only looks like a bitmap font since @@ -2969,7 +2986,7 @@ Xp Extension: Can't load driver XP-RASTER AFAIK specifies the resolution which was used for generating the metrics) - however this does not change the fact that the printer-builtin fonts are outline scaleable fonts these fonts reside in the printer's ROM). - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883326"></a><a name="id2883329"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883501"></a><a name="id2883504"></a><b>Q:</b></td><td align="left" valign="top"><p> When printing using the <tt class="function">XawPrintShell</tt>/<tt class="function">XmPrintShell</tt> print shells my PostScript output is always corrupt. What am I doing wrong ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns122="" align="left" valign="top"><p> @@ -2982,13 +2999,13 @@ Xp Extension: Can't load driver XP-RASTER XtSetArg(args[n], XmNcursorPositionVisible, False); ... </pre></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883394"></a><a name="id2883397"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883569"></a><a name="id2883572"></a><b>Q:</b></td><td align="left" valign="top"><p> When printing using the <tt class="function">XawPrintShell</tt>/<tt class="function">XmPrintShell</tt> print shells I always get a grey/dithered background on paper. Any idea how to change that to "white" ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> XXX - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883430"></a><a name="id2883433"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2883605"></a><a name="id2883608"></a><b>Q:</b></td><td align="left" valign="top"><p> Are there any caveats/suggestions when printing via Xt/Motif2 widgets ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns127="" align="left" valign="top"><p> There are a couple of Xt resources which may likely differ from the normal values (e.g. those values @@ -3037,7 +3054,7 @@ XtSetArg(args[n], XmNcursorPositionVisible, False); a margin either. </p></dd></dl></div><p> </p></dd></dl></div><p> - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="changing_page_attributes_on_the_fly_when_using_printshells"></a><a name="id2883996"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="changing_page_attributes_on_the_fly_when_using_printshells"></a><a name="id2884171"></a><b>Q:</b></td><td align="left" valign="top"><p> Can I change the paper size/resolution/page orientation/etc. when printing using the <tt class="function">XawPrintShell</tt>/<tt class="function">XmPrintShell</tt> print shells ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> @@ -3052,51 +3069,51 @@ XtSetArg(args[n], XmNcursorPositionVisible, False); <tt class="literal">XmNminX</tt>, <tt class="literal">XmNminY</tt>, <tt class="literal">XmNmaxX</tt> and <tt class="literal">XmNmaxX</tt> (<tt class="function">XmPrintShell</tt>) are updated based on events send by the Xp Extension and then the print shell is resized based on the new values (<tt class="function">XawPrintShell</tt> is slightly more flexible since the size mode can be defined using the <tt class="literal">XawNlayoutMode</tt> attribute)). - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="examples_for_using_glx"></a><a name="id2884161"></a><b>Q:</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="examples_for_using_glx"></a><a name="id2884336"></a><b>Q:</b></td><td align="left" valign="top"><p> Where can I find an example how to print with Xprint using the OpenGL/GLX API ? </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p> In Xorg release 6.7.1 Xprint support was added to the GLX demo application "glxgears" (<a href="http://xprint.freedesktop.org/cgi-bin/viewcvs.cgi/xorg/xc/programs/glxgears/" target="_top">xc/programs/Xserver/glxgears/</a>). - </p></td></tr></tbody></table></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="knownbugs"></a>Known bugs</h2></div></div><div></div></div><div class="qandaset"><dl><dt></dt><dd><dl><dt>Problem <a href="#id2884218"> + </p></td></tr></tbody></table></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="knownbugs"></a>Known bugs</h2></div></div><div></div></div><div class="qandaset"><dl><dt></dt><dd><dl><dt>Problem <a href="#id2884394"> Xprt build from Xfree86 sources is completely broken and unuseable. - </a></dt><dt>Problem <a href="#id2884274"> + </a></dt><dt>Problem <a href="#id2884449"> The code which matches XLFD names to PS Type1 font names is case-sensitive in Xprts build from X.org X11R6.5.1/X11R6.6 and the current Solaris Xprt. This may cause that the PS DDX refuses to download PS Type1 fonts. - </a></dt><dt>Problem <a href="#id2884310"> + </a></dt><dt>Problem <a href="#id2884485"> Xprt build from X11R6.5.1/X11R6.6 sources and Solaris's version of Xprt can only download PFA (PS ASCII font) fonts which ends of the ending "*.pfa". - </a></dt><dt>Problem <a href="#id2884362"> + </a></dt><dt>Problem <a href="#id2884537"> There is an issue how the Linux and Solaris Xprt handles the "copy-count" of a print job. The result may be that a job with n copies of a document end-up in n jobs with n copies (usually equals to n^2 copies). - </a></dt></dl></dd></dl><table border="0" summary="Q and A Set"><col align="left" width="1%"><tbody><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Problem <a href="#id2884218"> + </a></dt></dl></dd></dl><table border="0" summary="Q and A Set"><col align="left" width="1%"><tbody><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Problem <a href="#id2884394"> Xprt build from Xfree86 sources is completely broken and unuseable. - </a></dt><dt>Problem <a href="#id2884274"> + </a></dt><dt>Problem <a href="#id2884449"> The code which matches XLFD names to PS Type1 font names is case-sensitive in Xprts build from X.org X11R6.5.1/X11R6.6 and the current Solaris Xprt. This may cause that the PS DDX refuses to download PS Type1 fonts. - </a></dt><dt>Problem <a href="#id2884310"> + </a></dt><dt>Problem <a href="#id2884485"> Xprt build from X11R6.5.1/X11R6.6 sources and Solaris's version of Xprt can only download PFA (PS ASCII font) fonts which ends of the ending "*.pfa". - </a></dt><dt>Problem <a href="#id2884362"> + </a></dt><dt>Problem <a href="#id2884537"> There is an issue how the Linux and Solaris Xprt handles the "copy-count" of a print job. The result may be that a job with n copies of a document end-up in n jobs with n copies (usually equals to n^2 copies). - </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="id2884218"></a><a name="id2884221"></a><b>Problem</b></td><td align="left" valign="top"><p> + </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="id2884394"></a><a name="id2884397"></a><b>Problem</b></td><td align="left" valign="top"><p> Xprt build from Xfree86 sources is completely broken and unuseable. </p></td></tr><tr class="answer"><td align="left" valign="top"><b>Solution</b></td><td align="left" valign="top"><p> Build Xprt from the CVS tree at <a href="http://xprint.mozdev.org/" target="_top">http://xprint.mozdev.org/</a> or the X.org X11R6.5.1 sources (note that the client side Xprint extension library ("<tt class="filename">libXp.so</tt>") from Xfree86 is not broken and do not need to be replaced). - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2884274"></a><a name="id2884277"></a><b>Problem</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2884449"></a><a name="id2884452"></a><b>Problem</b></td><td align="left" valign="top"><p> The code which matches XLFD names to PS Type1 font names is case-sensitive in Xprts build from X.org X11R6.5.1/X11R6.6 and the current Solaris Xprt. This may cause that the PS DDX refuses to @@ -3104,7 +3121,7 @@ XtSetArg(args[n], XmNcursorPositionVisible, False); </p></td></tr><tr class="answer"><td align="left" valign="top"><b>Solution</b></td><td align="left" valign="top"><p> Patch available, I am looking for a way to get the patch into the X11 and Solaris source trees... - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2884310"></a><a name="id2884313"></a><b>Problem</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2884485"></a><a name="id2884488"></a><b>Problem</b></td><td align="left" valign="top"><p> Xprt build from X11R6.5.1/X11R6.6 sources and Solaris's version of Xprt can only download PFA (PS ASCII font) fonts which ends of the ending "*.pfa". @@ -3114,7 +3131,7 @@ XtSetArg(args[n], XmNcursorPositionVisible, False); I am looking for a way to get the patch into the X11 and Solaris source trees (the fixed version can download both PFA/PFB fonts in PFA format and even handles non-standard file extensions). - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2884362"></a><a name="id2884365"></a><b>Problem</b></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2884537"></a><a name="id2884540"></a><b>Problem</b></td><td align="left" valign="top"><p> There is an issue how the Linux and Solaris Xprt handles the "copy-count" of a print job. The result may be that a job with n copies of a document end-up in n jobs with n copies (usually equals diff --git a/hardcopy/XPRINT/Xprint_FAQ.txt b/hardcopy/XPRINT/Xprint_FAQ.txt index 4069199..bfe8e2e 100644 --- a/hardcopy/XPRINT/Xprint_FAQ.txt +++ b/hardcopy/XPRINT/Xprint_FAQ.txt @@ -8,7 +8,7 @@ Xprint Frequently Asked Questions Version: 0.9.1 - Last-Modified: 2004/05/16 08:15:16 + Last-Modified: 2004/06/14 08:15:16 Maintained-by: Roland Mainz <[1]roland.mainz@nrubsig.org> @@ -118,260 +118,263 @@ Frequently Asked Questions with Answers 3. [46]Configuration - Q: [47]How do I change the defaults for + Q: [47]How do I change the default printer used by Xprint + applications ? + + Q: [48]How do I change the defaults for double-sided/single-sided/etc. printing ? - Q: [48]I am in America and I don't have any ISO A4 paper. How do + Q: [49]I am in America and I don't have any ISO A4 paper. How do I change the default paper size to 8.5 inch x 11 inch (US-Letter) ? - Q: [49]How do I change the default printer resolution ? - Q: [50]How do I change the default settings for + Q: [50]How do I change the default printer resolution ? + Q: [51]How do I change the default settings for "portrait"/"landscape"/"seascape" (=page orientation) ? - Q: [51]How can I prevent Xprt from using any bitmap(=gfx) fonts ? + Q: [52]How can I prevent Xprt from using any bitmap(=gfx) fonts ? - Q: [52]I want only my manually added printers managed by Xprint. + Q: [53]I want only my manually added printers managed by Xprint. How can I prevent Xprt from looking-up the printer names automatically ? - Q: [53]How can I specify an own program/script to enumerate the + Q: [54]How can I specify an own program/script to enumerate the printers on my system ? - Q: [54]Which program is used by default by Xprt to enumerate the + Q: [55]Which program is used by default by Xprt to enumerate the printers on my system ? - Q: [55]Where can I get more PostScript Type1 fonts from ? - Q: [56]What are PMF fonts (e.g. the *.pmf fonts in + Q: [56]Where can I get more PostScript Type1 fonts from ? + Q: [57]What are PMF fonts (e.g. the *.pmf fonts in ${XPCONFIGDIR}/C/print/models/%model_name%/fonts/ (or ${XPCONFIGDIR}/${LANG}/print/models/%model_name%/fonts/)) ? - Q: [57]Can I use the fontserver ("xfs") with Xprt ? - Q: [58]What is a "model-config" ? - Q: [59]Where can I store the default values for printers ? - Q: [60]How can I create my own model-config ? - Q: [61]How can I create my own PMF "fonts" ? - Q: [62]Where can I get more model-configs from ? - Q: [63]If I install Xprt &co. as "root" in the default location + Q: [58]Can I use the fontserver ("xfs") with Xprt ? + Q: [59]What is a "model-config" ? + Q: [60]Where can I store the default values for printers ? + Q: [61]How can I create my own model-config ? + Q: [62]How can I create my own PMF "fonts" ? + Q: [63]Where can I get more model-configs from ? + Q: [64]If I install Xprt &co. as "root" in the default location and don't need to set ${XPCONFIGDIR} - where are my configuration files located then ? - Q: [64]Are config files and/or the PMF fonts architecture + Q: [65]Are config files and/or the PMF fonts architecture dependent ? - Q: [65]Can I localise my Xprint/Xprt configuration (l10n) ? - Q: [66]Can I execute my own scripts to process the PostScript + Q: [66]Can I localise my Xprint/Xprt configuration (l10n) ? + Q: [67]Can I execute my own scripts to process the PostScript files generated by Xprt ? - Q: [67]How can I disable "xp_ps_spooldir_tmp_Xprintjobs" / + Q: [68]How can I disable "xp_ps_spooldir_tmp_Xprintjobs" / "xp_pdf_spooldir_tmp_Xprintjobs" printer targets ? - 4. [68]Troubleshooting + 4. [69]Troubleshooting - Q: [69]"Printing itself works but the printout covers only 1/4 of + Q: [70]"Printing itself works but the printout covers only 1/4 of the paper - what am I doing wrong ?" - Q: [70]"Printing works but I get large borders/margins..." / + Q: [71]"Printing works but I get large borders/margins..." / "[Top] margin is too small" / "Margins are wrong" / etc. - Q: [71]Xprt refuses to start with the message "sh: lpc: command + Q: [72]Xprt refuses to start with the message "sh: lpc: command not found" on my Linux machine. What does that mean ? - Q: [72]When the application (=client side) tries to connect to + Q: [73]When the application (=client side) tries to connect to the Xprt (Xserver) side it fails with a Xlib: connection to "meridian:52.0" refused by server Xlib: Client is not authorized to connect to Server What does that mean ? - Q: [73]Xprt refuses to start with the message "failed to set + Q: [74]Xprt refuses to start with the message "failed to set default font path '...' Fatal server error: could not open default font 'fixed'". What does that mean ? - Q: [74]Just copying my fonts into a directory and adding the path + Q: [75]Just copying my fonts into a directory and adding the path to my Xprt command line didn't work - I always get "Fatal server error: could not open default font 'fixed'". What am I doing wrong ? - Q: [75]Xprt refuses to start with the message "Fatal server + Q: [76]Xprt refuses to start with the message "Fatal server error: Cannot establish any listening sockets - Make sure an X server isn't already running". What does that mean ? - Q: [76]Xprt refuses to start with the message "Fatal server + Q: [77]Xprt refuses to start with the message "Fatal server error: Failed to establish all listening sockets". What does that mean ? - Q: [77]Xprt refuses to start with the message "Fatal server + Q: [78]Xprt refuses to start with the message "Fatal server error: could not open default font 'fixed'" or "Fatal server error: could not open default cursor font 'cursor'". - Q: [78]Xprt refuses to start with the message "Fatal server + Q: [79]Xprt refuses to start with the message "Fatal server error: no screens found". What does that mean ? - Q: [79]Xprt prints a warning like "Xp Extension: could not find + Q: [80]Xprt prints a warning like "Xp Extension: could not find config dir /usr/X11R6/lib/X11/C/print" - what does that mean ? - Q: [80]Xprt crashes with "Fatal server error: Beziers this big + Q: [81]Xprt crashes with "Fatal server error: Beziers this big not yet supported" What does that mean ? - Q: [81]"My PS Type1 font does not work with my Xserver - how can + Q: [82]"My PS Type1 font does not work with my Xserver - how can I fix this ?" - Q: [82]I can't get it working. I have set ${DISPLAY} correctly to + Q: [83]I can't get it working. I have set ${DISPLAY} correctly to point to the Xprt display and... ... What is going wrong ? - Q: [83]When I try to print via Xprint I get the message "Fatal + Q: [84]When I try to print via Xprint I get the message "Fatal server error: unable to exec '/usr/bin/lp'". What is going wrong here ? - Q: [84]The Solaris Xprt prints some error messages about + Q: [85]The Solaris Xprt prints some error messages about PostScript fonts like "FOOBAR not found, using Courier. CMEX0123 not found, using Courier." etc. and uses "Courier" instead of these fonts... - Q: [85]"Xprt refused to start, complaining about a missing dir + Q: [86]"Xprt refused to start, complaining about a missing dir (/etc/X11/xserver/C/print/ directory)... I created it by hand (empty) and started Xprt but it still does not work properly..." - Q: [86]My Linux system already shipps with a + Q: [87]My Linux system already shipps with a '/usr/X11R6/bin/Xprt'-binary. Do I need the binary distribution from http://xprint.mozdev.org/ ? - Q: [87]I am getting the error message "error opening security + Q: [88]I am getting the error message "error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy". What does that mean ? - Q: [88]I have modified the "HPLJ4family" [or "HPDJ1600C" etc.] + Q: [89]I have modified the "HPLJ4family" [or "HPDJ1600C" etc.] printer model to work with my PostScript printer, but when I print I get empty places where some text should be - what am I doing wrong here ? - Q: [89]Xprt outputs warning messages like: Xp Extension: Can't + Q: [90]Xprt outputs warning messages like: Xp Extension: Can't load driver XP-PCL-MONO init function missing Xp Extension: Can't load driver XP-RASTER init function missing What does that mean ? - Q: [90]Printing on Solaris with Mozilla/Eclipse [or any other + Q: [91]Printing on Solaris with Mozilla/Eclipse [or any other Xprint client] removes spaces between words. What is going wrong ? - Q: [91]Installation of the "GISWxprint" / "GISWxprintglue" + Q: [92]Installation of the "GISWxprint" / "GISWxprintglue" packages fails like this: # pkgadd -d /space/staging/xprint/GISWxprint.pkg pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> Any idea what I am doing wrong ? - Q: [92]Printing page results in [two/three/.../16] leading blank + Q: [93]Printing page results in [two/three/.../16] leading blank pages, followed by a correct (but offset) page. Any idea what is going wrong ? - 5. [93]Software development + 5. [94]Software development - Q: [94]How does the X print server (Xprt) and the Xlib client + Q: [95]How does the X print server (Xprt) and the Xlib client side differ from the "normal" video Xserver/video client side ? - Q: [95]How can I get the printable area (e.g. the portion of the + Q: [96]How can I get the printable area (e.g. the portion of the page on which the printer is physically capable of placing ink) of the paper after I have chosen a paper ? - Q: [96]Do "offscreen" pixmaps work on Xprt ? - Q: [97]How can I get the DPI value for the current Xprt server ? + Q: [97]Do "offscreen" pixmaps work on Xprt ? + Q: [98]How can I get the DPI value for the current Xprt server ? Can I use the values from "xdpyinfo" ? - Q: [98]Why does Xprt not offer the MIT-SHM protocol extension ? - Q: [99]Does Xprint/Xprt support font rotation ? - Q: [100]When I render something on my window and call XpStartPage + Q: [99]Why does Xprt not offer the MIT-SHM protocol extension ? + Q: [100]Does Xprint/Xprt support font rotation ? + Q: [101]When I render something on my window and call XpStartPage all the rendered stuff is gone, I only get a white, empty paper. What is going wrong here ? - Q: [101]What is XpStartDoc for ? - Q: [102]How does the XLFD for printer-builtin fonts look like ? / + Q: [102]What is XpStartDoc for ? + Q: [103]How does the XLFD for printer-builtin fonts look like ? / How can I find/identify printer-builtin fonts ? - Q: [103]How can I scale images using the Xprint API ? - Q: [104]Can I pass my own PostScript code (fragment) to the print + Q: [104]How can I scale images using the Xprint API ? + Q: [105]Can I pass my own PostScript code (fragment) to the print spooler instead of letting Xprt's PostScript DDX generate it ? - Q: [105]When I use XpPutDocumentData I get a BadValue X protocol + Q: [106]When I use XpPutDocumentData I get a BadValue X protocol error. Any idea what am I doing wrong ? - Q: [106]How do I use the XprintUtil library ? - Q: [107]Why does the XGetImage not work for Xprt ? - Q: [108]How to print with Xt/Athena widgets ? - Q: [109]How to print with Xt/Motif widgets ? - Q: [110]What are the differences between normal display and + Q: [107]How do I use the XprintUtil library ? + Q: [108]Why does the XGetImage not work for Xprt ? + Q: [109]How to print with Xt/Athena widgets ? + Q: [110]How to print with Xt/Motif widgets ? + Q: [111]What are the differences between normal display and Xprint display ? - Q: [111]How do I scale images ? - Q: [112]libXp Image scaling vs. max. request size ? - Q: [113]How can I use XprintUtils ? - Q: [114]How do I calculate the DPI values for Xprt DDX screens ? - Q: [115]How do I find scaleable fonts ? - Q: [116]How do I find printer-builtin fonts ? - Q: [117]The XLFD for Printer-builtin fonts look like bitmap fonts + Q: [112]How do I scale images ? + Q: [113]libXp Image scaling vs. max. request size ? + Q: [114]How can I use XprintUtils ? + Q: [115]How do I calculate the DPI values for Xprt DDX screens ? + Q: [116]How do I find scaleable fonts ? + Q: [117]How do I find printer-builtin fonts ? + Q: [118]The XLFD for Printer-builtin fonts look like bitmap fonts - is that bad ? - Q: [118]When printing using the XawPrintShell/XmPrintShell print + Q: [119]When printing using the XawPrintShell/XmPrintShell print shells my PostScript output is always corrupt. What am I doing wrong ? - Q: [119]When printing using the XawPrintShell/XmPrintShell print + Q: [120]When printing using the XawPrintShell/XmPrintShell print shells I always get a grey/dithered background on paper. Any idea how to change that to "white" ? - Q: [120]Are there any caveats/suggestions when printing via + Q: [121]Are there any caveats/suggestions when printing via Xt/Motif2 widgets ? - Q: [121]Can I change the paper size/resolution/page + Q: [122]Can I change the paper size/resolution/page orientation/etc. when printing using the XawPrintShell/XmPrintShell print shells ? - Q: [122]Where can I find an example how to print with Xprint + Q: [123]Where can I find an example how to print with Xprint using the OpenGL/GLX API ? 1. General - Q: [123]What is "Xprint" ? - Q: [124]Where can I get Xprint/Xprt from ? - Q: [125]What is "Xprt" ? - Q: [126]Where can I get help for problems with Xprint ? - Q: [127]"Why do some people like Xprint ?" / "What are the advantages + Q: [124]What is "Xprint" ? + Q: [125]Where can I get Xprint/Xprt from ? + Q: [126]What is "Xprt" ? + Q: [127]Where can I get help for problems with Xprint ? + Q: [128]"Why do some people like Xprint ?" / "What are the advantages of Xprint ?" - Q: [128]Why do some people dislike Xprint ? - Q: [129]Does Xprint support anti-aliased fonts ? - Q: [130]How can I check if Xprint is working and should be used ? - Q: [131]How can I view PS(=PostScript) files ? - Q: [132]How can I view PCL files ? - Q: [133]How does Xprt find fonts ? - Q: [134]How can I print TrueType fonts with Xprint ? - Q: [135]What does "DDX" mean ? - Q: [136]What does "DIX" mean ? - Q: [137]What does "PDL" mean ? - Q: [138]I have twenty printers installed on my system - but Xprt only + Q: [129]Why do some people dislike Xprint ? + Q: [130]Does Xprint support anti-aliased fonts ? + Q: [131]How can I check if Xprint is working and should be used ? + Q: [132]How can I view PS(=PostScript) files ? + Q: [133]How can I view PCL files ? + Q: [134]How does Xprt find fonts ? + Q: [135]How can I print TrueType fonts with Xprint ? + Q: [136]What does "DDX" mean ? + Q: [137]What does "DIX" mean ? + Q: [138]What does "PDL" mean ? + Q: [139]I have twenty printers installed on my system - but Xprt only shows two screens. Where are all the other printers ? - Q: [139]Which platforms support Xprint ? - Q: [140]I have the broken Xfree86 Xprt binary on my system. Do I need + Q: [140]Which platforms support Xprint ? + Q: [141]I have the broken Xfree86 Xprt binary on my system. Do I need a new version of libXp.so (the client side X11 extension library for Xprint), too ? - Q: [141]Which spelling is correct - "Xprint", "XPrint", "Xprinter" or + Q: [142]Which spelling is correct - "Xprint", "XPrint", "Xprinter" or Xprt" ? - Q: [142]Which applications support Xprint ? - Q: [143]Is "Xprint" "mozilla"-only (I saw that it's hosted by + Q: [143]Which applications support Xprint ? + Q: [144]Is "Xprint" "mozilla"-only (I saw that it's hosted by mozdev.org) ? - Q: [144]Under which license is the source code from xprint.mozdev.org + Q: [145]Under which license is the source code from xprint.mozdev.org distributed under ? - Q: [145]Why does Xprint not use PPDs for configuration ? + Q: [146]Why does Xprint not use PPDs for configuration ? Q: @@ -397,19 +400,19 @@ Frequently Asked Questions with Answers A: Xprint is client-server based, therefore two answers: - * The server side is available by default on Solaris (see [146]Note + * The server side is available by default on Solaris (see [147]Note below) and HP-UX (Xfree86 ships a "Xprt" binary, but that is broken and the server config files are missing, too). For those platforms who do not have a (working) Xprt server the you can get source, binary tarballs and Linux RPMs from - [147]http://xprint.mozdev.org/, Debian Linux has a package based + [148]http://xprint.mozdev.org/, Debian Linux has a package based on the same sources (see - [148]http://packages.qa.debian.org/x/xprint-xprintorg.html). + [149]http://packages.qa.debian.org/x/xprint-xprintorg.html). Note - For Solaris >= 2.7 [149]http://xprint.mozdev.org/ provides the + For Solaris >= 2.7 [150]http://xprint.mozdev.org/ provides the "GISWxprintglue" and "GISWxprint" packages (available from - [150]http://xprint.mozdev.org/download.html) which provides a + [151]http://xprint.mozdev.org/download.html) which provides a single-step drop-in way to configure and start Xprint at system startup and/or per-user for all applications and users (the package provides only startup scripts and some config data and @@ -419,7 +422,7 @@ Note all X11 platforms >=R6.4, including Linux, Solaris, HP-UX, AIX, FreeBSD, NetBSD, etc. If you do not have it you can build it from the sources available - at [151]http://xprint.mozdev.org/. + at [152]http://xprint.mozdev.org/. Q: @@ -437,8 +440,8 @@ Note A: The current main site for the Xprint development is - [152]http://xprint.mozdev.org/ which hosts various resources including - a [153]mailinglist (please subscribe before posting) for end-users, + [153]http://xprint.mozdev.org/ which hosts various resources including + a [154]mailinglist (please subscribe before posting) for end-users, admin and developers. Q: @@ -500,16 +503,16 @@ Note There are a few common misconceptions about Xprint. Let's take a look some of these "myths", some background - and the facts: - Myth: [154]Xprint prints just a XWD dump of the Xserver bitmap - Myth: [155]Xprint cannot handle non-'ISO Latin 1' chars - Myth: [156]Xprint uses a 1024x768 screen resolution to render the + Myth: [155]Xprint prints just a XWD dump of the Xserver bitmap + Myth: [156]Xprint cannot handle non-'ISO Latin 1' chars + Myth: [157]Xprint uses a 1024x768 screen resolution to render the stuff on the paper - therefore it will never be able to do high-resolution stuff - Myth: [157]Xprint prints only graphics(=bitmap/gfx) fonts - Myth: [158]Xprint does not support pages sizes larger than DIN-A4 - Myth: [159]Xprint does not support rotated text - Myth: [160]The X11 rendering model is not good enougth for printers + Myth: [158]Xprint prints only graphics(=bitmap/gfx) fonts + Myth: [159]Xprint does not support pages sizes larger than DIN-A4 + Myth: [160]Xprint does not support rotated text + Myth: [161]The X11 rendering model is not good enougth for printers Myth: @@ -596,8 +599,8 @@ Note Xprint and all it's drivers support the X11 matrix XLFD enhancement introduced in X11R6 (and future versions of Xprint will support the - [161]STSF font API which supports matrix transformations as well). - Fonts can be rotated at any angle. Take a look at the [162]SOFTWARE + [162]STSF font API which supports matrix transformations as well). + Fonts can be rotated at any angle. Take a look at the [163]SOFTWARE DEVELOPMENT section in this FAQ for examples... Myth: @@ -611,7 +614,7 @@ Note mind - PostScript as plain rendering language for printers and Xprint as integrated all-in-one solution to allow applications to print without having special knowledge about the OS, spooler, - [163]PDL or printer. + [164]PDL or printer. * Around 95% of the applications which have print support do not use any of the special features provided by rendering models like PostScript. @@ -623,9 +626,9 @@ Note * Printing from Mozilla, Motif or the Qt toolkit using Xprint results in a much better quality than using the "native" PostScript generation code in those applications. - * Xprint supports more [164]PDLs than PostScript - having a + * Xprint supports more [165]PDLs than PostScript - having a PostScript-specific rendering model would be limiting, and make it - difficult to support other [165]PDLs. + difficult to support other [166]PDLs. Q: @@ -669,7 +672,7 @@ Note How can I view PCL files ? A: - XXX - [166]xprint.mozdev.org bug 2261 has been filed for that issue. + XXX - [167]xprint.mozdev.org bug 2261 has been filed for that issue. Q: How does Xprt find fonts ? @@ -687,7 +690,7 @@ Note How can I print TrueType fonts with Xprint ? A: - 1. Linux Xprt build from [167]http://xprint.mozdev.org/'s source + 1. Linux Xprt build from [168]http://xprint.mozdev.org/'s source supports TrueType fonts out-of-the-box (starting with the 008 development tree; xprint.mozdev.org's releases <= 007 do not support TrueType fonts) and and does not require any special @@ -698,7 +701,7 @@ Note the matching TrueType fonts and add the font server location to Xprt's font path. 4. Sourceforge has a TrueType to PostScript Type 1 converter project, - see [168]http://ttf2pt1.sourceforge.net/download.html. You may + see [169]http://ttf2pt1.sourceforge.net/download.html. You may convert the TTF files into PT1 files that Xprt can download them to the printer on demand... @@ -708,7 +711,7 @@ Note A: "DDX" is a short term for "Device Dependent X" - the device-specific - layer of a Xserver ([169]"DIX"(="Device Independent X") is the + layer of a Xserver ([170]"DIX"(="Device Independent X") is the counterpart). Q: @@ -716,7 +719,7 @@ Note A: "DIX" is a short term for "Device Independent X" - the non-device - specific code of a Xserver ([170]"DDX"(="Device Dependent X") is the + specific code of a Xserver ([171]"DDX"(="Device Dependent X") is the counterpart). Q: @@ -747,7 +750,7 @@ Note can be compiled on any platform, the Xprt server needs minor adjustments for the specific platforms... If your platform does not have Xprint (client-side and/or server-side) you can get the sources - from [171]http://xprint.mozdev.org/. + from [172]http://xprint.mozdev.org/. Q: I have the broken Xfree86 Xprt binary on my system. Do I need a new @@ -776,8 +779,9 @@ Note XmPrintShell) * Athena toolkit (full framework incl. special widgets like XawPrintShell, starting with X.org release 6.7.1) - * [172]Common Desktop Environment (CDE) 2.x - * [173]Mozilla, FireFox, ThunderBird, etc. + * Xedit, Xman, Xmore, etc. (starting with X.org release 6.7.1) + * [173]Common Desktop Environment (CDE) 2.x + * [174]Mozilla, FireFox, ThunderBird, etc. * Eclipse * KDE/Qt support is planned for Q3/2004 * StarOffice 5.x @@ -788,17 +792,20 @@ Note Is "Xprint" "mozilla"-only (I saw that it's hosted by mozdev.org) ? A: - No, Xprint is a general-purpose print API based on the X11 API used by - many applications ([174]mozdev.org is just hosting the development - area, but this does not mean the project is limited to mozilla... :)). + No, Xprint is a general-purpose print API based on X11 used by many + applications - [175]mozdev.org is just one of the hosting places + (others are [176]http://xprint.freedesktop.org/ (bugzilla, CVS) and + [177]http://www.sourceforge.net/projects/xprint/ (download area)) + hosting the development area, [178]documentation and [179]mailinglist. + :). Q: Under which license is the source code from xprint.mozdev.org distributed under ? A: - That's the plain "MIT" license, the same as used by Xfree86.org and - X.org: + That's the plain "MIT" license, the same as used by Xfree86.org < + V4.4.0 and X.org: Copyright (c) <year> <copyright holders> Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -831,7 +838,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN Why does Xprint not use PPDs for configuration ? A: - Xprint supports multiple "page description languages ([175]PDL)" + Xprint supports multiple "page description languages ([180]PDL)" including PostScript, PDF, PCL, etc. Therefore Xprint uses a different configuration file format which works with all these PDLs and not only PostScript (PPD files are PostScript-specific and cannot be used for @@ -839,36 +846,36 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN There is currently a converter in development to convert a Adobe PPD file into Xprint's model-config format. See - [176]xprint.freedesktop.org bug 636 ("RFE: Add an Adobe PPD to + [181]xprint.freedesktop.org bug 636 ("RFE: Add an Adobe PPD to model-config converter / xpppdtomodelconfig") for further information. 2. Usage - Q: [177]How do I configure Xprint on the client side ? - Q: [178]How do I start Xprt ? - Q: [179]How can I get a list of printers managed by Xprint ? - Q: [180]How can I start Xprt at boot time ? - Q: [181]How can I start Xprt per-user ? - Q: [182]How can I start Xprt only for one application ? - Q: [183]How can I filter the font path which should be passed to Xprt + Q: [182]How do I configure Xprint on the client side ? + Q: [183]How do I start Xprt ? + Q: [184]How can I get a list of printers managed by Xprint ? + Q: [185]How can I start Xprt at boot time ? + Q: [186]How can I start Xprt per-user ? + Q: [187]How can I start Xprt only for one application ? + Q: [188]How can I filter the font path which should be passed to Xprt for certain fonts ? - Q: [184]How can I manage access control to the Xprt server ? - Q: [185]How can I log access to the Xprt server ? - Q: [186]Does it require "root" permissions to use Xprt/Xprint ? - Q: [187]How can I see the attributes of a printer managed by Xprint ? - Q: [188]How can I list the font path used by a Xprt server ? - Q: [189]"xset q" lists all model-specific font dirs (like + Q: [189]How can I manage access control to the Xprt server ? + Q: [190]How can I log access to the Xprt server ? + Q: [191]Does it require "root" permissions to use Xprt/Xprint ? + Q: [192]How can I see the attributes of a printer managed by Xprint ? + Q: [193]How can I list the font path used by a Xprt server ? + Q: [194]"xset q" lists all model-specific font dirs (like PRINTER:/myxpcfg/C/print/models/SPSPARC2/fonts/") - is that a bug ? - Q: [190]My application lists a printer called + Q: [195]My application lists a printer called "xp_ps_spooldir_tmp_Xprintjobs" / "xp_pdf_spooldir_tmp_Xprintjobs" / "spooldir_tmp_Xprintjobs" / in the print dialog but I do not have such a print queue installed anywhere. What is that for a thing ?! - Q: [191]How can I forward Xprint services when logging-in via ssh to + Q: [196]How can I forward Xprint services when logging-in via ssh to another machine ? Q: @@ -891,22 +898,9 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN "littlecat" and display 72 on the machine bigdog to look for Xprt servers. 2. The env variable ${XPRINTER} defines the default printer used by - print applications. The syntax is either <printername> or - <printername>@<display> - Examples: - a. - % export XPRINTER=ps003 - tells an application to look for the first printer named - "ps003" on all Xprt servers. - b. - % export XPRINTER="hplaser19@littlecat:80" - tells an application to look for the printer "hplaser19" on - the Xprt display "littlecat:80". - -Note: - If ${XPRINTER} is not set the applications will examine the values - of the ${PDPRINTER}, ${LPDEST}, and ${PRINTER} env vars (in that - order). + print applications. The details can be found in the FAQ item + [197]How do I change the default printer used by Xprint + applications ? ... Q: @@ -916,30 +910,30 @@ Note: 1. Linux RPM installations on Mandrake/RedHat/SuSE Linux: Binary RPM packages provided by xprint.mozdev.org (or based on the same source :) will install /etc/init.d/xprint and related glue (see - [192][4]) automatically; after a reboot a Xprt instance will be + [198][4]) automatically; after a reboot a Xprt instance will be started at system startup and ${XPSERVERLIST} should be populated for all users. Note that you can start/stop per-user instances - using /etc/init.d/xprint (see [193][4]), too... - 2. Debian Linux: Same as [194][1], however Debian does not support + using /etc/init.d/xprint (see [199][4]), too... + 2. Debian Linux: Same as [200][1], however Debian does not support /etc/profile.d/ - you have to add the following line to /etc/profile (for sh/ksh/bash) to populate ${XPSERVERLIST}: export XPSERVERLIST="`/bin/sh /etc/init.d/xprint get_xpserverlist`" - See [195]bugs.debian.org bug 171174 ('"xprint-xprintorg" should + See [201]bugs.debian.org bug 171174 ('"xprint-xprintorg" should automatically populate $XPSERVERLIST') for further details on this issue... 3. a. Solaris using the "GISWxprintglue" package: - [196]http://xprint.mozdev.org/ provides a Solaris package + [202]http://xprint.mozdev.org/ provides a Solaris package called "GISWxprintglue" which contains all the neccesary configuration files and startup scripts to use Xprint; after a reboot a Xprt instance will be started at system startup and ${XPSERVERLIST} should be populated for all users. Note that you can start/stop per-user instances using - /etc/init.d/xprint (see [197][4]), too... + /etc/init.d/xprint (see [203][4]), too... b. Solaris using the "GISWxprint" package: - [198]http://xprint.mozdev.org/ provides a Solaris package + [204]http://xprint.mozdev.org/ provides a Solaris package called "GISWxprint" which is technically identical to the - "GISWxprintglue" (see [199][3a]) but provides a Xprt binary + "GISWxprintglue" (see [205][3a]) but provides a Xprt binary build from the xprint.mozdve.org sources ("GISWxprintglue" uses the /usr/openwin/bin/Xprt binary provided by Solaris). 4. General: Using /etc/init.d/xprint and related glue: There are @@ -1009,7 +1003,7 @@ Notes: Plug it into the filter above to remove the Truetype fonts and you are "done"... :) - See [200]TROUBLESHOOTING if you run into problems... + See [206]TROUBLESHOOTING if you run into problems... Q: @@ -1029,7 +1023,7 @@ printer: david_dj01@jason:5 * Get information about the supported attrbites of printer "ps002": % xplsprinters -printer ps002 -l printer: ps002@castor:18 - comment= + description= model-identifier=HPDJ1600C default-medium=iso-a4 default-input-tray= @@ -1180,7 +1174,7 @@ Note: output instead of printed pages). References: - * [201]xprint.mozdev.org bug 5092 ("[PS2PDFspooldir-GS] RFE: Add + * [207]xprint.mozdev.org bug 5092 ("[PS2PDFspooldir-GS] RFE: Add printer model which sends PDF jobs to /tmp/Xprintjobs/") Q: @@ -1259,54 +1253,81 @@ Set remote XPSERVERLIST with % export XPSERVERLIST="localhost:100 localhost:101 3. Configuration - Q: [202]How do I change the defaults for + Q: [208]How do I change the default printer used by Xprint + applications ? + + Q: [209]How do I change the defaults for double-sided/single-sided/etc. printing ? - Q: [203]I am in America and I don't have any ISO A4 paper. How do I + Q: [210]I am in America and I don't have any ISO A4 paper. How do I change the default paper size to 8.5 inch x 11 inch (US-Letter) ? - Q: [204]How do I change the default printer resolution ? - Q: [205]How do I change the default settings for + Q: [211]How do I change the default printer resolution ? + Q: [212]How do I change the default settings for "portrait"/"landscape"/"seascape" (=page orientation) ? - Q: [206]How can I prevent Xprt from using any bitmap(=gfx) fonts ? - Q: [207]I want only my manually added printers managed by Xprint. How + Q: [213]How can I prevent Xprt from using any bitmap(=gfx) fonts ? + Q: [214]I want only my manually added printers managed by Xprint. How can I prevent Xprt from looking-up the printer names automatically ? - Q: [208]How can I specify an own program/script to enumerate the + Q: [215]How can I specify an own program/script to enumerate the printers on my system ? - Q: [209]Which program is used by default by Xprt to enumerate the + Q: [216]Which program is used by default by Xprt to enumerate the printers on my system ? - Q: [210]Where can I get more PostScript Type1 fonts from ? - Q: [211]What are PMF fonts (e.g. the *.pmf fonts in + Q: [217]Where can I get more PostScript Type1 fonts from ? + Q: [218]What are PMF fonts (e.g. the *.pmf fonts in ${XPCONFIGDIR}/C/print/models/%model_name%/fonts/ (or ${XPCONFIGDIR}/${LANG}/print/models/%model_name%/fonts/)) ? - Q: [212]Can I use the fontserver ("xfs") with Xprt ? - Q: [213]What is a "model-config" ? - Q: [214]Where can I store the default values for printers ? - Q: [215]How can I create my own model-config ? - Q: [216]How can I create my own PMF "fonts" ? - Q: [217]Where can I get more model-configs from ? - Q: [218]If I install Xprt &co. as "root" in the default location and + Q: [219]Can I use the fontserver ("xfs") with Xprt ? + Q: [220]What is a "model-config" ? + Q: [221]Where can I store the default values for printers ? + Q: [222]How can I create my own model-config ? + Q: [223]How can I create my own PMF "fonts" ? + Q: [224]Where can I get more model-configs from ? + Q: [225]If I install Xprt &co. as "root" in the default location and don't need to set ${XPCONFIGDIR} - where are my configuration files located then ? - Q: [219]Are config files and/or the PMF fonts architecture dependent ? + Q: [226]Are config files and/or the PMF fonts architecture dependent ? - Q: [220]Can I localise my Xprint/Xprt configuration (l10n) ? - Q: [221]Can I execute my own scripts to process the PostScript files + Q: [227]Can I localise my Xprint/Xprt configuration (l10n) ? + Q: [228]Can I execute my own scripts to process the PostScript files generated by Xprt ? - Q: [222]How can I disable "xp_ps_spooldir_tmp_Xprintjobs" / + Q: [229]How can I disable "xp_ps_spooldir_tmp_Xprintjobs" / "xp_pdf_spooldir_tmp_Xprintjobs" printer targets ? Q: + How do I change the default printer used by Xprint applications ? + A: + + The env variable ${XPRINTER} defines the default printer used by print + applications. The syntax is either <printername> or + <printername>@<display> + + Examples: + 1. + % export XPRINTER=ps003 + tells an application to look for the first printer named "ps003" + on all Xprt servers. + 2. + % export XPRINTER="hplaser19@littlecat:80" + tells an application to look for the printer "hplaser19" on the + Xprt display "littlecat:80". + +Note: + + If ${XPRINTER} is not set the applications will examine the values of + the ${PDPRINTER}, ${LPDEST}, and ${PRINTER} env vars (in that order). + + Q: + How do I change the defaults for double-sided/single-sided/etc. printing ? A: @@ -1575,11 +1596,11 @@ Notes: Some sources: * Adobe: - + Commercial fonts: [223]http://www.adobe.com/type/main.html + + Commercial fonts: [230]http://www.adobe.com/type/main.html + Free Euro font: o Single-glyph (e.g. it contains only the euro char) euro - font: [224]http://www.adobe.com/type/eurofont.html or - [225]ftp://ftp.adobe.com/pub/adobe/type/win/all/ + font: [231]http://www.adobe.com/type/eurofont.html or + [232]ftp://ftp.adobe.com/pub/adobe/type/win/all/ ("eurofont.exe" can be unzipped using "unzip") o ISO8859-15: XXX - WANTED!! * Solaris shipps with various PS Type 1 fonts: @@ -1593,7 +1614,7 @@ Notes: + ISO-8859-8/Hebrew: /usr/openwin/lib/locale/iso_8859_8/X11/fonts/Type1 (BROKEN, even "type1fix" cannot fix them. Use the hebrew fonts from - [226]broken-link-/PS_Type1_iso8859-8.tar.gz) + [233]broken-link-/PS_Type1_iso8859-8.tar.gz) + ISO-8859-7/Modern greek: /usr/openwin/lib/locale/iso_8859_7/X11/fonts/Type1/ + ISO-8859-5/Cryrillic: @@ -1631,7 +1652,7 @@ Notes: print job (e.g. the fonts will still appear correctly in the printout, but the quality may be reduced since downloaded fonts are always better than bitmap glyphs). (users of xprint.mozdev.org-release <= 006 - may see [227]xprint.mozdev.org bug 2092 if they use "xfs"; this has + may see [234]xprint.mozdev.org bug 2092 if they use "xfs"; this has been fixed in the 007 release!) Q: @@ -1671,7 +1692,7 @@ Notes: How can I create my own PMF "fonts" ? A: - XXX - no solution yet, but [228]xprint.mozdev.org bug 2430 ("RFE: Need + XXX - no solution yet, but [235]xprint.mozdev.org bug 2430 ("RFE: Need tool to create PMF (printer metrics file) fonts") has been filed to create a freeware tool to create such fonts. Q: @@ -1680,10 +1701,10 @@ Notes: A: If you miss a model-config for your printer please open a bug/RFE at - [229]http://xprint.freedesktop.org/bugzilla/enter_bug.cgi?product=xpri - nt&component=Server%3A+Config%3A+model-configs (e.g. - [230]http://xprint.freedesktop.org/bugzilla/enter_bug.cgi, product - "Xprint", component "Server Config: model-configs"). + [236]http://xprint.freedesktop.org/bugzilla/enter_bug.cgi?product=xpri + nt&component=Server%3A%20Config%3A%20model-configs (e.g. + [237]http://xprint.freedesktop.org/bugzilla/enter_bug.cgi, product + "Xprint", component "Server: Config: model-configs"). Q: If I install Xprt &co. as "root" in the default location and don't @@ -1821,98 +1842,98 @@ Note: 4. Troubleshooting - Q: [231]"Printing itself works but the printout covers only 1/4 of the + Q: [238]"Printing itself works but the printout covers only 1/4 of the paper - what am I doing wrong ?" - Q: [232]"Printing works but I get large borders/margins..." / "[Top] + Q: [239]"Printing works but I get large borders/margins..." / "[Top] margin is too small" / "Margins are wrong" / etc. - Q: [233]Xprt refuses to start with the message "sh: lpc: command not + Q: [240]Xprt refuses to start with the message "sh: lpc: command not found" on my Linux machine. What does that mean ? - Q: [234]When the application (=client side) tries to connect to the + Q: [241]When the application (=client side) tries to connect to the Xprt (Xserver) side it fails with a Xlib: connection to "meridian:52.0" refused by server Xlib: Client is not authorized to connect to Server What does that mean ? - Q: [235]Xprt refuses to start with the message "failed to set default + Q: [242]Xprt refuses to start with the message "failed to set default font path '...' Fatal server error: could not open default font 'fixed'". What does that mean ? - Q: [236]Just copying my fonts into a directory and adding the path to + Q: [243]Just copying my fonts into a directory and adding the path to my Xprt command line didn't work - I always get "Fatal server error: could not open default font 'fixed'". What am I doing wrong ? - Q: [237]Xprt refuses to start with the message "Fatal server error: + Q: [244]Xprt refuses to start with the message "Fatal server error: Cannot establish any listening sockets - Make sure an X server isn't already running". What does that mean ? - Q: [238]Xprt refuses to start with the message "Fatal server error: + Q: [245]Xprt refuses to start with the message "Fatal server error: Failed to establish all listening sockets". What does that mean ? - Q: [239]Xprt refuses to start with the message "Fatal server error: + Q: [246]Xprt refuses to start with the message "Fatal server error: could not open default font 'fixed'" or "Fatal server error: could not open default cursor font 'cursor'". - Q: [240]Xprt refuses to start with the message "Fatal server error: no + Q: [247]Xprt refuses to start with the message "Fatal server error: no screens found". What does that mean ? - Q: [241]Xprt prints a warning like "Xp Extension: could not find + Q: [248]Xprt prints a warning like "Xp Extension: could not find config dir /usr/X11R6/lib/X11/C/print" - what does that mean ? - Q: [242]Xprt crashes with "Fatal server error: Beziers this big not + Q: [249]Xprt crashes with "Fatal server error: Beziers this big not yet supported" What does that mean ? - Q: [243]"My PS Type1 font does not work with my Xserver - how can I + Q: [250]"My PS Type1 font does not work with my Xserver - how can I fix this ?" - Q: [244]I can't get it working. I have set ${DISPLAY} correctly to + Q: [251]I can't get it working. I have set ${DISPLAY} correctly to point to the Xprt display and... ... What is going wrong ? - Q: [245]When I try to print via Xprint I get the message "Fatal server + Q: [252]When I try to print via Xprint I get the message "Fatal server error: unable to exec '/usr/bin/lp'". What is going wrong here ? - Q: [246]The Solaris Xprt prints some error messages about PostScript + Q: [253]The Solaris Xprt prints some error messages about PostScript fonts like "FOOBAR not found, using Courier. CMEX0123 not found, using Courier." etc. and uses "Courier" instead of these fonts... - Q: [247]"Xprt refused to start, complaining about a missing dir + Q: [254]"Xprt refused to start, complaining about a missing dir (/etc/X11/xserver/C/print/ directory)... I created it by hand (empty) and started Xprt but it still does not work properly..." - Q: [248]My Linux system already shipps with a + Q: [255]My Linux system already shipps with a '/usr/X11R6/bin/Xprt'-binary. Do I need the binary distribution from http://xprint.mozdev.org/ ? - Q: [249]I am getting the error message "error opening security policy + Q: [256]I am getting the error message "error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy". What does that mean ? - Q: [250]I have modified the "HPLJ4family" [or "HPDJ1600C" etc.] + Q: [257]I have modified the "HPLJ4family" [or "HPDJ1600C" etc.] printer model to work with my PostScript printer, but when I print I get empty places where some text should be - what am I doing wrong here ? - Q: [251]Xprt outputs warning messages like: Xp Extension: Can't load + Q: [258]Xprt outputs warning messages like: Xp Extension: Can't load driver XP-PCL-MONO init function missing Xp Extension: Can't load driver XP-RASTER init function missing What does that mean ? - Q: [252]Printing on Solaris with Mozilla/Eclipse [or any other Xprint + Q: [259]Printing on Solaris with Mozilla/Eclipse [or any other Xprint client] removes spaces between words. What is going wrong ? - Q: [253]Installation of the "GISWxprint" / "GISWxprintglue" packages + Q: [260]Installation of the "GISWxprint" / "GISWxprintglue" packages fails like this: # pkgadd -d /space/staging/xprint/GISWxprint.pkg pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> Any idea what I am doing wrong ? - Q: [254]Printing page results in [two/three/.../16] leading blank + Q: [261]Printing page results in [two/three/.../16] leading blank pages, followed by a correct (but offset) page. Any idea what is going wrong ? @@ -2061,9 +2082,9 @@ INET:mars fonts.scale then you have to create your own fonts.dir/fonts.scale either by hand or via tools like "mkfontscale" (works for all types of scaleable fonts), "type1inst" (for PS Type1 fonts; see - [255]http://packages.debian.org/stable/utils/type1inst.html) or + [262]http://packages.debian.org/stable/utils/type1inst.html) or "ttmkfdir" (for TrueType fonts; see - [256]http://packages.debian.org/stable/x11/ttmkfdir.html). + [263]http://packages.debian.org/stable/x11/ttmkfdir.html). Q: Xprt refuses to start with the message "Fatal server error: Cannot @@ -2111,7 +2132,7 @@ INET:mars Solution: Two solutions: 1. Using "PSspooldir" model: . Xprt releases from - [257]http://xprint.mozdev.org/ provide the "PSspooldir" model + [264]http://xprint.mozdev.org/ provide the "PSspooldir" model config for such cases. Just edit the "Xprinters" file and add this line: Printer xp_ps_spooldir_tmp_Xprintjobs @@ -2120,7 +2141,7 @@ Printer xp_ps_spooldir_tmp_Xprintjobs "xp_ps_spooldir_tmp_Xprintjobs" printer which will send jobs to the directory "/tmp/Xprintjobs/" instead to a printer queue. (This feature was added in the xprint.mozdev.org release 007, see - [258]xprint.mozdev.org bug 2475 ("RFE: Need model-config which + [265]xprint.mozdev.org bug 2475 ("RFE: Need model-config which spools print jobs in a predefined directory").) 2. Manual setup (task list): . @@ -2179,7 +2200,7 @@ ps_myscript.xp-spooler-command: /home/sanja/xprint_test/my_xprt_cat_script.sh Xsun) but not with the X.org font engine (or the other way round) or the fonts are simply broken. The following procedure will try to fix this problem: Get the "type1fix" perl script the TeXTrace package - ([259]http://www.inf.bme.hu/~pts/textrace-latest.tar.gz) and run it + ([266]http://www.inf.bme.hu/~pts/textrace-latest.tar.gz) and run it over the fonts. Example 1 (filter fonts): # Broken PFA fonts are in broken_fonts/ % mkdir fixed_fonts ; cd fixed_fonts @@ -2246,9 +2267,9 @@ ps_myscript.xp-spooler-command: /home/sanja/xprint_test/my_xprt_cat_script.sh References: * makepsres(1) manual page - * [260]bugzilla.mozilla.org 120560 ("Solaris Xsun does not like + * [267]bugzilla.mozilla.org 120560 ("Solaris Xsun does not like CMEX10/CMSY10 Type1 fonts") - * [261]bugzilla.mozilla.org 142718 ("Document how to get the MathML + * [268]bugzilla.mozilla.org 142718 ("Document how to get the MathML fonts to work on Solaris") Q: @@ -2270,7 +2291,7 @@ ps_myscript.xp-spooler-command: /home/sanja/xprint_test/my_xprt_cat_script.sh Q: My Linux system already shipps with a '/usr/X11R6/bin/Xprt'-binary. Do - I need the binary distribution from [262]http://xprint.mozdev.org/ ? + I need the binary distribution from [269]http://xprint.mozdev.org/ ? A: This depends on what is shipped with your Linux distribution. Please @@ -2298,7 +2319,7 @@ ps_myscript.xp-spooler-command: /home/sanja/xprint_test/my_xprt_cat_script.sh is a problem with your Unix/Linux X11 distribution; consult your vendor where to get the missing file from. Alternatively you can get the plain X11R6.6 security policy file from - [263]ftp://ftp.x.org/pub/R6.6/xc/programs/Xserver/Xext/SecurityPolicy + [270]ftp://ftp.x.org/pub/R6.6/xc/programs/Xserver/Xext/SecurityPolicy (copy it to the matching location - but be sure that you do not overwrite any existing security policy file). Q: @@ -2367,26 +2388,26 @@ Xp Extension: Can't load driver XP-RASTER Cause: This is a bug in the Solaris Xprint server binary (/usr/openwin/bin/Xprt). Various bug reports have been filed, see - * [264]xprint.mozdev.org bug 3353 ("Solaris Xprt looses space when + * [271]xprint.mozdev.org bug 3353 ("Solaris Xprt looses space when rendering with '-monotype-arial-*'-fonts") - * [265]bugzilla.mozilla.org bug 199957 ("Solaris 8 Mozilla removes + * [272]bugzilla.mozilla.org bug 199957 ("Solaris 8 Mozilla removes spaces for text within <font face="Arial">...</font>") Solution: Solution: Please apply the following OS patches from - [266]http://sunsolve.sun.com/: + [273]http://sunsolve.sun.com/: - Table 1. Solaris patches to fix [267]xprint.mozdev.org bug 3353 + Table 1. Solaris patches to fix [274]xprint.mozdev.org bug 3353 ("Solaris Xprt looses space when rendering with '-monotype-arial-*'-fonts") Solaris 2.7 Solaris 2.8 Solaris 2.9 SPARC x86 SPARC x86 SPARC x86 - [268]n/a [269]n/a [270]108652-73 [271]108653-62 [272]112785-21 - [273]112786-11 + [275]n/a [276]n/a [277]108652-73 [278]108653-62 [279]112785-21 + [280]112786-11 Note For Solaris 2.7 (both SPARC and x86 platforms) there are currently - [274]no patches available... ;-( + [281]no patches available... ;-( Known workarounds: * Remove the '-monotype-arial-*' fonts from the font path @@ -2401,7 +2422,7 @@ evice=.*|" + "fname=-monotype-arial.*;scalable=.*;outline_scaled=.*;xdisplay=.*;xdpy=.*;yd py=.*;xdevice=.*"); to prefs.js works around the problem (see - [275]bugzilla.mozilla.org bug 199957 comment #6, too). + [282]bugzilla.mozilla.org bug 199957 comment #6, too). Note Note that this workaround may render various locales completly @@ -2421,8 +2442,8 @@ pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> The target machine misses a patch to cure SunSolve bug 4025718 ("pkginfo: allow greater than nine characters for PKG parameter value"). Please apply the patches listed in the "Installation - Requirements" section in the README for the [276]GISWxprint / - [277]GISWxprintglue package. + Requirements" section in the README for the [283]GISWxprint / + [284]GISWxprintglue package. Q: Printing page results in [two/three/.../16] leading blank pages, @@ -2431,7 +2452,7 @@ pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> A: This symptom depends on the CUPS GhostScript driver used, however the - exact cause is currently unknown (see comments in [278]SuSE support + exact cause is currently unknown (see comments in [285]SuSE support database entry SDB-2002/11/jsmeix_print-81-cups-formfeed ("Blank Pages When Printing with CUPS")). @@ -2446,76 +2467,76 @@ pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> If you use /etc/foomatic/filter.conf, disable ps_accounting there. References: - * [279]SuSE support database entry + * [286]SuSE support database entry SDB-2002/11/jsmeix_print-81-cups-formfeed ("Blank Pages When Printing with CUPS") - * [280]xprint.mozdev.org bug 4181 ("Two empty pages printed first") - * [281]bugzilla.mozilla.org bug 180602 comment #7 ("Printing page + * [287]xprint.mozdev.org bug 4181 ("Two empty pages printed first") + * [288]bugzilla.mozilla.org bug 180602 comment #7 ("Printing page results in 16 leading blank pages, followed by a correct, but offset, page") 5. Software development - Q: [282]How does the X print server (Xprt) and the Xlib client side + Q: [289]How does the X print server (Xprt) and the Xlib client side differ from the "normal" video Xserver/video client side ? - Q: [283]How can I get the printable area (e.g. the portion of the page + Q: [290]How can I get the printable area (e.g. the portion of the page on which the printer is physically capable of placing ink) of the paper after I have chosen a paper ? - Q: [284]Do "offscreen" pixmaps work on Xprt ? - Q: [285]How can I get the DPI value for the current Xprt server ? Can + Q: [291]Do "offscreen" pixmaps work on Xprt ? + Q: [292]How can I get the DPI value for the current Xprt server ? Can I use the values from "xdpyinfo" ? - Q: [286]Why does Xprt not offer the MIT-SHM protocol extension ? - Q: [287]Does Xprint/Xprt support font rotation ? - Q: [288]When I render something on my window and call XpStartPage all + Q: [293]Why does Xprt not offer the MIT-SHM protocol extension ? + Q: [294]Does Xprint/Xprt support font rotation ? + Q: [295]When I render something on my window and call XpStartPage all the rendered stuff is gone, I only get a white, empty paper. What is going wrong here ? - Q: [289]What is XpStartDoc for ? - Q: [290]How does the XLFD for printer-builtin fonts look like ? / How + Q: [296]What is XpStartDoc for ? + Q: [297]How does the XLFD for printer-builtin fonts look like ? / How can I find/identify printer-builtin fonts ? - Q: [291]How can I scale images using the Xprint API ? - Q: [292]Can I pass my own PostScript code (fragment) to the print + Q: [298]How can I scale images using the Xprint API ? + Q: [299]Can I pass my own PostScript code (fragment) to the print spooler instead of letting Xprt's PostScript DDX generate it ? - Q: [293]When I use XpPutDocumentData I get a BadValue X protocol + Q: [300]When I use XpPutDocumentData I get a BadValue X protocol error. Any idea what am I doing wrong ? - Q: [294]How do I use the XprintUtil library ? - Q: [295]Why does the XGetImage not work for Xprt ? - Q: [296]How to print with Xt/Athena widgets ? - Q: [297]How to print with Xt/Motif widgets ? - Q: [298]What are the differences between normal display and Xprint + Q: [301]How do I use the XprintUtil library ? + Q: [302]Why does the XGetImage not work for Xprt ? + Q: [303]How to print with Xt/Athena widgets ? + Q: [304]How to print with Xt/Motif widgets ? + Q: [305]What are the differences between normal display and Xprint display ? - Q: [299]How do I scale images ? - Q: [300]libXp Image scaling vs. max. request size ? - Q: [301]How can I use XprintUtils ? - Q: [302]How do I calculate the DPI values for Xprt DDX screens ? - Q: [303]How do I find scaleable fonts ? - Q: [304]How do I find printer-builtin fonts ? - Q: [305]The XLFD for Printer-builtin fonts look like bitmap fonts - is + Q: [306]How do I scale images ? + Q: [307]libXp Image scaling vs. max. request size ? + Q: [308]How can I use XprintUtils ? + Q: [309]How do I calculate the DPI values for Xprt DDX screens ? + Q: [310]How do I find scaleable fonts ? + Q: [311]How do I find printer-builtin fonts ? + Q: [312]The XLFD for Printer-builtin fonts look like bitmap fonts - is that bad ? - Q: [306]When printing using the XawPrintShell/XmPrintShell print + Q: [313]When printing using the XawPrintShell/XmPrintShell print shells my PostScript output is always corrupt. What am I doing wrong ? - Q: [307]When printing using the XawPrintShell/XmPrintShell print + Q: [314]When printing using the XawPrintShell/XmPrintShell print shells I always get a grey/dithered background on paper. Any idea how to change that to "white" ? - Q: [308]Are there any caveats/suggestions when printing via Xt/Motif2 + Q: [315]Are there any caveats/suggestions when printing via Xt/Motif2 widgets ? - Q: [309]Can I change the paper size/resolution/page orientation/etc. + Q: [316]Can I change the paper size/resolution/page orientation/etc. when printing using the XawPrintShell/XmPrintShell print shells ? - Q: [310]Where can I find an example how to print with Xprint using the + Q: [317]Where can I find an example how to print with Xprint using the OpenGL/GLX API ? Q: @@ -2529,10 +2550,10 @@ pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> 1. Most obvious is the use of "print ddx drivers" instead of "video ddx drivers". While a video ddx driver modifies pixels in a video frame buffer, a print ddx driver generates "page description - language ([311]PDL)" output (such as PCL, PDF, PostScript, + language ([318]PDL)" output (such as PCL, PDF, PostScript, SVGprint, etc.) or sends the print rendering instructions to a platform-specific print API (like Win32/GDI). - Once a print ddx driver generates [312]PDL output, it can be sent + Once a print ddx driver generates [319]PDL output, it can be sent to a spooler (using XpuStartJobToSpooler) or retrieved by the client (to implement functionality like "print-to-file" with functions such as XpuStartJobToFile). @@ -2644,10 +2665,10 @@ pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz> implemented properly) incompatible to the way how some of the Xprint DDX are implemented. For example the PostScript, PDF, PCL and SVGprint DDX do not rasterize any images on their side - instead they convert - the stream of X11 rendering instructions into the matching [313]PDL + the stream of X11 rendering instructions into the matching [320]PDL instruction stream. Only the printer side will (finally) do the rasterisation of the output image. This is the basically the same - reason why [314]XGetImage does not work for those DDXs - and functions + reason why [321]XGetImage does not work for those DDXs - and functions such as XShmCreatePixmap would be useless since drawing operations on the shared pixmap would not be applied to the application (e.g. Xprint client) as well. @@ -2680,7 +2701,7 @@ m-*-iso8859-1"); ... = XLoadQueryFont(..., "-adobe-courier-bold-r-normal--*-[0 24 ~24 0]-0-0-m -*-iso8859-1"); - Future versions of Xprint will support the [315]STSF font API which + Future versions of Xprint will support the [322]STSF font API which supports matrix transformations as well. Q: @@ -2781,7 +2802,7 @@ Tip 3. The printer-builtin fonts only provide metrics information - there is no real "outline" information at that time (these fonts reside only in the printer's ROM and are only available at the time the - printer rasterizes the incoming [316]PDL (e.g. PCL/PostScript) + printer rasterizes the incoming [323]PDL (e.g. PCL/PostScript) data stream) which could be used to rasterize the matching glyphs (which means: A XGetImage implementation would return image data but glyphs rendered using the printer-builtin fonts would be @@ -2978,40 +2999,40 @@ XtSetArg(args[n], XmNcursorPositionVisible, False); A: In Xorg release 6.7.1 Xprint support was added to the GLX demo - application "glxgears" ([317]xc/programs/Xserver/glxgears/). + application "glxgears" ([324]xc/programs/Xserver/glxgears/). Known bugs - Problem [318]Xprt build from Xfree86 sources is completely broken + Problem [325]Xprt build from Xfree86 sources is completely broken and unuseable. - Problem [319]The code which matches XLFD names to PS Type1 font + Problem [326]The code which matches XLFD names to PS Type1 font names is case-sensitive in Xprts build from X.org X11R6.5.1/X11R6.6 and the current Solaris Xprt. This may cause that the PS DDX refuses to download PS Type1 fonts. - Problem [320]Xprt build from X11R6.5.1/X11R6.6 sources and + Problem [327]Xprt build from X11R6.5.1/X11R6.6 sources and Solaris's version of Xprt can only download PFA (PS ASCII font) fonts which ends of the ending "*.pfa". - Problem [321]There is an issue how the Linux and Solaris Xprt + Problem [328]There is an issue how the Linux and Solaris Xprt handles the "copy-count" of a print job. The result may be that a job with n copies of a document end-up in n jobs with n copies (usually equals to n^2 copies). - Problem [322]Xprt build from Xfree86 sources is completely broken and + Problem [329]Xprt build from Xfree86 sources is completely broken and unuseable. - Problem [323]The code which matches XLFD names to PS Type1 font names + Problem [330]The code which matches XLFD names to PS Type1 font names is case-sensitive in Xprts build from X.org X11R6.5.1/X11R6.6 and the current Solaris Xprt. This may cause that the PS DDX refuses to download PS Type1 fonts. - Problem [324]Xprt build from X11R6.5.1/X11R6.6 sources and Solaris's + Problem [331]Xprt build from X11R6.5.1/X11R6.6 sources and Solaris's version of Xprt can only download PFA (PS ASCII font) fonts which ends of the ending "*.pfa". - Problem [325]There is an issue how the Linux and Solaris Xprt handles + Problem [332]There is an issue how the Linux and Solaris Xprt handles the "copy-count" of a print job. The result may be that a job with n copies of a document end-up in n jobs with n copies (usually equals to n^2 copies). @@ -3021,7 +3042,7 @@ Known bugs Xprt build from Xfree86 sources is completely broken and unuseable. Solution - Build Xprt from the CVS tree at [326]http://xprint.mozdev.org/ or the + Build Xprt from the CVS tree at [333]http://xprint.mozdev.org/ or the X.org X11R6.5.1 sources (note that the client side Xprint extension library ("libXp.so") from Xfree86 is not broken and do not need to be replaced). @@ -3056,8 +3077,8 @@ Known bugs Solution Xprt build from xprint.mozdev.org sources has been fixed in release - 007, see [327]xprint.mozdev.org bug 1378 ("PS DDX creates n^2 copies - of a job instead of n copies") and [328]bugzilla.mozilla.org 140030 + 007, see [334]xprint.mozdev.org bug 1378 ("PS DDX creates n^2 copies + of a job instead of n copies") and [335]bugzilla.mozilla.org 140030 ("Setting number of copies causes too many copies to print") for details. Solaris 2.7 Xprt still suffers from this issue... ;-( @@ -3099,13 +3120,13 @@ Acknowledgements the following people (listed alphabetically) have contributed to this FAQ (apologies, in advance, if anyone has been forgotten): - Alan Coopersmith <[329]alan.coopersmith@sun.com> - Giuseppe Ghibò <[330]ghibo@mandrakesoft.com> - Thomas Gilg <[331]thomas_gilg@hp.com> - Jay Hobson <[332]jay.hobson@sun.com> - Masaki Katakai <[333]katakai@japan.sun.com> - Simon Montagu <[334]smontagu@smontagu.org> - Drew Parsons <[335]dparsons@debian.org> + Alan Coopersmith <[336]alan.coopersmith@sun.com> + Giuseppe Ghibò <[337]ghibo@mandrakesoft.com> + Thomas Gilg <[338]thomas_gilg@hp.com> + Jay Hobson <[339]jay.hobson@sun.com> + Masaki Katakai <[340]katakai@japan.sun.com> + Simon Montagu <[341]smontagu@smontagu.org> + Drew Parsons <[342]dparsons@debian.org> (and many many others) References @@ -3114,67 +3135,71 @@ References 3. http://xprint.freedesktop.org/cgi-bin/viewcvs.cgi/*checkout*/xorg/xc/doc/hardcopy/XPRINT/Xprint_FAQ.html 4. http://xprint.freedesktop.org/cgi-bin/viewcvs.cgi/*checkout*/xorg/xc/doc/hardcopy/XPRINT/Xprint_FAQ.txt 5. http://xprint.freedesktop.org/cgi-bin/viewcvs.cgi/xorg/xc/doc/hardcopy/XPRINT/Xprint_FAQ.xml - 147. http://xprint.mozdev.org/ - 148. http://packages.qa.debian.org/x/xprint-xprintorg.html - 149. http://xprint.mozdev.org/ - 150. http://xprint.mozdev.org/download.html - 151. http://xprint.mozdev.org/ + 148. http://xprint.mozdev.org/ + 149. http://packages.qa.debian.org/x/xprint-xprintorg.html + 150. http://xprint.mozdev.org/ + 151. http://xprint.mozdev.org/download.html 152. http://xprint.mozdev.org/ - 153. http://xprint.mozdev.org/list.html - 161. http://stsf.sourceforge.net/ - 166. http://xprint.mozdev.org/bugs/show_bug.cgi?id=2261 - 167. http://xprint.mozdev.org/ - 168. http://ttf2pt1.sourceforge.net/download.html - 171. http://xprint.mozdev.org/ - 172. http://www.opengroup.org/cde/ - 173. http://www.mozilla.org/projects/xprint/ - 174. http://www.mozdev.org/ - 176. http://xprint.freedesktop.org/bugzilla/show_bug.cgi?id=636 - 195. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=171174 - 196. http://xprint.mozdev.org/ - 198. http://xprint.mozdev.org/ - 201. http://xprint.mozdev.org/bugs/show_bug.cgi?id=5092 - 223. http://www.adobe.com/type/main.html - 224. http://www.adobe.com/type/eurofont.html - 225. ftp://ftp.adobe.com/pub/adobe/type/win/all/ - 227. http://xprint.mozdev.org/bugs/show_bug.cgi?id=2092 - 228. http://xprint.mozdev.org/bugs/show_bug.cgi?id=2430 - 229. http://xprint.freedesktop.org/bugzilla/enter_bug.cgi?product=xprint&component=Server%3A%2BConfig%3A%2Bmodel-configs - 230. http://xprint.freedesktop.org/bugzilla/enter_bug.cgi - 255. http://packages.debian.org/stable/utils/type1inst.html - 256. http://packages.debian.org/stable/x11/ttmkfdir.html - 257. http://xprint.mozdev.org/ - 258. http://xprint.mozdev.org/bugs/show_bug.cgi?id=2475 - 259. http://www.inf.bme.hu/~pts/textrace-latest.tar.gz - 260. http://bugzilla.mozilla.org/show_bug.cgi?id=120560 - 261. http://bugzilla.mozilla.org/show_bug.cgi?id=142718 - 262. http://xprint.mozdev.org/ - 263. ftp://ftp.x.org/pub/R6.6/xc/programs/Xserver/Xext/SecurityPolicy - 264. http://xprint.mozdev.org/bugs/show_bug.cgi?id=3353 - 265. http://bugzilla.mozilla.org/show_bug.cgi?id=199957 - 266. http://sunsolve.sun.com/ - 267. http://xprint.mozdev.org/bugs/show_bug.cgi?id=3353 - 270. http://sunsolve.sun.com/pub-cgi/retrieve.pl?patchid=108652&collection=fpatches - 271. http://sunsolve.sun.com/pub-cgi/retrieve.pl?patchid=108653&collection=fpatches - 272. http://sunsolve.sun.com/pub-cgi/retrieve.pl?patchid=112785&collection=fpatches - 273. http://sunsolve.sun.com/pub-cgi/retrieve.pl?patchid=112786&collection=fpatches - 274. http://xprint.mozdev.org/bugs/show_bug.cgi?id=3353#c24 - 275. http://bugzilla.mozilla.org/show_bug.cgi?id=199957#c6 - 276. http://xprint.mozdev.org/lxr/http/source/xprint/src/xprint_main/xc/packager/solaris/GISWxprint/README - 277. http://xprint.mozdev.org/lxr/http/source/xprint/src/xprint_main/xc/packager/solaris/GISWxprintglue/README - 278. http://sdb.suse.de/en/sdb/html/jsmeix_print-81-cups-formfeed.html - 279. http://sdb.suse.de/en/sdb/html/jsmeix_print-81-cups-formfeed.html - 280. http://xprint.mozdev.org/bugs/show_bug.cgi?id=4181 - 281. http://bugzilla.mozilla.org/show_bug.cgi?id=180602#c7 - 315. http://stsf.sourceforge.net/ - 317. http://xprint.freedesktop.org/cgi-bin/viewcvs.cgi/xorg/xc/programs/glxgears/ - 326. http://xprint.mozdev.org/ - 327. http://xprint.mozdev.org/bugs/show_bug.cgi?id=1378 - 328. http://bugzilla.mozilla.org/show_bug.cgi?id=140030 - 329. mailto:alan.coopersmith@sun.com - 330. mailto:ghibo@mandrakesoft.com - 331. mailto:thomas_gilg@hp.com - 332. mailto:jay.hobson@sun.com - 333. mailto:katakai@japan.sun.com - 334. mailto:smontagu@smontagu.org - 335. mailto:dparsons@debian.org + 153. http://xprint.mozdev.org/ + 154. http://xprint.mozdev.org/list.html + 162. http://stsf.sourceforge.net/ + 167. http://xprint.mozdev.org/bugs/show_bug.cgi?id=2261 + 168. http://xprint.mozdev.org/ + 169. http://ttf2pt1.sourceforge.net/download.html + 172. http://xprint.mozdev.org/ + 173. http://www.opengroup.org/cde/ + 174. http://www.mozilla.org/projects/xprint/ + 175. http://www.mozdev.org/ + 176. http://xprint.freedesktop.org/ + 177. http://www.sourceforge.net/projects/xprint/ + 178. http://xprint.mozdev.org/docs/ + 179. http://xprint.mozdev.org/list.html + 181. http://xprint.freedesktop.org/bugzilla/show_bug.cgi?id=636 + 201. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=171174 + 202. http://xprint.mozdev.org/ + 204. http://xprint.mozdev.org/ + 207. http://xprint.mozdev.org/bugs/show_bug.cgi?id=5092 + 230. http://www.adobe.com/type/main.html + 231. http://www.adobe.com/type/eurofont.html + 232. ftp://ftp.adobe.com/pub/adobe/type/win/all/ + 234. http://xprint.mozdev.org/bugs/show_bug.cgi?id=2092 + 235. http://xprint.mozdev.org/bugs/show_bug.cgi?id=2430 + 236. http://xprint.freedesktop.org/bugzilla/enter_bug.cgi?product=xprint&component=Server%3A%20Config%3A%20model-configs + 237. http://xprint.freedesktop.org/bugzilla/enter_bug.cgi + 262. http://packages.debian.org/stable/utils/type1inst.html + 263. http://packages.debian.org/stable/x11/ttmkfdir.html + 264. http://xprint.mozdev.org/ + 265. http://xprint.mozdev.org/bugs/show_bug.cgi?id=2475 + 266. http://www.inf.bme.hu/~pts/textrace-latest.tar.gz + 267. http://bugzilla.mozilla.org/show_bug.cgi?id=120560 + 268. http://bugzilla.mozilla.org/show_bug.cgi?id=142718 + 269. http://xprint.mozdev.org/ + 270. ftp://ftp.x.org/pub/R6.6/xc/programs/Xserver/Xext/SecurityPolicy + 271. http://xprint.mozdev.org/bugs/show_bug.cgi?id=3353 + 272. http://bugzilla.mozilla.org/show_bug.cgi?id=199957 + 273. http://sunsolve.sun.com/ + 274. http://xprint.mozdev.org/bugs/show_bug.cgi?id=3353 + 277. http://sunsolve.sun.com/pub-cgi/retrieve.pl?patchid=108652&collection=fpatches + 278. http://sunsolve.sun.com/pub-cgi/retrieve.pl?patchid=108653&collection=fpatches + 279. http://sunsolve.sun.com/pub-cgi/retrieve.pl?patchid=112785&collection=fpatches + 280. http://sunsolve.sun.com/pub-cgi/retrieve.pl?patchid=112786&collection=fpatches + 281. http://xprint.mozdev.org/bugs/show_bug.cgi?id=3353#c24 + 282. http://bugzilla.mozilla.org/show_bug.cgi?id=199957#c6 + 283. http://xprint.mozdev.org/lxr/http/source/xprint/src/xprint_main/xc/packager/solaris/GISWxprint/README + 284. http://xprint.mozdev.org/lxr/http/source/xprint/src/xprint_main/xc/packager/solaris/GISWxprintglue/README + 285. http://sdb.suse.de/en/sdb/html/jsmeix_print-81-cups-formfeed.html + 286. http://sdb.suse.de/en/sdb/html/jsmeix_print-81-cups-formfeed.html + 287. http://xprint.mozdev.org/bugs/show_bug.cgi?id=4181 + 288. http://bugzilla.mozilla.org/show_bug.cgi?id=180602#c7 + 322. http://stsf.sourceforge.net/ + 324. http://xprint.freedesktop.org/cgi-bin/viewcvs.cgi/xorg/xc/programs/glxgears/ + 333. http://xprint.mozdev.org/ + 334. http://xprint.mozdev.org/bugs/show_bug.cgi?id=1378 + 335. http://bugzilla.mozilla.org/show_bug.cgi?id=140030 + 336. mailto:alan.coopersmith@sun.com + 337. mailto:ghibo@mandrakesoft.com + 338. mailto:thomas_gilg@hp.com + 339. mailto:jay.hobson@sun.com + 340. mailto:katakai@japan.sun.com + 341. mailto:smontagu@smontagu.org + 342. mailto:dparsons@debian.org diff --git a/hardcopy/XPRINT/Xprint_FAQ.xml b/hardcopy/XPRINT/Xprint_FAQ.xml index d954954..4396291 100644 --- a/hardcopy/XPRINT/Xprint_FAQ.xml +++ b/hardcopy/XPRINT/Xprint_FAQ.xml @@ -44,7 +44,7 @@ Mappings used in this DocBook document: Version: 0.9.1 </para> <para> - Last-Modified: 2004/05/16 08:15:16 + Last-Modified: 2004/06/14 08:15:16 </para> <para> Maintained-by: @@ -906,6 +906,11 @@ Mappings used in this DocBook document: </listitem> <listitem> <para> + Xedit, Xman, Xmore, etc. (starting with X.org release 6.7.1) + </para> + </listitem> + <listitem> + <para> <ulink url="http://www.opengroup.org/cde/">Common Desktop Environment (CDE) 2.x</ulink> </para> </listitem> @@ -947,15 +952,19 @@ Mappings used in this DocBook document: </question> <answer> <para> - No, Xprint is a general-purpose print API based on the X11 API used by - many applications (<ulink url="http://www.mozdev.org/">mozdev.org</ulink> is just - hosting the development area, but this does not mean the project is limited to mozilla... - <literal>:)</literal>). + No, Xprint is a general-purpose print API based on X11 used by + many applications - <ulink url="http://www.mozdev.org/">mozdev.org</ulink> is just + one of the hosting places (others are + <ulink url="http://xprint.freedesktop.org/">http://xprint.freedesktop.org/</ulink> (bugzilla, CVS) + and <ulink url="http://www.sourceforge.net/projects/xprint/">http://www.sourceforge.net/projects/xprint/</ulink> (download area)) + hosting the development area, <ulink url="http://xprint.mozdev.org/docs/">documentation</ulink> and + <ulink url="http://xprint.mozdev.org/list.html">mailinglist</ulink>. + <literal>:)</literal>. </para> </answer> </qandaentry> -<qandaentry> +<qandaentry id="xprint_license"> <question> <para> Under which license is the source code from xprint.mozdev.org distributed under ? @@ -963,7 +972,7 @@ Mappings used in this DocBook document: </question> <answer> <para> - That's the plain "MIT" license, the same as used by Xfree86.org and X.org: + That's the plain "MIT" license, the same as used by Xfree86.org < V4.4.0 and X.org: <programlisting> Copyright (c) <year> <copyright holders> @@ -1014,7 +1023,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN <qandadiv id="faq_usage"> <title>Usage</title> -<qandaentry> +<qandaentry id="how_to_configure_xprint_clients"> <question> <para> How do I configure Xprint on the client side ? @@ -1051,38 +1060,9 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN <listitem> <para> The env variable <envar>${XPRINTER}</envar> defines the default printer used by print - applications. The syntax is either <printername> or - <printername>@<display> - - <orderedlist> - <title>Examples:</title> - <listitem> - <para> -<screen> - % <userinput>export XPRINTER=ps003</userinput> -</screen> - tells an application to look for the first printer named "ps003" on - all Xprt servers. - </para> - </listitem> - <listitem> - <para> -<screen> - % <userinput>export XPRINTER="hplaser19@littlecat:80"</userinput> -</screen> - tells an application to look for the printer "hplaser19" on the Xprt - display "littlecat:80". - </para> - </listitem> - </orderedlist> - <note> - <title>Note:</title> - <para> - If <envar>${XPRINTER}</envar> is not set the applications will examine the values of - the <envar>${PDPRINTER}</envar>, <envar>${LPDEST}</envar>, and - <envar>${PRINTER}</envar> env vars (in that order). - </para> - </note> + applications. + The details can be found in the FAQ item + <link linkend="configure_default_printer">How do I change the default printer used by Xprint applications ?</link> ... </para> </listitem> </orderedlist> @@ -1306,7 +1286,7 @@ printer: david_dj01@jason:5</computeroutput> <screen> % <userinput>xplsprinters -printer ps002 -l</userinput> <computeroutput>printer: ps002@castor:18 - comment= + description= model-identifier=HPDJ1600C default-medium=iso-a4 default-input-tray= @@ -1647,7 +1627,52 @@ Set remote XPSERVERLIST with % export XPSERVERLIST="localhost:100 localhost:101 <qandadiv id="faq_configuration"> <title>Configuration</title> -<qandaentry> +<qandaentry id="configure_default_printer"> + <question> + <para> + How do I change the default printer used by Xprint applications ? + </para> + </question> + <answer> + <para> + The env variable <envar>${XPRINTER}</envar> defines the default printer used by print + applications. The syntax is either <printername> or + <printername>@<display> + + <orderedlist> + <title>Examples:</title> + <listitem> + <para> +<screen> + % <userinput>export XPRINTER=ps003</userinput> +</screen> + tells an application to look for the first printer named "ps003" on + all Xprt servers. + </para> + </listitem> + <listitem> + <para> +<screen> + % <userinput>export XPRINTER="hplaser19@littlecat:80"</userinput> +</screen> + tells an application to look for the printer "hplaser19" on the Xprt + display "littlecat:80". + </para> + </listitem> + </orderedlist> + <note> + <title>Note:</title> + <para> + If <envar>${XPRINTER}</envar> is not set the applications will examine the values of + the <envar>${PDPRINTER}</envar>, <envar>${LPDEST}</envar>, and + <envar>${PRINTER}</envar> env vars (in that order). + </para> + </note> + </para> + </answer> +</qandaentry> + +<qandaentry id="configure_default_plex"> <question> <para> How do I change the defaults for double-sided/single-sided/etc. @@ -1724,7 +1749,7 @@ Set remote XPSERVERLIST with % export XPSERVERLIST="localhost:100 localhost:101 </answer> </qandaentry> -<qandaentry> +<qandaentry id="configure_default_papersize"> <question> <para> I am in America and I don't have any ISO A4 paper. How do I change the @@ -1892,7 +1917,7 @@ Set remote XPSERVERLIST with % export XPSERVERLIST="localhost:100 localhost:101 </answer> </qandaentry> -<qandaentry> +<qandaentry id="configure_default_resolution"> <question> <para> How do I change the default printer resolution ? @@ -2008,7 +2033,7 @@ Set remote XPSERVERLIST with % export XPSERVERLIST="localhost:100 localhost:101 </answer> </qandaentry> -<qandaentry> +<qandaentry id="configure_default_orientation"> <question> <para> How do I change the default settings for "portrait"/"landscape"/"seascape" (=page orientation) ? @@ -2085,7 +2110,7 @@ Set remote XPSERVERLIST with % export XPSERVERLIST="localhost:100 localhost:101 </answer> </qandaentry> -<qandaentry> +<qandaentry id="how_to_prevent_usage_of_bitmap_fonts"> <question> <para> How can I prevent Xprt from using any bitmap(=gfx) fonts ? @@ -2564,7 +2589,7 @@ Printer hplaser6 </answer> </qandaentry> -<qandaentry> +<qandaentry id="where_can_i_get_more_model_configs_from"> <question> <para> Where can I get more model-configs from ? @@ -2573,10 +2598,10 @@ Printer hplaser6 <answer> <para> If you miss a model-config for your printer please open a bug/RFE at - <ulink url="http://xprint.freedesktop.org/bugzilla/enter_bug.cgi?product=xprint&component=Server%3A+Config%3A+model-configs"> - http://xprint.freedesktop.org/bugzilla/enter_bug.cgi?product=xprint&component=Server%3A+Config%3A+model-configs</ulink> + <ulink url="http://xprint.freedesktop.org/bugzilla/enter_bug.cgi?product=xprint&component=Server%3A%20Config%3A%20model-configs"> + http://xprint.freedesktop.org/bugzilla/enter_bug.cgi?product=xprint&component=Server%3A%20Config%3A%20model-configs</ulink> (e.g. <ulink url="http://xprint.freedesktop.org/bugzilla/enter_bug.cgi">http://xprint.freedesktop.org/bugzilla/enter_bug.cgi</ulink>, product "Xprint", component - "Server Config: model-configs"). + "Server: Config: model-configs"). </para> </answer> </qandaentry> @@ -4038,7 +4063,7 @@ Xp Extension: Can't load driver XP-RASTER </answer> </qandaentry> -<qandaentry> +<qandaentry id="why_does_xprt_not_support_mitshm"> <question> <para> Why does Xprt not offer the MIT-SHM protocol extension ? |