xprint: Changes to 'debian-unstable'
debian/changelog | 3
debian/xprint-common.docs | 1
hw/xprint/doc/Makefile.am | 3
hw/xprint/doc/Xprint_FAQ.html | 3162 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 3167 insertions(+), 2 deletions(-)
New commits:
commit 46f6dc13073f80c0f2636c2ff54ba4c266aef8ab
Author: Drew Parsons <dparsons@debian.org>
Date: Sun Oct 18 16:10:32 2009 +1100
Install Xprint FAQ to xprint-common.
diff --git a/debian/changelog b/debian/changelog
index 631f4a6..01f9549 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ xprint (2:1.5.0-1) UNRELEASED; urgency=low
* Adjust debian/control and rules to only build xprint.
* Drop 13_debian_add_xkbpath_env_variable.diff (xkb is not relevant
to Xprint).
+ * Added Xprint FAQ (find it in /usr/share/doc/xprint-common).
* Oh yes, like the Night of the Zombies, xprint is Back!
Closes: #448970.
* Standards version 3.8.3.
@@ -27,7 +28,7 @@ xprint (2:1.5.0-1) UNRELEASED; urgency=low
* State in the xprint package description that Xprint is deprecated
and will be removed from the next Debian release.
- -- Drew Parsons <dparsons@debian.org> Sun, 18 Oct 2009 14:58:30 +1100
+ -- Drew Parsons <dparsons@debian.org> Sun, 18 Oct 2009 16:02:02 +1100
xorg-server (2:1.4.1~git20080507-1) unstable; urgency=low
diff --git a/debian/xprint-common.docs b/debian/xprint-common.docs
index d38229c..6372400 100644
--- a/debian/xprint-common.docs
+++ b/debian/xprint-common.docs
@@ -1,2 +1,3 @@
debian/xprint.changelog.Debian
debian/README.printing-problems
+hw/xprint/doc/Xprint_FAQ.html
commit 2686a3828720ee65a67896b74a9d02ca7f00e479
Author: Drew Parsons <dparsons@debian.org>
Date: Sun Oct 18 15:54:27 2009 +1100
Add Xprint FAQ.
Copied from http://xprint.mozdev.org/docs/Xprint_FAQ.html.
Useful document.
diff --git a/hw/xprint/doc/Makefile.am b/hw/xprint/doc/Makefile.am
index e6a8397..f071284 100644
--- a/hw/xprint/doc/Makefile.am
+++ b/hw/xprint/doc/Makefile.am
@@ -19,4 +19,5 @@ SUFFIXES += .$(APP_MAN_SUFFIX) .man
$(LN_S) $< $@
EXTRA_DIST = $(MAN_SRCS) Xprt.html Xprt.sgml Xprt.ps \
- Xprt.book Xprt.mif XprtIX.doc XprtTOC.doc Xprt_cov.mif
+ Xprt.book Xprt.mif XprtIX.doc XprtTOC.doc Xprt_cov.mif \
+ Xprint_FAQ.html
diff --git a/hw/xprint/doc/Xprint_FAQ.html b/hw/xprint/doc/Xprint_FAQ.html
new file mode 100644
index 0000000..52b24d0
--- /dev/null
+++ b/hw/xprint/doc/Xprint_FAQ.html
@@ -0,0 +1,3162 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Xprint Frequently Asked Questions</title><meta name="generator" content="DocBook XSL Stylesheets V1.62.4"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="id2873367"></a>Xprint Frequently Asked Questions</h1></div></div><div></div><hr></div><div xmlns:ns1="" class="abstract"><a name="about"></a><p class="title"><b>About this FAQ</b></p><p>
+ Archive-name: Xprint/FAQ
+ </p><p>
+ Version: 0.9.1
+ </p><p>
+ 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>
+ <tt class="email"><<a href="mailto:roland.mainz@nrubsig.org">roland.mainz@nrubsig.org</a>></tt>
+ </p><p>
+ The following is a list of questions that are frequently asked about
+ Xprint.
+ </p><p>
+ You can help make it an even better-quality FAQ by writing a short
+ contribution or update and sending it BY EMAIL ONLY to me.
+ A contribution should consist of a question and an answer, and increasing
+ number of people sends me contributions of the form "I don't know the
+ answer to this, but it must be a FAQ, please answer it for me". Please
+ read the FAQ first (including the item "<a href="#getting_help">Getting Help</a>")
+ and then feel free to ask me if it is not in the FAQ.
+ </p><p>
+ Thanks!
+ </p><p>
+ The latest Xprint FAQ and some other goodies can be obtained through http from
+ <a href="http://xprint.freedesktop.org/cgi-bin/viewcvs.cgi/*checkout*/xorg/xc/doc/hardcopy/XPRINT/Xprint_FAQ.html" target="_top">
+ http://xprint.freedesktop.org/cgi-bin/viewcvs.cgi/*checkout*/xorg/xc/doc/hardcopy/XPRINT/Xprint_FAQ.html
+ </a>
+ or
+ <a href="http://xprint.freedesktop.org/cgi-bin/viewcvs.cgi/*checkout*/xorg/xc/doc/hardcopy/XPRINT/Xprint_FAQ.txt" target="_top">
+ http://xprint.freedesktop.org/cgi-bin/viewcvs.cgi/*checkout*/xorg/xc/doc/hardcopy/XPRINT/Xprint_FAQ.txt
+ </a>
+ (the DocBook/XML master source file is
+ <a href="http://xprint.freedesktop.org/cgi-bin/viewcvs.cgi/xorg/xc/doc/hardcopy/XPRINT/Xprint_FAQ.xml" target="_top">
+ http://xprint.freedesktop.org/cgi-bin/viewcvs.cgi/xorg/xc/doc/hardcopy/XPRINT/Xprint_FAQ.xml
+ </a>).
+ </p><p>
+ </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
+ Note that the FAQ has not been finished yet (nor is it half-finished...),
+ many items marked with "XXX" as the answer have still to be written (or have
+ to be copy&pasted from my item collection... <tt class="literal">:)</tt>
+ </p></div><p>
+ </p></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="faq"></a>Frequently Asked Questions with Answers</h2></div></div><div></div></div><div class="qandaset"><dl><dt>1. <a href="#faq_general">General</a></dt><dd><dl><dt>Q: <a href="#what_is_xprint">
+ What is "Xprint" ?
+ </a></dt><dt>Q: <a href="#where_can_i_get_xprint_from">
+ Where can I get Xprint/Xprt from ?
+ </a></dt><dt>Q: <a href="#what_is_xprt">
+ What is "Xprt" ?
+ </a></dt><dt>Q: <a href="#getting_help">
+ Where can I get help for problems with Xprint ?
+ </a></dt><dt>Q: <a href="#advantages_of_xprint">
+ "Why do some people like Xprint ?" / "What are the advantages of Xprint ?"
+ </a></dt><dt>Q: <a href="#contra_xprint">
+ Why do some people dislike Xprint ?
+ </a></dt><dt>Q: <a href="#does_xprint_support_anti_aliased_fonts">
+ Does Xprint support anti-aliased fonts ?
+ </a></dt><dt>Q: <a href="#id2808525">
+ How can I check if Xprint is working and should be used ?
+ </a></dt><dt>Q: <a href="#how_can_i_view_postscript_files">
+ How can I view PS(=PostScript) files ?
+ </a></dt><dt>Q: <a href="#how_can_i_view_pcl_files">
+ How can I view PCL files ?
+ </a></dt><dt>Q: <a href="#id2808706">
+ How does Xprt find fonts ?
+ </a></dt><dt>Q: <a href="#id2808781">
+ How can I print TrueType fonts with Xprint ?
+ </a></dt><dt>Q: <a href="#what_does_ddx_mean">
+ What does "DDX" mean ?
+ </a></dt><dt>Q: <a href="#what_does_dix_mean">
+ What does "DIX" mean ?
+ </a></dt><dt>Q: <a href="#what_does_pdl_mean">
+ What does "PDL" mean ?
+ </a></dt><dt>Q: <a href="#id2809022">
+ I have twenty printers installed on my system - but Xprt only shows two
+ screens. Where are all the other printers ?
+ </a></dt><dt>Q: <a href="#platforms_supported_by_xprint">
+ Which platforms support Xprint ?
+ </a></dt><dt>Q: <a href="#id2809119">
+ I have the broken Xfree86 Xprt binary on my system. Do I need a new
+ version of libXp.so (the client side X11 extension library for Xprint),
+ too ?
+ </a></dt><dt>Q: <a href="#how_do_i_spell_xprint">
+ Which spelling is correct - "Xprint", "XPrint", "Xprinter" or Xprt" ?
+ </a></dt><dt>Q: <a href="#id2809192">
+ Which applications support Xprint ?
+ </a></dt><dt>Q: <a href="#is_xprint_only_for_mozilla">
+ Is "Xprint" "mozilla"-only (I saw that it's hosted by mozdev.org) ?
+ </a></dt><dt>Q: <a href="#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="#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="#id2874377">
+ How can I get a list of printers managed by Xprint ?
+ </a></dt><dt>Q: <a href="#id2874480">
+ How can I start Xprt at boot time ?
+ </a></dt><dt>Q: <a href="#id2874513">
+ How can I start Xprt per-user ?
+ </a></dt><dt>Q: <a href="#id2874545">
+ How can I start Xprt only for one application ?
+ </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="#id2874601">
+ How can I manage access control to the Xprt server ?
+ </a></dt><dt>Q: <a href="#id2874699">
+ How can I log access to the Xprt server ?
+ </a></dt><dt>Q: <a href="#id2874732">
+ Does it require "root" permissions to use Xprt/Xprint ?
+ </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="#id2874905">
+ "xset q" lists all model-specific font dirs (like
+ PRINTER:/myxpcfg/C/print/models/SPSPARC2/fonts/") - is that a bug ?
+ </a></dt><dt>Q: <a href="#id2874954">
+ My application lists a printer called "xp_ps_spooldir_tmp_Xprintjobs" /
+ "xp_pdf_spooldir_tmp_Xprintjobs" / "spooldir_tmp_Xprintjobs" / in the
+ print dialog but I do not have such a print queue installed anywhere.
+ What is that for a thing ?!
+ </a></dt><dt>Q: <a href="#manual_xprint_forwarding_via_ssh">
+ How can I forward Xprint services when logging-in via ssh to another machine ?
+ </a></dt></dl></dd><dt>3. <a href="#faq_configuration">Configuration</a></dt><dd><dl><dt>Q: <a href="#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="#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="#configure_default_resolution">
+ How do I change the default printer resolution ?
+ </a></dt><dt>Q: <a href="#configure_default_orientation">
+ How do I change the default settings for "portrait"/"landscape"/"seascape" (=page orientation) ?
+ </a></dt><dt>Q: <a href="#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="#id2877080">
+ Which program is used by default by Xprt to enumerate the printers on my system ?
+ </a></dt><dt>Q: <a href="#id2877337">
+ Where can I get more PostScript Type1 fonts from ?
+ </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="#id2877773">
+ Can I use the fontserver ("xfs") with Xprt ?
+ </a></dt><dt>Q: <a href="#id2877836">
+ What is a "model-config" ?
+ </a></dt><dt>Q: <a href="#id2877947">
+ Where can I store the default values for printers ?
+ </a></dt><dt>Q: <a href="#id2877968">
+ How can I create my own model-config ?
+ </a></dt><dt>Q: <a href="#id2877990">
+ How can I create my own PMF "fonts" ?
+ </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="#id2878099">
+ If I install Xprt &co. as "root" in the default location and don't need
+ to set ${XPCONFIGDIR} - where are my configuration files located then ?
+ </a></dt><dt>Q: <a href="#id2878242">
+ Are config files and/or the PMF fonts architecture dependent ?
+ </a></dt><dt>Q: <a href="#id2878311">
+ Can I localise my Xprint/Xprt configuration (l10n) ?
+ </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="#id2878803">
+ How can I disable "xp_ps_spooldir_tmp_Xprintjobs" / "xp_pdf_spooldir_tmp_Xprintjobs" printer targets ?
+ </a></dt></dl></dd><dt>4. <a href="#faq_troubleshooting">Troubleshooting</a></dt><dd><dl><dt>Q: <a href="#printout_only_covers_1_4_of_the_paper">
+ "Printing itself works but the printout covers only 1/4 of the paper - what am I doing wrong ?"
+ </a></dt><dt>Q: <a href="#id2878971">
+ "Printing works but I get large borders/margins..." / "[Top] margin is too small" /
+ "Margins are wrong" / etc.
+ </a></dt><dt>Q: <a href="#id2879055">
+ Xprt refuses to start with the message "sh: lpc: command not found" on
+ my Linux machine. What does that mean ?
+ </a></dt><dt>Q: <a href="#id2879146">
+ When the application (=client side) tries to connect to the Xprt
+ (Xserver) side it fails with a
+
+Xlib: connection to "meridian:52.0" refused by server
+Xlib: Client is not authorized to connect to Server
+
+ What does that mean ?
+ </a></dt><dt>Q: <a href="#id2879415">
+ Xprt refuses to start with the message "failed to set default font path
+ '...' Fatal server error: could not open default font 'fixed'".
+ What does that mean ?
+ </a></dt><dt>Q: <a href="#id2879513">
+ Just copying my fonts into a directory and adding the path to my Xprt
+ command line didn't work - I always get "Fatal server error: could not
+ open default font 'fixed'". What am I doing wrong ?
+ </a></dt><dt>Q: <a href="#id2879625">
+ Xprt refuses to start with the message "Fatal server error: Cannot
+ establish any listening sockets - Make sure an X server isn't already
+ running". What does that mean ?
+ </a></dt><dt>Q: <a href="#id2879653">
+ Xprt refuses to start with the message "Fatal server error: Failed to
+ establish all listening sockets". What does that mean ?
+ </a></dt><dt>Q: <a href="#id2879698">
+ Xprt refuses to start with the message "Fatal server error: could not
+ open default font 'fixed'" or "Fatal server error: could not open default
+ cursor font 'cursor'".
+ </a></dt><dt>Q: <a href="#id2879727">
+ Xprt refuses to start with the message "Fatal server error: no screens
+ found". What does that mean ?
+ </a></dt><dt>Q: <a href="#id2880016">
+ Xprt prints a warning like "Xp Extension: could not find config dir
+ /usr/X11R6/lib/X11/C/print" - what does that mean ?
+ </a></dt><dt>Q: <a href="#id2880091">
+ Xprt crashes with "Fatal server error: Beziers this big not yet supported"
+ What does that mean ?
+ </a></dt><dt>Q: <a href="#id2880117">
+ "My PS Type1 font does not work with my Xserver - how can I fix this ?"
+ </a></dt><dt>Q: <a href="#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="#id2880277">
+ When I try to print via Xprint I get the message "Fatal server error:
+ unable to exec '/usr/bin/lp'". What is going wrong here ?
+ </a></dt><dt>Q: <a href="#id2880318">
+ The Solaris Xprt prints some error messages about PostScript fonts like
+ "FOOBAR not found, using Courier. CMEX0123 not found, using Courier."
+ etc. and uses "Courier" instead of these fonts...
+ </a></dt><dt>Q: <a href="#id2880605">
+ "Xprt refused to start, complaining about a missing dir
+ (/etc/X11/xserver/C/print/ directory)... I created it by hand (empty) and
+ started Xprt but it still does not work properly..."
+ </a></dt><dt>Q: <a href="#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="#id2880745">
+ I am getting the error message "error opening security policy file
+ /usr/X11R6/lib/X11/xserver/SecurityPolicy". What does that mean ?
+ </a></dt><dt>Q: <a href="#id2880798">
+ I have modified the "HPLJ4family" [or "HPDJ1600C" etc.] printer model to
+ work with my PostScript printer, but when I print I get empty places
+ where some text should be - what am I doing wrong here ?
+ </a></dt><dt>Q: <a href="#id2880851">
+ Xprt outputs warning messages like:
+
+
+Xp Extension: Can't load driver XP-PCL-MONO
+ init function missing
+Xp Extension: Can't load driver XP-RASTER
+ init function missing
+
+
+ What does that mean ?
+ </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="#id2881576">
+ Installation of the "GISWxprint" / "GISWxprintglue" packages fails like this:
+# pkgadd -d /space/staging/xprint/GISWxprint.pkg
+pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA5Jayyz>
+ Any idea what I am doing wrong ?
+ </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="#id2881884">
+ How does the X print server (Xprt) and the Xlib client side differ
+ from the "normal" video Xserver/video client side ?
+ </a></dt><dt>Q: <a href="#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="#id2882381">
+ Do "offscreen" pixmaps work on Xprt ?
+ </a></dt><dt>Q: <a href="#id2882403">
+ How can I get the DPI value for the current Xprt server ? Can I use the
+ values from "xdpyinfo" ?
+ </a></dt><dt>Q: <a href="#why_does_xprt_not_support_mitshm">
+ Why does Xprt not offer the MIT-SHM protocol extension ?
+ </a></dt><dt>Q: <a href="#id2882576">
+ Does Xprint/Xprt support font rotation ?
+ </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="#id2882791">
+ What is XpStartDoc for ?
+ </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="#id2882955">
+ How can I scale images using the Xprint API ?
+ </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="#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="#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="#id2883200">
+ How to print with Xt/Athena widgets ?
+ </a></dt><dt>Q: <a href="#id2883293">
+ How to print with Xt/Motif widgets ?
+ </a></dt><dt>Q: <a href="#id2883318">
+ What are the differences between normal display and Xprint display ?
+ </a></dt><dt>Q: <a href="#id2883340">
+ How do I scale images ?
+ </a></dt><dt>Q: <a href="#id2883361">
+ libXp Image scaling vs. max. request size ?
+ </a></dt><dt>Q: <a href="#id2883383">
+ How can I use XprintUtils ?
+ </a></dt><dt>Q: <a href="#id2883405">
+ How do I calculate the DPI values for Xprt DDX screens ?
+ </a></dt><dt>Q: <a href="#id2883427">
+ How do I find scaleable fonts ?
+ </a></dt><dt>Q: <a href="#id2883449">
+ How do I find printer-builtin fonts ?
+ </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="#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="#id2883569">
+ When printing using the XawPrintShell/XmPrintShell
+ print shells I always get a grey/dithered background on paper.
+ Any idea how to change that to "white" ?
+ </a></dt><dt>Q: <a href="#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></dd></dl><table border="0" summary="Q and A Set"><col align="left" width="1%"><tbody><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq_general"></a><h4 class="title"><a name="faq_general"></a>1. General</h4></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="#what_is_xprint">
+ What is "Xprint" ?
+ </a></dt><dt>Q: <a href="#where_can_i_get_xprint_from">
+ Where can I get Xprint/Xprt from ?
+ </a></dt><dt>Q: <a href="#what_is_xprt">
+ What is "Xprt" ?
+ </a></dt><dt>Q: <a href="#getting_help">
+ Where can I get help for problems with Xprint ?
+ </a></dt><dt>Q: <a href="#advantages_of_xprint">
+ "Why do some people like Xprint ?" / "What are the advantages of Xprint ?"
+ </a></dt><dt>Q: <a href="#contra_xprint">
+ Why do some people dislike Xprint ?
+ </a></dt><dt>Q: <a href="#does_xprint_support_anti_aliased_fonts">
+ Does Xprint support anti-aliased fonts ?
+ </a></dt><dt>Q: <a href="#id2808525">
+ How can I check if Xprint is working and should be used ?
+ </a></dt><dt>Q: <a href="#how_can_i_view_postscript_files">
+ How can I view PS(=PostScript) files ?
+ </a></dt><dt>Q: <a href="#how_can_i_view_pcl_files">
+ How can I view PCL files ?
+ </a></dt><dt>Q: <a href="#id2808706">
+ How does Xprt find fonts ?
+ </a></dt><dt>Q: <a href="#id2808781">
+ How can I print TrueType fonts with Xprint ?
+ </a></dt><dt>Q: <a href="#what_does_ddx_mean">
+ What does "DDX" mean ?
+ </a></dt><dt>Q: <a href="#what_does_dix_mean">
+ What does "DIX" mean ?
+ </a></dt><dt>Q: <a href="#what_does_pdl_mean">
+ What does "PDL" mean ?
+ </a></dt><dt>Q: <a href="#id2809022">
+ I have twenty printers installed on my system - but Xprt only shows two
+ screens. Where are all the other printers ?
+ </a></dt><dt>Q: <a href="#platforms_supported_by_xprint">
+ Which platforms support Xprint ?
+ </a></dt><dt>Q: <a href="#id2809119">
+ I have the broken Xfree86 Xprt binary on my system. Do I need a new
+ version of libXp.so (the client side X11 extension library for Xprint),
+ too ?
+ </a></dt><dt>Q: <a href="#how_do_i_spell_xprint">
+ Which spelling is correct - "Xprint", "XPrint", "Xprinter" or Xprt" ?
+ </a></dt><dt>Q: <a href="#id2809192">
+ Which applications support Xprint ?
+ </a></dt><dt>Q: <a href="#is_xprint_only_for_mozilla">
+ Is "Xprint" "mozilla"-only (I saw that it's hosted by mozdev.org) ?
+ </a></dt><dt>Q: <a href="#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></td></tr><tr class="question"><td align="left" valign="top"><a name="what_is_xprint"></a><a name="id2807299"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ What is "Xprint" ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ In short, "Xprint" is an advanced printing system which enables X11
+ applications to use devices like printers, FAX or create documents in
+ formats like PostScript, PDF or SVGprint.
+ </p><p>
+ In long, "Xprint" is a very flexible, extensible, scaleable, client/server
+ print system based on ISO 10175 (and some other specs) and the X11
+ rendering protocol.
+ Using Xprint an application can search, query and use devices like
+ printers, FAX machines or create documents in formats like PDF or SVGprint.
+ In particular, an application can seek a printer, query supported
+ attributes (like paper size, trays, fonts etc.), configure the printer
+ device to match it's needs and print on it like on any other X device
+ reusing parts of the code which is used for the video card Xserver...
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="where_can_i_get_xprint_from"></a><a name="id2807341"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ Where can I get Xprint/Xprt from ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns3="" align="left" valign="top"><p>
+ Xprint is client-server based, therefore two answers:
+ </p><div class="itemizedlist"><ul type="disc"><li xmlns:ns2=""><p>
+ The server side is available by default on Solaris (see
+ <a href="#where_can_i_get_xprint_from_giswxprint_package_note">Note</a>
+ below) and HP-UX (Xfree86 ships a "Xprt" binary, but that is broken and the server config files
+ are missing, too).
+ For those platforms who do not have a (working) Xprt server the you
+ can get source, binary tarballs and Linux RPMs from
+ <a href="http://xprint.mozdev.org/" target="_top">http://xprint.mozdev.org/</a>,
+ Debian Linux has a package based on the
+ same sources (see
+ <a href="http://packages.qa.debian.org/x/xprint-xprintorg.html" target="_top">http://packages.qa.debian.org/x/xprint-xprintorg.html</a>).
+
+ </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title"><a name="where_can_i_get_xprint_from_giswxprint_package_note"></a>Note</h3><p>
+ For Solaris >= 2.7 <a href="http://xprint.mozdev.org/" target="_top">http://xprint.mozdev.org/</a>
+ provides the "GISWxprintglue"
+ and "GISWxprint" packages (available from
+ <a href="http://xprint.mozdev.org/download.html" target="_top">http://xprint.mozdev.org/download.html</a>)
+ which provides a single-step
+ drop-in way to configure and start Xprint at system startup and/or
+ per-user for all applications and users (the package provides only
+ startup scripts and some config data and uses the Xprt binary provided
+ with Solaris (<tt class="filename">/usr/openwin/bin/Xprt</tt>)).
+ </p></div><p>
+ </p></li><li><p>
+ The client-side Xprint support library (<tt class="filename">libXp.so</tt>) is available on all
+ X11 platforms >=R6.4, including Linux, Solaris, HP-UX, AIX, FreeBSD, NetBSD, etc.
+ </p><p>
+ If you do not have it you can build it from the sources available at
+ <a href="http://xprint.mozdev.org/" target="_top">http://xprint.mozdev.org/</a>.
+ </p></li></ul></div><p>
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="what_is_xprt"></a><a name="id2807545"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ What is "Xprt" ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ Xprt is the server-side of Xprint. It's just like any other Xserver - it
+ uses only an other kind of output device (printer instead of framebuffer)
+ and implements an extra X11 extension ("XpExtension") to handle the
+ special features/requirements of a "paged device"(=printer etc.).
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="getting_help"></a><a name="id2807575"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ Where can I get help for problems with Xprint ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ The current main site for the Xprint development is <a href="http://xprint.mozdev.org/" target="_top">http://xprint.mozdev.org/</a>
+ which hosts various resources including a <a href="http://xprint.mozdev.org/list.html" target="_top">mailinglist</a>
+ (please subscribe before posting) for end-users, admin and developers.
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="advantages_of_xprint"></a><a name="id2807635"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ "Why do some people like Xprint ?" / "What are the advantages of Xprint ?"
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns4="" align="left" valign="top"><p>
+ </p><div class="itemizedlist"><ul type="disc"><li><p>
+ Xprint allows an application to query what features (paper size, trays,
+ orientation, resolutions, plexes, fonts and much more) a printer supports.
+ For example it is avoidable that a user accidently prints DIN-A4 on a
+ DIN-A0 poster printer (the print dialog would only offer DIN-A0 as paper
+ size, e.g. offers only choices which are valid for this printer).
+ </p></li><li><p>
+ Server-side, localizeable configuration - changes to the server
+ config apply to all users without the need to change/updating anything
+ on the user side (the user may still start his/her own Xprt instance
+ using his/her preferred configuration).
+ </p></li><li><p>
+ Small footprint - ideal for for mobile devices (client side does not
+ need to process any fonts - that's the job of the server side).
+ </p></li><li><p>
+ API not restriced to PostScript (X11R6.5.1 comes with PCL and Raster
+ implementations - and PDF/G3-FAX/SVG would be possible without problems).
+ </p></li><li><p>
+ Scaleable - Xprint can use as many Xprt servers as the user/admin wants.
+ </p></li><li><p>
+ "Xprint is designed for the enterprise", e.g. Xprint was designed to
+ match the needs of large company networks.
+ </p></li><li><p>
+ Automatic font handling - font download or the existence of
+ printer-builtin fonts is automagically handled by Xprt - the application
+ does not need to know/handle any details (but the application can
+ optionally get information and control the usage of printer builtin
+ fonts).
+ </p></li><li><p>
+ You can print anything what you can render on the framebuffer(=video
+ card) Xserver.
+ </p></li><li><p>
+ Existing code can be reused 1:1 for printing - which means reduced
+ development costs.
+ </p></li><li><p>
+ Easy support for I18N (internationalization) - you simply render any
+ fonts in any language with Xprint.
+ </p></li><li><p>
+ Network-transparent design - Client can use local or remote Xprt servers
+ like any other Xserver.
+ </p></li><li><p>
+ Uses the X11 protocol - easy adoption of existing code to implement
+ printer support. And all the network goodies like firewall proxies,
+ compressors etc. can be used for Xprint without modifications.
+ </p></li><li><p>
+ Security: Xprint can use all authentification schemes available in X11
+ (like Kerberos5, SecureRPC, MIT-MAGIC-COOKIE or host-based
+ authentification).
+ </p></li><li><p>
+ Enhachements on the server side (Xprt) to not require the change of
+ client-side code.
+ </p></li><li><p>
+ Optimized job output (like the PostScript created by the PostScript DDX)
+ is usually a lot smaller than the PS code created by other PostScript
+ engines.
+ </p></li></ul></div><p>
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="contra_xprint"></a><a name="id2807845"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ Why do some people dislike Xprint ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ There are a few common misconceptions about Xprint.
+ Let's take a look some of these "myths", some background - and the facts:
+ </p><div class="blockquote"><blockquote class="blockquote"><div class="qandaset"><dl><dt>Myth: <a href="#id2807877">
+
+ Xprint prints just a XWD dump of the Xserver bitmap
+
+ </a></dt><dt>Myth: <a href="#id2808002">
+
+ Xprint cannot handle non-'ISO Latin 1' chars
+
+ </a></dt><dt>Myth: <a href="#id2808042">
+
+ Xprint uses a 1024x768 screen resolution to render the stuff on
+ the paper - therefore it will never be able to do high-resolution
+ stuff
+
+ </a></dt><dt>Myth: <a href="#id2808091">
+
+ Xprint prints only graphics(=bitmap/gfx) fonts
+
+ </a></dt><dt>Myth: <a href="#id2808172">
+
+ Xprint does not support pages sizes larger than DIN-A4
+
+ </a></dt><dt>Myth: <a href="#id2808219">
+
+ Xprint does not support rotated text
+
+ </a></dt><dt>Myth: <a href="#myth_rendering_model_not_good">
+
+ The X11 rendering model is not good enougth for printers
+
+ </a></dt></dl><table border="0" summary="Q and A Set"><col align="left" width="1%"><tbody><tr class="question"><td align="left" valign="top"><a name="id2807877"></a><a name="id2807880"></a><b>Myth:</b></td><td align="left" valign="top"><p>
+ “<span class="quote">
+ Xprint prints just a XWD dump of the Xserver bitmap
+ </span>”
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>Fact:</b></td><td xmlns:ns5="" align="left" valign="top"><p>
+ Whoever says Xprint simply does an "xwd"-like dump is wrong.
+ </p><p>
+
+ In short, Xprint <span class="emphasis"><em>currently</em></span> (X11R6.5.1) supports *four* drivers:
+ </p><div class="orderedlist"><ol type="1"><li><p>
+ X to native Postscript
+ </p></li><li><p>
+ X to native PCL5
+ </p></li><li><p>
+ X to native PCL3
+ </p></li><li><p>
+ X to a raster which is then feed to something like xpr to
+ create PS or PCL5 wrapped rasters.
+ </p></li></ol></div><p>
+ </p><p>
+ In long, the original X Print Service ("XPS") was attempted
+ during CDE 1.0, and they only got so far as the "raster" driver.
+ </p><p>
+ As CDE 2.0 came around, Bob Schiefler and others at the X
+ Consortium agreed that the X Consortium would work on a X to
+ native PS Level 2 driver and HP would work on a X to native
+ PCL5 driver.
+ </p><p>
+ It was probably the CDE 1.0 effect that left many people with
+ the impression that Xprint is all about xwd-like window dumps.
+ NO! Xprint has native PostScript and PCL5 printing and more
+ drivers (like PDF and SVGprint DDXs etc.) are in the development.
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2808002"></a><a name="id2808005"></a><b>Myth:</b></td><td align="left" valign="top"><p>
+ “<span class="quote">
+ Xprint cannot handle non-'ISO Latin 1' chars
+ </span>”
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>Fact:</b></td><td align="left" valign="top"><p>
+ Xprint can print any chars incl. those required for MathML,
+ Hebrew, Arabic, Japanese etc. etc.
+ For example - the Xprint module for Mozilla5 is the only print
+ module which can proprtly print MathML.
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2808042"></a><a name="id2808045"></a><b>Myth:</b></td><td align="left" valign="top"><p>
+ “<span class="quote">
+ Xprint uses a 1024x768 screen resolution to render the stuff on
+ the paper - therefore it will never be able to do high-resolution
+ stuff
+ </span>”
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>Fact:</b></td><td align="left" valign="top"><p>
+ Xprt uses the screen resolution requested by the application or
+ the printers default resolution.
+ For example a 300 DPI printer which supports paper sizes up to
+ DIN-A4 will get a screen with 3300x3300 pixels (screen width and
+ height are usually equal to support per-page changes in the
+ orientation (potrait/landscape etc.), the window size would be
+ 2400x3149 for "portrait" orientation) - and larger resolutions
+ will result in larger screens.
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2808091"></a><a name="id2808094"></a><b>Myth:</b></td><td align="left" valign="top"><p>
+ “<span class="quote">
+ Xprint prints only graphics(=bitmap/gfx) fonts
+ </span>”
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>Fact:</b></td><td align="left" valign="top"><p>
+ In short, Xprt supports printer-builtin fonts and can
+ download fonts to the printer if they do not exist on the printer.
+ </p><p>
+ In long, this myth seems to have it's root in a <span class="emphasis"><em>feature</em></span> of
+ Xprt which can - if Xprt gets misconfigured - disable the use of
+ printer-builtin fonts and the ability to download fonts.
+ </p><p>
+ Xprt's PostScript and PCL DDX have the <span class="emphasis"><em>unique</em></span> feature to create
+ font glyphs from bitmap fonts if they are not available as
+ printer-builtin fonts nor as outline fonts (OpenType, TrueType, PS Type1, etc.).
+ However this is the fallback - the <span class="emphasis"><em>last</em></span> option used by Xprt.
+ Used if everything else fails.
+ But when someone does not pass any outline fonts (such as OpenType,
+ TrueType or PS Type1) fonts with the font
+ path nor configures a printer model-config (which contains a
+ description of the features&fonts supported by the printer) Xprt
+ will never have a chance to use them. And if everything else
+ fails it has no other option than using what has been left - the
+ bitmap fonts...
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2808172"></a><a name="id2808175"></a><b>Myth:</b></td><td align="left" valign="top"><p>
+ “<span class="quote">
+ Xprint does not support pages sizes larger than DIN-A4
+ </span>”
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>Fact:</b></td><td align="left" valign="top"><p>
+ There is no such limitation.
+ The only limit is the 16bit coordinate system of the X11
+ protocol - which is large enougth that Xprint can support paper
+ sizes <span class="emphasis"><em>larger</em></span> than DIN-A0 oversize papers. There is no problem
+ with creating your own monster-size DIN-A0 posters using
+ Xprint-based applications.
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2808219"></a><a name="id2808222"></a><b>Myth:</b></td><td align="left" valign="top"><p>
+ “<span class="quote">
+ Xprint does not support rotated text
+ </span>”
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>Fact:</b></td><td align="left" valign="top"><p>
+ Xprint and all it's drivers support the X11 matrix XLFD
+ enhancement introduced in X11R6 (and 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).
+ Fonts can be rotated at any angle. Take a look at the
+ <a href="#faq_development">SOFTWARE DEVELOPMENT</a> section in
+ this FAQ for examples...
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="myth_rendering_model_not_good"></a><a name="id2808307"></a><b>Myth:</b></td><td align="left" valign="top"><p>
+ “<span class="quote">
+ The X11 rendering model is not good enougth for printers
+ </span>”
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>Facts:</b></td><td xmlns:ns6="" align="left" valign="top"><p>
+ </p><div class="itemizedlist"><ul type="disc"><li><p>
+ The default Xprint rendering model uses the X11 rendering model - which
+ is "limited"... but only when compared with PostScript.
+ But the attempt to compare Xprint with PostScript is like comparing apples
+ and eggs - they have been designed with different goals in mind - PostScript
+ as plain rendering language for printers and Xprint as integrated all-in-one
+ solution to allow applications to print without having special knowledge
+ about the OS, spooler, <a href="#what_does_pdl_mean">PDL</a> or
+ printer.
+ </p></li><li><p>
+ Around 95% of the applications which have print support do not use any of the
+ special features provided by rendering models like PostScript.
+ </p></li><li><p>
+ Xprint does not require that an application uses the X11 rendering model -
+ they are <span class="emphasis"><em>free</em></span> to generate their own PostScript code or PostScript
+ fragments and pass it to the printer via the Xprint API or use the OpenGL rendering
+ model via the GLX extension available in newer versions of the Xprint server.
+ </p></li><li><p>
+ Printing from Mozilla, Motif or the Qt toolkit using Xprint results in
+ a <span class="emphasis"><em>much better</em></span> quality than using the "native" PostScript
+ generation code in those applications.
+ </p></li><li><p>
+ Xprint supports more <a href="#what_does_pdl_mean">PDLs</a> than
+ PostScript - having a PostScript-specific rendering model would be
+ limiting, and make it difficult to support other
+ <a href="#what_does_pdl_mean">PDLs</a>.
+ </p></li></ul></div><p>
+ </p></td></tr></tbody></table></div></blockquote></div></td></tr><tr class="question"><td align="left" valign="top"><a name="does_xprint_support_anti_aliased_fonts"></a><a name="id2808485"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ Does Xprint support anti-aliased fonts ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ Question back: When do we need anti-aliased fonts ?
+ Anti-aliasing is a "hack" to work around the limitations caused by the
+ low resolution of monitors - they usually operate between 72 DPI and
+ 150 DPI.
+ </p><p>
+ But Xprint operates on printers where the usual <span class="emphasis"><em>minimum</em></span> resolution is
+ 300 DPI (today's normal office printers support resolutions ranging from
+ 300 DPI up to 2400 DPI depending on the model; most common is 600 DPI).
+ Anti-aliasing at those resolutions is not required anymore.
+ Additionally many printers support their own font anti-aliasing at lower
+ resolutions which is far better and faster than it could be "done" on the
+ client side.
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2808525"></a><a name="id2808528"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ How can I check if Xprint is working and should be used ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ Check whether the <tt class="envar">${XPSERVERLIST}</tt> env var is set or not.
+ If <tt class="envar">${XPSERVERLIST}</tt> is set then Xprint is available and should be used.
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="how_can_i_view_postscript_files"></a><a name="id2808566"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ How can I view PS(=PostScript) files ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns9="" align="left" valign="top"><p>
+ </p><div class="itemizedlist"><ul type="disc"><li xmlns:ns7=""><p>
+ On Unix/Linux (general):
+ </p><div class="itemizedlist"><ul type="circle"><li><p>
+ GhostScript ("gs") and GhostView ("gv" and it's KDE- and Gnome-specific versions "kghostview" and "ggv")
+ </p></li></ul></div><p>
+ </p></li></ul></div><p>
+ </p><div class="itemizedlist"><ul type="disc"><li xmlns:ns8=""><p>
+ Solaris:
+ </p><div class="itemizedlist"><ul type="circle"><li><p>
+ <tt class="filename">/usr/dt/bin/sdtimage</tt> (DPS-based image viewer for CDE)
+ </p></li><li><p>
+ <tt class="filename">/usr/openwin/bin/pageview</tt> (DPS-based image viewer for OpenWindows)
+ </p></li></ul></div><p>
+ </p></li></ul></div><p>
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="how_can_i_view_pcl_files"></a><a name="id2808673"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ How can I view PCL files ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ XXX - <a href="http://xprint.mozdev.org/bugs/show_bug.cgi?id=2261" target="_top">xprint.mozdev.org bug 2261</a>
+ has been filed for that issue.
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2808706"></a><a name="id2808709"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ How does Xprt find fonts ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns10="" align="left" valign="top"><p>
+
+ Lookup-rule for Xprt's PostScript DDX to find fonts:
+ </p><div class="orderedlist"><ol type="1"><li><p>
+ Printer-builtin fonts (defined by the fonts/-dir in the model-config)
+ </p></li><li><p>
+ PostScript fonts (will be downloaded via generated print job)
+ </p></li><li><p>
+ GFX-fonts build from X11 scaleable fonts
+ </p></li><li><p>
+ GFX-fonts build from X11 bitmap fonts
+ </p></li></ol></div><p>
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2808781"></a><a name="id2808784"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ How can I print TrueType fonts with Xprint ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns11="" align="left" valign="top"><p>
+ </p><div class="orderedlist"><ol type="1"><li><p>
+ Linux Xprt build from <a href="http://xprint.mozdev.org" target="_top">http://xprint.mozdev.org/</a>'s source supports
+ TrueType fonts out-of-the-box (starting with the 008 development tree;
+ xprint.mozdev.org's releases <= 007 do not support TrueType fonts) and
+ and does not require any special actions.
+ </p></li><li><p>
+ Sun's Xprt on Solaris (<tt class="filename">/usr/openwin/bin/Xprt</tt>) has TrueType font
+ support out-of-the-box and does not require any special actions.
+ </p></li><li><p>
+ You can setup a TTF-aware X font server ("xfs", see
+ <span class="citerefentry"><span class="refentrytitle">xfs</span>(1x)</span>)
+ with the matching TrueType fonts and add the font server location to Xprt's font path.
+ </p></li><li><p>
+ Sourceforge has a TrueType to PostScript Type 1 converter project,
+ see <a href="http://ttf2pt1.sourceforge.net/download.html" target="_top">http://ttf2pt1.sourceforge.net/download.html</a>.
+ You may convert the TTF files into PT1 files that Xprt can download them
+ to the printer on demand...
+ </p></li></ol></div><p>
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="what_does_ddx_mean"></a><a name="id2808916"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ What does "DDX" mean ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ "DDX" is a short term for "Device Dependent X" - the device-specific layer
+ of a Xserver (<a href="#what_does_dix_mean">"DIX"</a>(="Device Independent X") is the counterpart).
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="what_does_dix_mean"></a><a name="id2808959"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ What does "DIX" mean ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ "DIX" is a short term for "Device Independent X" - the non-device specific
+ code of a Xserver (<a href="#what_does_ddx_mean">"DDX"</a>(="Device Dependent X") is the counterpart).
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="what_does_pdl_mean"></a><a name="id2809002"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ What does "PDL" mean ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ "PDL" is a short term for "Page Description Language". Examples for PDLs are
+ PostScript, PCL, PDF and SVGprint.
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2809022"></a><a name="id2809025"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ I have twenty printers installed on my system - but Xprt only shows two
+ screens. Where are all the other printers ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ A Xprt screen does not represent a single printer. A Xprt screen
+ represents a single DDX (currently supported are PostScript, PCL3/5 color,
+ PCL mono and "raster" output(=1bit deep bitmap).
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="platforms_supported_by_xprint"></a><a name="id2809058"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ Which platforms support Xprint ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ All platforms which support X11 >= R6.4 can use Xprint. The client side
+ (<tt class="filename">libXp.so</tt>) is available on Linux/FreeBSD(=Xfree86), Solaris, HP-UX and AIX
+ and the Xprt server side is available by default on Solaris and HP-UX
+ (Xfree86 shipps with a Xprt binary - but that is broken and unuseable).
+ The client-side extension library (<tt class="filename">libXp.so</tt>) can be compiled on any
+ platform, the Xprt server needs minor adjustments for the specific
+ platforms...
+ If your platform does not have Xprint (client-side and/or server-side)
+ you can get the sources from <a href="http://xprint.mozdev.org/" target="_top">http://xprint.mozdev.org/</a>.
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2809119"></a><a name="id2809122"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ I have the broken Xfree86 Xprt binary on my system. Do I need a new
+ version of <tt class="filename">libXp.so</tt> (the client side X11 extension library for Xprint),
+ too ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ No, the <tt class="filename">libXp.so</tt> shared library shipped with Xfree86 or build from
+ Xfree86 sources is not broken, only the server side ("Xprt") is buggy.
+ There is no need to replace the library.
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="how_do_i_spell_xprint"></a><a name="id2809169"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ Which spelling is correct - "Xprint", "XPrint", "Xprinter" or Xprt" ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ "Xprint" is the correct one - "XPrint" is just a typo, "Xprinter" is a
+ complety different product not related to X11/Xprint and "Xprt" is only
+ the "X11 print server"(=the server side of Xprint).
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2809192"></a><a name="id2809195"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ Which applications support Xprint ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns12="" align="left" valign="top"><p>
+ There are various applications which support Xprint:
+ </p><div class="itemizedlist"><ul type="disc"><li><p>
+ Motif/LessTif toolkits (full framework incl. special widgets like <tt class="function">XmPrintShell</tt>)
+ </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>
+ </p></li><li><p>
+ Eclipse
+ </p></li><li><p>
+ KDE/Qt support is planned for Q3/2004
+ </p></li><li><p>
+ StarOffice 5.x
+ </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="id2809353"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ Is "Xprint" "mozilla"-only (I saw that it's hosted by mozdev.org) ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ No, Xprint is a general-purpose print API based on X11 used by
+ many applications - <a href="http://www.mozdev.org/" target="_top">mozdev.org</a> is just
+ one of the hosting places (others are
+ <a href="http://xprint.freedesktop.org/" target="_top">http://xprint.freedesktop.org/</a> (bugzilla, CVS)
+ and <a href="http://www.sourceforge.net/projects/xprint/" target="_top">http://www.sourceforge.net/projects/xprint/</a> (download area))
+ hosting the development area, <a href="http://xprint.mozdev.org/docs/" target="_top">documentation</a> and
+ <a href="http://xprint.mozdev.org/list.html" target="_top">mailinglist</a>.
+ <tt class="literal">:)</tt>.
+ </p></td></tr><tr class="question"><td align="left" valign="top"><a name="xprint_license"></a><a name="id2809468"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ Under which license is the source code from xprint.mozdev.org distributed under ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td xmlns:ns13="" align="left" valign="top"><p>
+ That's the plain "MIT" license, the same as used by Xfree86.org < V4.4.0 and X.org:
+</p><pre class="programlisting">
+Copyright (c) <year> <copyright holders>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software
+and associated documentation files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or
+substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
+BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+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="id2809549"></a><b>Q:</b></td><td align="left" valign="top"><p>
+ Why does Xprint not use PPDs for configuration ?
+ </p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
+ Xprint supports multiple "page description languages (<a href="#what_does_pdl_mean">PDL</a>)"
+ including PostScript, PDF, PCL, etc. Therefore Xprint uses a different
+ configuration file format which works with all these PDLs and not only
+ PostScript (PPD files are PostScript-specific and cannot be used for
+ other PDLs).
+ </p><p>
+ There is currently a converter in development to convert a Adobe PPD file
+ into Xprint's model-config format.
+ See <a href="http://xprint.freedesktop.org/bugzilla/show_bug.cgi?id=636" target="_top">xprint.freedesktop.org bug 636
+ ("RFE: Add an Adobe PPD to model-config converter / xpppdtomodelconfig")</a> for further information.
+ </p></td></tr><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq_usage"></a><h4 class="title"><a name="faq_usage"></a>2. Usage</h4></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="#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="#id2874377">
+ How can I get a list of printers managed by Xprint ?
+ </a></dt><dt>Q: <a href="#id2874480">
+ How can I start Xprt at boot time ?
+ </a></dt><dt>Q: <a href="#id2874513">
+ How can I start Xprt per-user ?
+ </a></dt><dt>Q: <a href="#id2874545">
+ How can I start Xprt only for one application ?
+ </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="#id2874601">
+ How can I manage access control to the Xprt server ?
+ </a></dt><dt>Q: <a href="#id2874699">
+ How can I log access to the Xprt server ?
+ </a></dt><dt>Q: <a href="#id2874732">
+ Does it require "root" permissions to use Xprt/Xprint ?
+ </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="#id2874905">
+ "xset q" lists all model-specific font dirs (like
+ PRINTER:/myxpcfg/C/print/models/SPSPARC2/fonts/") - is that a bug ?
+ </a></dt><dt>Q: <a href="#id2874954">
+ My application lists a printer called "xp_ps_spooldir_tmp_Xprintjobs" /
+ "xp_pdf_spooldir_tmp_Xprintjobs" / "spooldir_tmp_Xprintjobs" / in the
+ print dialog but I do not have such a print queue installed anywhere.
+ What is that for a thing ?!
+ </a></dt><dt>Q: <a href="#manual_xprint_forwarding_via_ssh">
+ How can I forward Xprint services when logging-in via ssh to another machine ?
+ </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="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: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
+ (seperated by whitespace) to tell the application where it can find
+ the Xprt servers.
+ Usually <tt class="envar">${XPSERVERLIST}</tt> is set by the profile startup scripts (e.g.
+ <tt class="filename">/etc/profile</tt> or <tt class="filename">/etc/profile.d/xprint.sh</tt>) using the output of
+ "/etc/init.d/xprint get_xpserverlist".
+ Example:
+</p><pre class="screen">
+ % <b class="userinput"><tt>export XPSERVERLIST="`/etc/init.d/xprint get_xpserverlist`"</tt></b>
+</pre><p>
+ Alternativly <tt class="envar">${XPSERVERLIST}</tt> can be set manually:
+ </p><p>
+ Example:
+</p><pre class="screen">
+ % <b class="userinput"><tt>export XPSERVERLIST="littlecat:80 bitdog:72"</tt></b>
+</pre><p>
+ instructs an application to look at the displays 80 on the machine
Reply to: