summaryrefslogtreecommitdiff
path: root/hardcopy/XPRINT/Xprint_FAQ.html
diff options
context:
space:
mode:
Diffstat (limited to 'hardcopy/XPRINT/Xprint_FAQ.html')
-rw-r--r--hardcopy/XPRINT/Xprint_FAQ.html641
1 files changed, 329 insertions, 312 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 &quot;Xprint&quot; &quot;mozilla&quot;-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 &quot;root&quot; 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">
&quot;xset q&quot; lists all model-specific font dirs (like
PRINTER:/myxpcfg/C/print/models/SPSPARC2/fonts/&quot;) - is that a bug ?
- </a></dt><dt>Q: <a href="#id2874952">
+ </a></dt><dt>Q: <a href="#id2874954">
My application lists a printer called &quot;xp_ps_spooldir_tmp_Xprintjobs&quot; /
&quot;xp_pdf_spooldir_tmp_Xprintjobs&quot; / &quot;spooldir_tmp_Xprintjobs&quot; / 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 &quot;portrait&quot;/&quot;landscape&quot;/&quot;seascape&quot; (=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 (&quot;xfs&quot;) with Xprt ?
- </a></dt><dt>Q: <a href="#id2877673">
+ </a></dt><dt>Q: <a href="#id2877836">
What is a &quot;model-config&quot; ?
- </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 &quot;fonts&quot; ?
- </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 &amp;co. as &quot;root&quot; 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 &quot;xp_ps_spooldir_tmp_Xprintjobs&quot; / &quot;xp_pdf_spooldir_tmp_Xprintjobs&quot; 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">
&quot;Printing itself works but the printout covers only 1/4 of the paper - what am I doing wrong ?&quot;
- </a></dt><dt>Q: <a href="#id2878803">
+ </a></dt><dt>Q: <a href="#id2878971">
&quot;Printing works but I get large borders/margins...&quot; / &quot;[Top] margin is too small&quot; /
&quot;Margins are wrong&quot; / etc.
- </a></dt><dt>Q: <a href="#id2878887">
+ </a></dt><dt>Q: <a href="#id2879055">
Xprt refuses to start with the message &quot;sh: lpc: command not found&quot; 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 &quot;meridian:52.0&quot; 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 &quot;failed to set default font path
'...' Fatal server error: could not open default font 'fixed'&quot;.
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 &quot;Fatal server error: could not
open default font 'fixed'&quot;. 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 &quot;Fatal server error: Cannot
establish any listening sockets - Make sure an X server isn't already
running&quot;. 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 &quot;Fatal server error: Failed to
establish all listening sockets&quot;. 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 &quot;Fatal server error: could not
open default font 'fixed'&quot; or &quot;Fatal server error: could not open default
cursor font 'cursor'&quot;.
- </a></dt><dt>Q: <a href="#id2879557">
+ </a></dt><dt>Q: <a href="#id2879727">
Xprt refuses to start with the message &quot;Fatal server error: no screens
found&quot;. What does that mean ?
- </a></dt><dt>Q: <a href="#id2879848">
+ </a></dt><dt>Q: <a href="#id2880016">
Xprt prints a warning like &quot;Xp Extension: could not find config dir
/usr/X11R6/lib/X11/C/print&quot; - what does that mean ?
- </a></dt><dt>Q: <a href="#id2879922">
+ </a></dt><dt>Q: <a href="#id2880091">
Xprt crashes with &quot;Fatal server error: Beziers this big not yet supported&quot;
What does that mean ?
- </a></dt><dt>Q: <a href="#id2879948">
+ </a></dt><dt>Q: <a href="#id2880117">
&quot;My PS Type1 font does not work with my Xserver - how can I fix this ?&quot;
- </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 &quot;Fatal server error:
unable to exec '/usr/bin/lp'&quot;. 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
&quot;FOOBAR not found, using Courier. CMEX0123 not found, using Courier.&quot;
etc. and uses &quot;Courier&quot; instead of these fonts...
- </a></dt><dt>Q: <a href="#id2880437">
+ </a></dt><dt>Q: <a href="#id2880605">
&quot;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...&quot;
- </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 &quot;error opening security policy file
/usr/X11R6/lib/X11/xserver/SecurityPolicy&quot;. What does that mean ?
- </a></dt><dt>Q: <a href="#id2880629">
+ </a></dt><dt>Q: <a href="#id2880798">
I have modified the &quot;HPLJ4family&quot; [or &quot;HPDJ1600C&quot; 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 &quot;GISWxprint&quot; / &quot;GISWxprintglue&quot; packages fails like this:
# pkgadd -d /space/staging/xprint/GISWxprint.pkg
pkgadd: ERROR: no packages were found in &lt;/var/tmp/dstreAAA5Jayyz&gt;
@@ -265,70 +267,70 @@ pkgadd: ERROR: no packages were found in &lt;/var/tmp/dstreAAA5Jayyz&gt;
</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 &quot;normal&quot; 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 &quot;offscreen&quot; 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 &quot;xdpyinfo&quot; ?
- </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 &quot;white&quot; ?
- </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 &lt;/var/tmp/dstreAAA5Jayyz&gt;
Which applications support Xprint ?
</a></dt><dt>Q: <a href="#is_xprint_only_for_mozilla">
Is &quot;Xprint&quot; &quot;mozilla&quot;-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 &lt;/var/tmp/dstreAAA5Jayyz&gt;
</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 &lt;/var/tmp/dstreAAA5Jayyz&gt;
</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 &quot;Xprint&quot; &quot;mozilla&quot;-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 &quot;MIT&quot; license, the same as used by Xfree86.org and X.org:
+ That's the plain &quot;MIT&quot; license, the same as used by Xfree86.org &lt; V4.4.0 and X.org:
</p><pre class="programlisting">
Copyright (c) &lt;year&gt; &lt;copyright holders&gt;
@@ -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 &quot;page description languages (<a href="#what_does_pdl_mean">PDL</a>)&quot;
@@ -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
(&quot;RFE: Add an Adobe PPD to model-config converter / xpppdtomodelconfig&quot;)</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 &quot;root&quot; 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">
&quot;xset q&quot; lists all model-specific font dirs (like
PRINTER:/myxpcfg/C/print/models/SPSPARC2/fonts/&quot;) - is that a bug ?
- </a></dt><dt>Q: <a href="#id2874952">
+ </a></dt><dt>Q: <a href="#id2874954">
My application lists a printer called &quot;xp_ps_spooldir_tmp_Xprintjobs&quot; /
&quot;xp_pdf_spooldir_tmp_Xprintjobs&quot; / &quot;spooldir_tmp_Xprintjobs&quot; / 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
&quot;littlecat&quot; 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 &lt;printername&gt; or
- &lt;printername&gt;@&lt;display&gt;
-
- </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 &quot;ps003&quot; on
- all Xprt servers.
- </p></li><li xmlns:ns16=""><p>
-</p><pre class="screen">
- % <b class="userinput"><tt>export XPRINTER=&quot;hplaser19@littlecat:80&quot;</tt></b>
-</pre><p>
- tells an application to look for the printer &quot;hplaser19&quot; on the Xprt
- display &quot;littlecat:80&quot;.
- </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
(&quot;GISWxprintglue&quot; 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 &quot;manually&quot; (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 &quot;/Font Path:/ { i=1 ; next } i==1 { print \$0 ; i=0 }&quot;) :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 &quot;accept&quot; and/or &quot;reject&quot; font paths
- </p></li><li xmlns:ns23=""><p>
+ </p></li><li xmlns:ns20=""><p>
'xset q | awk &quot;/Font Path:/ { i=1 ; next } i==1 { print \$0 ; i=0 }&quot;'
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=&quot;,&quot; ; 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 &quot;xplsprinters&quot; 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 &quot;ps002&quot;:
</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>
&quot;<tt class="filename">xc/programs/Xserver/Xprint/etc/init.d/xprint</tt>&quot; 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>
&quot;<tt class="filename">xc/programs/Xserver/Xprint/etc/init.d/xprint</tt>&quot; 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
&quot;my_xprint_startscript start&quot; before starting the application and a
&quot;my_xprint_startscript stop&quot; 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 &quot;-audit&quot;
- </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 &quot;root&quot; 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 &quot;-pn&quot;; therefore even
Xprt server binaries which are not setgid &quot;root&quot; 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>
&quot;xplsprinters -printer myprinter004 -l&quot; 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 &quot;foobar:98&quot; 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>
&quot;xset q&quot; lists all model-specific font dirs (like
PRINTER:/myxpcfg/C/print/models/SPSPARC2/fonts/&quot;) - 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 &quot;xp_ps_spooldir_tmp_Xprintjobs&quot; /
&quot;xp_pdf_spooldir_tmp_Xprintjobs&quot; / &quot;spooldir_tmp_Xprintjobs&quot; / 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>
&quot;xp_ps_spooldir_tmp_Xprintjobs&quot; and &quot;xp_pdf_spooldir_tmp_Xprintjobs&quot;
(&quot;spooldir_tmp_Xprintjobs&quot; was the old, pre-009 name for &quot;xp_ps_spooldir_tmp_Xprintjobs&quot;)
are special Xprint printer targets which uses the &quot;PSspooldir&quot; / &quot;PS2PDFspooldir-GS&quot;
@@ -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 (&quot;[PS2PDFspooldir-GS] RFE: Add printer model which sends PDF jobs to /tmp/Xprintjobs/&quot;)</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 (&quot;33&quot; in this example) to get the port number
(X11 port numbers start at port 6000. 6000 is display number &quot;0&quot;, 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=&quot;localhost:33 ${XPSERVERLIST}&quot;</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 &quot;Set remote XPSERVERLIST with % export XPSERVERLIST=\&quot;${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=&quot;localhost:100 localhost:101 ${XPSERVERLIST}&quot;</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 &quot;portrait&quot;/&quot;landscape&quot;/&quot;seascape&quot; (=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 (&quot;xfs&quot;) with Xprt ?
- </a></dt><dt>Q: <a href="#id2877673">
+ </a></dt><dt>Q: <a href="#id2877836">
What is a &quot;model-config&quot; ?
- </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 &quot;fonts&quot; ?
- </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 &amp;co. as &quot;root&quot; 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 &quot;xp_ps_spooldir_tmp_Xprintjobs&quot; / &quot;xp_pdf_spooldir_tmp_Xprintjobs&quot; 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 &lt;printername&gt; or
+ &lt;printername&gt;@&lt;display&gt;
+
+ </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 &quot;ps003&quot; on
+ all Xprt servers.
+ </p></li><li xmlns:ns33=""><p>
+</p><pre class="screen">
+ % <b class="userinput"><tt>export XPRINTER=&quot;hplaser19@littlecat:80&quot;</tt></b>
+</pre><p>
+ tells an application to look for the printer &quot;hplaser19&quot; on the Xprt
+ display &quot;littlecat:80&quot;.
+ </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=&quot;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=&quot;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 &quot;default-printer-resolution&quot; attribute in the
@@ -1496,7 +1513,7 @@ Set remote XPSERVERLIST with % export XPSERVERLIST=&quot;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 &quot;portrait&quot;/&quot;landscape&quot;/&quot;seascape&quot; (=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 &quot;content-orientation&quot; attribute in the
@@ -1541,7 +1558,7 @@ Set remote XPSERVERLIST with % export XPSERVERLIST=&quot;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 &quot;-fp&quot; (=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 &quot;ps001&quot;, ps003&quot; and &quot;hplaser6&quot;.
- </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 &quot;Augment_Printer_List my_script&quot; 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 (&quot;Portable Compiled Format&quot;) 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 (&quot;xfs&quot;) 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 (&quot;xfs&quot;) like with any other
@@ -1746,7 +1763,7 @@ Printer hplaser6
(users of xprint.mozdev.org-release &lt;= 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 &quot;xfs&quot;; 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 &quot;model-config&quot; ?
</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 &quot;model-config&quot; 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 &quot;fonts&quot; ?
</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
(&quot;RFE: Need tool to create PMF (printer metrics file) fonts&quot;)</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&amp;component=Server%3A%2BConfig%3A%2Bmodel-configs" target="_top">
- http://xprint.freedesktop.org/bugzilla/enter_bug.cgi?product=xprint&amp;component=Server%3A+Config%3A+model-configs</a>
+ <a href="http://xprint.freedesktop.org/bugzilla/enter_bug.cgi?product=xprint&amp;component=Server%3A%20Config%3A%20model-configs" target="_top">
+ http://xprint.freedesktop.org/bugzilla/enter_bug.cgi?product=xprint&amp;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 &quot;Xprint&quot;, component
- &quot;Server Config: model-configs&quot;).
- </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>
+ &quot;Server: Config: model-configs&quot;).
+ </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 &amp;co. as &quot;root&quot; 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 (&quot;l10n&quot;) 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 &quot;xp_ps_spooldir_tmp_Xprintjobs&quot; / &quot;xp_pdf_spooldir_tmp_Xprintjobs&quot; 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">
&quot;Printing itself works but the printout covers only 1/4 of the paper - what am I doing wrong ?&quot;
- </a></dt><dt>Q: <a href="#id2878803">
+ </a></dt><dt>Q: <a href="#id2878971">
&quot;Printing works but I get large borders/margins...&quot; / &quot;[Top] margin is too small&quot; /
&quot;Margins are wrong&quot; / etc.
- </a></dt><dt>Q: <a href="#id2878887">
+ </a></dt><dt>Q: <a href="#id2879055">
Xprt refuses to start with the message &quot;sh: lpc: command not found&quot; 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 &quot;meridian:52.0&quot; 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 &quot;failed to set default font path
'...' Fatal server error: could not open default font 'fixed'&quot;.
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 &quot;Fatal server error: could not
open default font 'fixed'&quot;. 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 &quot;Fatal server error: Cannot
establish any listening sockets - Make sure an X server isn't already
running&quot;. 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 &quot;Fatal server error: Failed to
establish all listening sockets&quot;. 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 &quot;Fatal server error: could not
open default font 'fixed'&quot; or &quot;Fatal server error: could not open default
cursor font 'cursor'&quot;.
- </a></dt><dt>Q: <a href="#id2879557">
+ </a></dt><dt>Q: <a href="#id2879727">
Xprt refuses to start with the message &quot;Fatal server error: no screens
found&quot;. What does that mean ?
- </a></dt><dt>Q: <a href="#id2879848">
+ </a></dt><dt>Q: <a href="#id2880016">
Xprt prints a warning like &quot;Xp Extension: could not find config dir
/usr/X11R6/lib/X11/C/print&quot; - what does that mean ?
- </a></dt><dt>Q: <a href="#id2879922">
+ </a></dt><dt>Q: <a href="#id2880091">
Xprt crashes with &quot;Fatal server error: Beziers this big not yet supported&quot;
What does that mean ?
- </a></dt><dt>Q: <a href="#id2879948">
+ </a></dt><dt>Q: <a href="#id2880117">
&quot;My PS Type1 font does not work with my Xserver - how can I fix this ?&quot;
- </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 &quot;Fatal server error:
unable to exec '/usr/bin/lp'&quot;. 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
&quot;FOOBAR not found, using Courier. CMEX0123 not found, using Courier.&quot;
etc. and uses &quot;Courier&quot; instead of these fonts...
- </a></dt><dt>Q: <a href="#id2880437">
+ </a></dt><dt>Q: <a href="#id2880605">
&quot;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...&quot;
- </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 &quot;error opening security policy file
/usr/X11R6/lib/X11/xserver/SecurityPolicy&quot;. What does that mean ?
- </a></dt><dt>Q: <a href="#id2880629">
+ </a></dt><dt>Q: <a href="#id2880798">
I have modified the &quot;HPLJ4family&quot; [or &quot;HPDJ1600C&quot; 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 &quot;GISWxprint&quot; / &quot;GISWxprintglue&quot; packages fails like this:
# pkgadd -d /space/staging/xprint/GISWxprint.pkg
pkgadd: ERROR: no packages were found in &lt;/var/tmp/dstreAAA5Jayyz&gt;
@@ -2026,7 +2043,7 @@ pkgadd: ERROR: no packages were found in &lt;/var/tmp/dstreAAA5Jayyz&gt;
</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>
&quot;Printing itself works but the printout covers only 1/4 of the paper - what am I doing wrong ?&quot;
</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 &lt;/var/tmp/dstreAAA5Jayyz&gt;
supported by your printer (&quot;printer-resolutions-supported&quot; is the
attribute in the &quot;model-config&quot; 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>
&quot;Printing works but I get large borders/margins...&quot; / &quot;[Top] margin is too small&quot; /
&quot;Margins are wrong&quot; / 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 &lt;/var/tmp/dstreAAA5Jayyz&gt;
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 &quot;sh: lpc: command not found&quot; 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 &lt;/var/tmp/dstreAAA5Jayyz&gt;
# Start Xprt ...
% <b class="userinput"><tt>Xprt &lt;your-options-come-here&gt;</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 &quot;failed to set default font path
'...' Fatal server error: could not open default font 'fixed'&quot;.
What does that mean ?
@@ -2172,7 +2189,7 @@ INET:mars</tt>
with the name &quot;fixed&quot; 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 &quot;Fatal server error: could not
open default font 'fixed'&quot;. 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 &quot;ttmkfdir&quot; (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 &quot;Fatal server error: Cannot
establish any listening sockets - Make sure an X server isn't already
running&quot;. 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 &quot;:0&quot; 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 &quot;Fatal server error: Failed to
establish all listening sockets&quot;. 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
&lt;hostname&gt;:&lt;displaynum&gt; (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 &quot;Fatal server error: could not
open default font 'fixed'&quot; or &quot;Fatal server error: could not open default
cursor font 'cursor'&quot;.
@@ -2218,7 +2235,7 @@ INET:mars</tt>
(&quot;fixed&quot;) and one font for the cursor (&quot;cursor&quot;). 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 &quot;Fatal server error: no screens
found&quot;. 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 &quot;Xp Extension: could not find config dir
/usr/X11R6/lib/X11/C/print&quot; - 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 &quot;Fatal server error: Beziers this big not yet supported&quot;
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 &quot;My PS Type1 font does not work with my Xserver&quot; ...
- </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>
&quot;My PS Type1 font does not work with my Xserver - how can I fix this ?&quot;
</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 &quot;Fatal server error:
unable to exec '/usr/bin/lp'&quot;. 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
&quot;FOOBAR not found, using Courier. CMEX0123 not found, using Courier.&quot;
etc. and uses &quot;Courier&quot; 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 (&quot;Solaris Xsun does not like CMEX10/CMSY10 Type1 fonts&quot;)</a></p></li><li><p><a href="http://bugzilla.mozilla.org/show_bug.cgi?id=142718" target="_top">bugzilla.mozilla.org 142718 (&quot;Document how to get the MathML fonts to work on Solaris&quot;)</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>
&quot;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...&quot;
@@ -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
&quot;vendor string: xprint.mozdev.org&quot; for releases &gt;= 007, older releases
(e.g. &lt;= 006) identify itself as as &quot;vendor string: The X.Org Group&quot;)
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 &quot;error opening security policy file
/usr/X11R6/lib/X11/xserver/SecurityPolicy&quot;. 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 &quot;HPLJ4family&quot; [or &quot;HPDJ1600C&quot; 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 &quot;PS&quot; (e.g.
&quot;HPLJ4family-PS&quot;).
- </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
(&quot;Solaris Xprt looses space when rendering with '-monotype-arial-*'-fonts&quot;)</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 &quot;GISWxprint&quot; / &quot;GISWxprintglue&quot; 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 &lt;/var/tmp/dstreAAA5Jayyz&gt;</tt></pre><p>
@@ -2561,7 +2578,7 @@ Xp Extension: Can't load driver XP-RASTER
Please apply the patches listed in the &quot;Installation Requirements&quot; 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 (&quot;Blank Pages When Printing with CUPS&quot;)</a></p></li><li><p><a href="http://xprint.mozdev.org/bugs/show_bug.cgi?id=4181" target="_top">xprint.mozdev.org bug 4181 (&quot;Two empty pages printed first&quot;)</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 (&quot;Printing page results in 16 leading blank pages, followed by a correct, but offset, page&quot;)</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 &quot;normal&quot; 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 &quot;offscreen&quot; 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 &quot;xdpyinfo&quot; ?
- </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 &quot;white&quot; ?
- </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 &quot;normal&quot; 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 &quot;offscreen&quot; 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, &quot;offscreen&quot; 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 &quot;xdpyinfo&quot; ?
</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 &quot;paper&quot; 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 &quot;synthetic&quot;
<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 &quot;bad&quot;. 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 &quot;white&quot; ?
</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 &quot;glxgears&quot;
(<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 &quot;*.pfa&quot;.
- </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
&quot;copy-count&quot; 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 &quot;*.pfa&quot;.
- </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
&quot;copy-count&quot; 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 (&quot;<tt class="filename">libXp.so</tt>&quot;) 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 &quot;*.pfa&quot;.
@@ -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
&quot;copy-count&quot; 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