summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-11-08 21:14:26 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-11-08 21:15:23 -0800
commit500484848167545f7862f0b9cb5206e9e92fba6a (patch)
treecc14ccda830ad642fc2f1bf56279936a3b2c4635
parentcca2ca69d2a6b4b133dba69d5330499fbfe88257 (diff)
downloadxorg-proto-printproto-500484848167545f7862f0b9cb5206e9e92fba6a.tar.gz
Strip trailing whitespace
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--Print.h4
-rw-r--r--Printstr.h26
-rw-r--r--man/Xprint.man62
-rw-r--r--man/Xprint.sgml52
-rw-r--r--printproto.pc.in2
5 files changed, 73 insertions, 73 deletions
diff --git a/Print.h b/Print.h
index ba64e35..266069a 100644
--- a/Print.h
+++ b/Print.h
@@ -13,7 +13,7 @@
** o Revision and Name defines
** o Common defines and constants (e.g. Keywords, Masks)
** o Extension version structure
- **
+ **
** Library and client subportion has:
** o Convience Marcos
** o Client side data structures
@@ -32,7 +32,7 @@
** (c) Copyright 1996 Digital Equipment Corp.
** (c) Copyright 1996 Fujitsu Limited
** (c) Copyright 1996 Hitachi, Ltd.
- **
+ **
** 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
diff --git a/Printstr.h b/Printstr.h
index 7fb4594..1d763c6 100644
--- a/Printstr.h
+++ b/Printstr.h
@@ -18,7 +18,7 @@
** (c) Copyright 1996 Digital Equipment Corp.
** (c) Copyright 1996 Fujitsu Limited
** (c) Copyright 1996 Hitachi, Ltd.
- **
+ **
** 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
@@ -258,7 +258,7 @@ typedef struct _PrintCreateContext {
STRING8 locale * locale *
BYTE pad(locale) * unused *
************************************************************/
-} xPrintCreateContextReq;
+} xPrintCreateContextReq;
#define sz_xPrintCreateContextReq 16
@@ -267,7 +267,7 @@ typedef struct _PrintSetContext {
CARD8 printReqType; /* always X_PrintSetContext */
CARD16 length B16;
PCONTEXT printContext B32; /* print context */
-} xPrintSetContextReq;
+} xPrintSetContextReq;
#define sz_xPrintSetContextReq 8
@@ -275,7 +275,7 @@ typedef struct _PrintGetContext {
CARD8 reqType; /* always PrintReqCode */
CARD8 printReqType; /* always X_PrintGetContext */
CARD16 length B16;
-} xPrintGetContextReq;
+} xPrintGetContextReq;
#define sz_xPrintGetContextReq 4
typedef struct {
@@ -298,7 +298,7 @@ typedef struct _PrintDestroyContext {
CARD8 printReqType; /* always X_PrintDestroyContext */
CARD16 length B16;
PCONTEXT printContext B32; /* print context */
-} xPrintDestroyContextReq;
+} xPrintDestroyContextReq;
#define sz_xPrintDestroyContextReq 8
@@ -307,7 +307,7 @@ typedef struct _PrintGetContextScreen {
CARD8 printReqType; /* always X_PrintGetContextScreen */
CARD16 length B16;
PCONTEXT printContext B32; /* print context */
-} xPrintGetContextScreenReq;
+} xPrintGetContextScreenReq;
#define sz_xPrintGetContextScreenReq 8
typedef struct {
@@ -332,7 +332,7 @@ typedef struct _PrintStartJob {
CARD8 saveData; /* save data boolean */
CARD8 pad1;
CARD16 pad2 B16;
-} xPrintStartJobReq;
+} xPrintStartJobReq;
#define sz_xPrintStartJobReq 8
typedef struct _PrintEndJob {
@@ -353,7 +353,7 @@ typedef struct _PrintStartDoc {
CARD8 type; /* type for document */
CARD8 pad1;
CARD16 pad2 B16;
-} xPrintStartDocReq;
+} xPrintStartDocReq;
#define sz_xPrintStartDocReq 8
typedef struct _PrintEndDoc {
@@ -394,7 +394,7 @@ typedef struct _PrintGetDocumentData {
CARD16 length B16;
PCONTEXT printContext B32; /* print context */
CARD32 maxBufferSize B32; /* maximum buffer size requested */
-} xPrintGetDocumentDataReq;
+} xPrintGetDocumentDataReq;
#define sz_xPrintGetDocumentDataReq 12
typedef struct {
@@ -422,7 +422,7 @@ typedef struct _PrintStartPage {
CARD8 printReqType; /* always X_PrintStartPage */
CARD16 length B16;
WINDOW window B32; /* window */
-} xPrintStartPageReq;
+} xPrintStartPageReq;
#define sz_xPrintStartPageReq 8
typedef struct _PrintEndPage {
@@ -559,7 +559,7 @@ typedef struct _PrintGetPageDimensions {
CARD8 printReqType; /* always X_PrintGetPageDimensions */
CARD16 length B16;
PCONTEXT printContext B32; /* print context */
-} xPrintGetPageDimensionsReq;
+} xPrintGetPageDimensionsReq;
#define sz_xPrintGetPageDimensionsReq 8
typedef struct {
@@ -584,7 +584,7 @@ typedef struct _PrintQueryScreens {
CARD8 reqType; /* always PrintReqCode */
CARD8 printReqType; /* always X_PrintQueryScreens */
CARD16 length B16;
-} xPrintQueryScreensReq;
+} xPrintQueryScreensReq;
#define sz_xPrintQueryScreensReq 4
typedef struct {
@@ -669,7 +669,7 @@ extern int _xp_hinter_init;
* Server-only definitions shared between the extension and DDX layers.
*
*/
-
+
/*
* Internal return code used to indicate that the requesting
* client has been suspended.
diff --git a/man/Xprint.man b/man/Xprint.man
index 39b0ccc..3b254e4 100644
--- a/man/Xprint.man
+++ b/man/Xprint.man
@@ -1,17 +1,17 @@
.\" -*- coding: us-ascii -*-
-.TH Xprint __miscmansuffix__ "8 October 2004"
+.TH Xprint __miscmansuffix__ "8 October 2004"
.SH NAME
Xprint \- The "X print service" - a portable, network-transparent printing system based on the X11 protocol
.SH SYNOPSIS
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.
-In particular, an application can seek a printer, query supported
-attributes (like paper size, trays, fonts etc.), configure the printer
-device to match it\(cqs needs and print on it like on any other X device
-reusing parts of the code which is used for the video card Xserver.
+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.
+In particular, an application can seek a printer, query supported
+attributes (like paper size, trays, fonts etc.), configure the printer
+device to match it\(cqs needs and print on it like on any other X device
+reusing parts of the code which is used for the video card Xserver.
.SH OVERVIEW
The "X Print Service" technology allows X rendering to devices such as
printers and fax. Most of the service is available in the X11
@@ -43,7 +43,7 @@ Raster ddx driver that generates xwd rasters which can be converted to PCL, PDF
From an X clients perspective, it can attach to one of two nearly
identical X-Servers, a "Video" X-Server, and a "Print" X-Server
which has the additional Xp capability but otherwise looks and
-behaves the same.
+behaves the same.
.SH "HOW THE X PRINT SERVICE WORKS"
The X Print Service expands on the traditional X-Server and Xlib world
in four ways.
@@ -85,7 +85,7 @@ printer state, and generated output. Some "attributes" within
the print context can be modified by the user, and the
X-Server and print ddx driver will react accordingly. For
example, the attribute "content-orientation" can be set to
-"landscape" or "portrait" (if the printer supports these
+"landscape" or "portrait" (if the printer supports these
values - which can be queried using the Xprint API as well).
.TP 0.4i
4.
@@ -132,14 +132,14 @@ will immediately try to support all printers visible via \fBlpstat\fR(1).
In order of importance for configuration by a system administrator, the
configuration files for a "C" locale are as follows (see \fBXprt\fR(__appmansuffix__) for more
details (including support for non-"C" locales)):
-.TP
+.TP
\fB${XPCONFIGDIR}/C/print/Xprinters\fR
\&'Xprinters' is the top most configuration file. It tells
Xprt which specific printer names (e.g. mylaser) should
be supported, and whether \fBlpstat\fR(1) or other commands
should be used to automatically supplement the list of
printers.
-.TP
+.TP
\fB${XPCONFIGDIR}/C/print/attributes/printer\fR
The 'printer' file maps printer names to model
configurations (see 'model-config' below). For example,
@@ -148,18 +148,18 @@ arbitrary printers could be mapped to a default, such as
"HPLJ4SI". When depending on \fBlpstat\fR(1) in the Xprinters
file, setting up defaults in 'printer' becomes all the
more important.
-.TP
+.TP
\fB${XPCONFIGDIR}/C/print/attributes/document\fR
The 'document' file specifies the initial document values
for any print jobs. For example, which paper tray to
use, what default resolution, etc.
-.TP
+.TP
\fB${XPCONFIGDIR}/C/print/attributes/job\fR
The 'job' file specifies the initial job values for any
print jobs. For example, "notification-profile" can be
set so that when a print job is successfully sent to a
printer, e-mail is sent to the user.
-.TP
+.TP
\fB${XPCONFIGDIR}/C/print/models/PSdefault/model\-config\fR, \fB${XPCONFIGDIR}/C/print/models/PSdefault/fonts/fonts.dir\fR, \fB${XPCONFIGDIR}/C/print/models/PSdefault/fonts/9nb00051.pmf\fR, \fB${XPCONFIGDIR}/C/print/models/PSdefault/fonts/9nb00093.pmf\fR
The 'model-config' file has attributes that describe the
printer model\(cqs capabilities and default settings.
@@ -168,7 +168,7 @@ file also identifies the print ddx driver to be used.
For each printer model supported, a complete hierarchy of
files should exist. In most cases, these files do not
need to be modified.
-.TP
+.TP
\fB${XPCONFIGDIR}/C/print/ddx\-config/raster/pcl\fR, \fB${XPCONFIGDIR}/C/print/ddx\-config/raster/pdf\fR, \fB${XPCONFIGDIR}/C/print/ddx\-config/raster/postscript\fR
The print ddx drivers can have highly specific
configuration files to control their behavior. In most
@@ -341,24 +341,24 @@ of copies). If the user wishes, they can select <Setup...>, which
will start a dtpdm capable of modifying additional print options.
Finally, the user should select <Print>.
.SH ENVIRONMENT
-.TP
+.TP
\fB${XPCONFIGDIR}\fR
This environment variable points to the root
of the Xprint server configuration directory hierarchy.
If the variable is not defined, the default
path is be assumed. The default path may be
-\fB/usr/X11R6/lib/X11/xserver/\fR,
+\fB/usr/X11R6/lib/X11/xserver/\fR,
\fB/usr/lib/X11/xserver/\fR,
\fB/usr/share/Xprint/xserver/\fR or
\fB/usr/openwin/server/etc/XpConfig\fR, depending on the
system, and may be configured in \fB/etc/init.d/xprint\fR.
-.TP
+.TP
\fB${LANG}\fR
This environment variable selects the locale settings used by the Xprint server.
Xprt allows language-specific settings (stored in \fB${XPCONFIGDIR}/${LANG}/print/\fR)
which will override the default settings (stored in \fB${XPCONFIGDIR}/C/print/\fR).
If \fB${LANG}\fR is not set "C" is assumed.
-.TP
+.TP
\fB${XPSERVERLIST}\fR
The environment variable \fB${XPSERVERLIST}\fR contains a list
of display identifiers (separated by whitespace) which tell an
@@ -367,7 +367,7 @@ application where it can find the Xprint servers. Usually
\fB/etc/profile\fR or \fB/etc/profile.d/xprint.sh\fR) using the output of
\fB/etc/init.d/xprint get_xpserverlist\fR.
-Example:
+Example:
.nf
@@ -386,8 +386,8 @@ manually. Example:
instructs an application to find an Xprint server at display
80 on the machine "littlecat" and at display 72 on the
machine bigdog.
-.TP
-\fB${XPRINTER}\fR
+.TP
+\fB${XPRINTER}\fR
The environment variable \fB${XPRINTER}\fR
defines the default printer used by print
applications. The syntax is either
@@ -395,27 +395,27 @@ applications. The syntax is either
\fIprintername\fR@\fIdisplay\fR.
Examples:
-.RS
-.TP
+.RS
+.TP
\fBXPRINTER=ps003\fR
tells an application to look for the
first printer named "ps003" on all Xprint
servers.
-.TP
+.TP
\fBXPRINTER=hplaser19@littlecat:80\fR
tells an application to use the printer "hplaser19"
-on the Xprint server at display
+on the Xprint server at display
"littlecat:80".
.RE
If \fB${XPRINTER}\fR is not set the applications
will examine the values of the \fB${PDPRINTER}\fR,
-\fB${LPDEST}\fR, and
-\fB${PRINTER}\fR environment variables (in that order).
+\fB${LPDEST}\fR, and
+\fB${PRINTER}\fR environment variables (in that order).
.SH "SEE ALSO"
\fBX11\fR(__miscmansuffix__), \fBxplsprinters\fR(__appmansuffix__), \fBxprehashprinterlist\fR(__appmansuffix__), \fBxphelloworld\fR(__appmansuffix__), \fBxpxmhelloworld\fR(__appmansuffix__), \fBxpawhelloworld\fR(__appmansuffix__), \fBxpxthelloworld\fR(__appmansuffix__), \fBxpsimplehelloworld\fR(__appmansuffix__), \fBXserver\fR(__appmansuffix__), \fBXprt\fR(__appmansuffix__), \fBlibXp\fR(__libmansuffix__), \fBlibXprintUtils\fR(__libmansuffix__), \fBlibXprintAppUtils\fR(__libmansuffix__), \fBXmPrintShell\fR(__libmansuffix__), \fBXawPrintShell\fR(__libmansuffix__), Xprint FAQ (http://xprint.mozdev.org/docs/Xprint_FAQ.html), Xprint main site (http://xprint.mozdev.org/)
.SH AUTHORS
-This manual page was written by
+This manual page was written by
Roland Mainz <roland.mainz@nrubsig.org> based on the original X11R6.6
\fBxc/programs/Xserver/XpConfig/README\fR.
diff --git a/man/Xprint.sgml b/man/Xprint.sgml
index 349e970..96af582 100644
--- a/man/Xprint.sgml
+++ b/man/Xprint.sgml
@@ -2,7 +2,7 @@
<!-- Process this file with docbook-to-man to generate an nroff manual
page: 'docbook-to-man manpage.sgml > manpage.1'. You may view
- the manual page with: 'docbook-to-man manpage.sgml | nroff -man | less'.
+ the manual page with: 'docbook-to-man manpage.sgml | nroff -man | less'.
A typical entry in a Makefile or Makefile.am is:
manpage.1: manpage.sgml
@@ -24,17 +24,17 @@ HTML generation can be done like this:
</refnamediv>
<refsynopsisdiv>
<para>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.
- In particular, an application can seek a printer, query supported
- attributes (like paper size, trays, fonts etc.), configure the printer
- device to match it&rsquo;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.
+ 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.
+ In particular, an application can seek a printer, query supported
+ attributes (like paper size, trays, fonts etc.), configure the printer
+ device to match it&rsquo;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.
</para>
</refsynopsisdiv>
-
+
<refsect1>
<title>OVERVIEW</title>
<para>
@@ -59,13 +59,13 @@ HTML generation can be done like this:
From an X clients perspective, it can attach to one of two nearly
identical X-Servers, a "Video" X-Server, and a "Print" X-Server
which has the additional Xp capability but otherwise looks and
- behaves the same.
+ behaves the same.
</para>
</refsect1>
<refsect1>
<title>HOW THE X PRINT SERVICE WORKS</title>
- <para>
+ <para>
The X Print Service expands on the traditional X-Server and Xlib world
in four ways.
@@ -116,7 +116,7 @@ HTML generation can be done like this:
the print context can be modified by the user, and the
X-Server and print ddx driver will react accordingly. For
example, the attribute "content-orientation" can be set to
- "landscape" or "portrait" (if the printer supports these
+ "landscape" or "portrait" (if the printer supports these
values - which can be queried using the Xprint API as well).
</para>
</listitem>
@@ -141,7 +141,7 @@ HTML generation can be done like this:
<refsect1>
<title>USAGE</title>
- <para>
+ <para>
There are three tasks to start the X Print Service:
<orderedlist>
<listitem><para>configuring the X Print Server,</para></listitem>
@@ -262,7 +262,7 @@ HTML generation can be done like this:
</listitem>
</varlistentry>
</variablelist>
-
+
More information in how to configure and customize the X print server can be found in the
<citerefentry><refentrytitle>Xprt</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry>
manual page.
@@ -273,7 +273,7 @@ HTML generation can be done like this:
<title>STARTING UP</title>
<para>
The summary checklist for starting the X Print Service is as follows:
-
+
<orderedlist>
<listitem>
<para>
@@ -306,7 +306,7 @@ HTML generation can be done like this:
a Print Dialog Manager Daemon process to use Xprint.
</para>
</listitem>
- </orderedlist>
+ </orderedlist>
The details are described below.
</para>
<para>
@@ -490,7 +490,7 @@ HTML generation can be done like this:
of the Xprint server configuration directory hierarchy.
If the variable is not defined, the default
path is be assumed. The default path may be
- <filename>/usr/X11R6/lib/X11/xserver/</filename>,
+ <filename>/usr/X11R6/lib/X11/xserver/</filename>,
<filename>/usr/lib/X11/xserver/</filename>,
<filename>/usr/share/Xprint/xserver/</filename> or
<filename>/usr/openwin/server/etc/XpConfig</filename>, depending on the
@@ -509,7 +509,7 @@ HTML generation can be done like this:
</para>
</listitem>
</varlistentry>
-
+
<varlistentry>
<term><envar>${XPSERVERLIST}</envar></term>
<listitem>
@@ -519,7 +519,7 @@ HTML generation can be done like this:
<envar>${XPSERVERLIST}</envar> is set by the profile startup scripts (e.g.
<filename>/etc/profile</filename> or <filename>/etc/profile.d/xprint.sh</filename>) using the output of
<userinput>/etc/init.d/xprint get_xpserverlist</userinput>.</para>
- <para>Example:
+ <para>Example:
<informalexample>
<programlisting>
export XPSERVERLIST="`/etc/init.d/xprint get_xpserverlist`"</programlisting>
@@ -558,14 +558,14 @@ HTML generation can be done like this:
servers.</para>
</listitem>
</varlistentry>
-
+
<varlistentry>
<!-- brain dead <term> does not permit quote marks
(in XPRINTER="hplaser19@littlecat:80"), so omit them -->
<term><userinput>XPRINTER=hplaser19@littlecat:80</userinput></term>
<listitem><para>
tells an application to use the printer "hplaser19"
- on the Xprint server at display
+ on the Xprint server at display
"littlecat:80".</para>
</listitem>
</varlistentry>
@@ -574,8 +574,8 @@ HTML generation can be done like this:
</para>
<para>If <envar>${XPRINTER}</envar> is not set the applications
will examine the values of the <envar>${PDPRINTER}</envar>,
- <envar>${LPDEST}</envar>, and
- <envar>${PRINTER}</envar> environment variables (in that order).
+ <envar>${LPDEST}</envar>, and
+ <envar>${PRINTER}</envar> environment variables (in that order).
</para>
</listitem>
</varlistentry>
@@ -588,7 +588,7 @@ HTML generation can be done like this:
<simplelist type="inline">
<!-- specific references -->
<!-- none -->
-
+
<!-- Xprint general references -->
<!--
<member><citerefentry><refentrytitle>Xprint</refentrytitle><manvolnum>__miscmansuffix__</manvolnum></citerefentry></member>
@@ -618,7 +618,7 @@ HTML generation can be done like this:
<refsect1>
<title>AUTHORS</title>
<para>
- This manual page was written by
+ This manual page was written by
Roland Mainz <email>roland.mainz@nrubsig.org</email> based on the original X11R6.6
<filename>xc/programs/Xserver/XpConfig/README</filename>.
</para>
diff --git a/printproto.pc.in b/printproto.pc.in
index e43f540..bbc6ec8 100644
--- a/printproto.pc.in
+++ b/printproto.pc.in
@@ -2,7 +2,7 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
-
+
Name: PrintProto
Description: Print extension headers
Version: @PACKAGE_VERSION@