Bug#1086593: pdftocairo.1: Some remarks and editorial changes for this man page
Bjarni Ingi Gislason
bjarniig at simnet.is
Fri Nov 1 22:04:25 GMT 2024
Package: poppler-utils
Version: 24.08.0-3
Severity: minor
Tags: patch
* What led up to the situation?
Checking for defects with
[ Use "grep -e ' $' <file>" to find trailing space.]
test-[gn]roff -mandoc -t -K utf8 -rF0 -rHY=0 -ww -b -z < "man page"
["test-groff" is a script in the repository for "groff"; is not shipped]
(local copy and "troff" slightly changed by me).
[The fate of "test-nroff" was decided in groff bug #55941.]
* What was the outcome of this action?
troff: backtrace: file '<stdin>':324
troff:<stdin>:324: warning: trailing space in the line
Output from "test-nroff -mandoc -t -K utf8 -rF0 -rHY=0 -ww -b -z ":
troff: backtrace: file '<stdin>':324
troff:<stdin>:324: warning: trailing space in the line
* What outcome did you expect instead?
No output (no warnings).
-.-
General remarks and further material, if a diff-file exist, are in the
attachments.
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.11.4-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages poppler-utils depends on:
ii libc6 2.40-3
ii libcairo2 1.18.2-2
ii libfreetype6 2.13.3+dfsg-1
ii liblcms2-2 2.16-2
ii libpoppler140 24.08.0-3
ii libstdc++6 14.2.0-6
poppler-utils recommends no packages.
poppler-utils suggests no packages.
-- no debconf information
-------------- next part --------------
Any program (person), that produces man pages, should check the output
for defects by using (both groff and nroff)
[gn]roff -mandoc -t -ww -b -z -K utf8 <man page>
The same goes for man pages that are used as an input.
For a style guide use
mandoc -T lint
-.-
So any 'generator' should check its products with the above mentioned
'groff', 'mandoc', and additionally with 'nroff ...'.
This is just a simple quality control measure.
The 'generator' may have to be corrected to get a better man page,
the source file may, and any additional file may.
Common defects:
Input text line longer than 80 bytes.
Not removing trailing spaces (in in- and output).
The reason for these trailing spaces should be found and eliminated.
Not beginning each input sentence on a new line.
Lines should thus be shorter.
See man-pages(7), item 'semantic newline'.
-.-
The difference between the formatted output of the original and patched file
can be seen with:
nroff -mandoc <file1> > <out1>
nroff -mandoc <file2> > <out2>
diff -u <out1> <out2>
and for groff, using
"printf '%s\n%s\n' '.kern 0' '.ss 12 0' | groff -mandoc -Z - "
instead of 'nroff -mandoc'
Add the option '-t', if the file contains a table.
Read the output of 'diff -u' with 'less -R' or similar.
-.-.
If 'man' (man-db) is used to check the manual for warnings,
the following must be set:
The option "-warnings=w"
The environmental variable:
export MAN_KEEP_STDERR=yes (or any non-empty value)
or
(produce only warnings):
export MANROFFOPT="-ww -b -z"
export MAN_KEEP_STDERR=yes (or any non-empty value)
-.-.
Output from "mandoc -T lint pdftocairo.1": (possibly shortened list)
mandoc: pdftocairo.1:1:2: WARNING: missing date, using "": TH
mandoc: pdftocairo.1:3:88: STYLE: input text line longer than 80 bytes: pdftocairo \- Portab...
mandoc: pdftocairo.1:11:144: STYLE: input text line longer than 80 bytes: converts Portable Do...
mandoc: pdftocairo.1:34:113: STYLE: input text line longer than 80 bytes: The image formats (P...
mandoc: pdftocairo.1:47:134: STYLE: input text line longer than 80 bytes: is \*(lq\-\*(rq , th...
mandoc: pdftocairo.1:54:175: STYLE: input text line longer than 80 bytes: Not all options are ...
mandoc: pdftocairo.1:71:2: WARNING: skipping paragraph macro: PP empty
mandoc: pdftocairo.1:123:133: STYLE: input text line longer than 80 bytes: Specifies the X and ...
mandoc: pdftocairo.1:126:127: STYLE: input text line longer than 80 bytes: Specifies the X reso...
mandoc: pdftocairo.1:129:127: STYLE: input text line longer than 80 bytes: Specifies the Y reso...
mandoc: pdftocairo.1:147:110: STYLE: input text line longer than 80 bytes: Specifies the x-coor...
mandoc: pdftocairo.1:150:110: STYLE: input text line longer than 80 bytes: Specifies the y-coor...
mandoc: pdftocairo.1:153:99: STYLE: input text line longer than 80 bytes: Specifies the width ...
mandoc: pdftocairo.1:156:100: STYLE: input text line longer than 80 bytes: Specifies the height...
mandoc: pdftocairo.1:159:104: STYLE: input text line longer than 80 bytes: Specifies the size o...
mandoc: pdftocairo.1:162:86: STYLE: input text line longer than 80 bytes: Uses the crop box ra...
mandoc: pdftocairo.1:171:130: STYLE: input text line longer than 80 bytes: Set the cairo antial...
mandoc: pdftocairo.1:175:107: STYLE: input text line longer than 80 bytes: Use the default anti...
mandoc: pdftocairo.1:184:98: STYLE: input text line longer than 80 bytes: Perform antialiasing...
mandoc: pdftocairo.1:187:85: STYLE: input text line longer than 80 bytes: Hint that the backen...
mandoc: pdftocairo.1:193:91: STYLE: input text line longer than 80 bytes: Hint that the backen...
mandoc: pdftocairo.1:200:106: STYLE: input text line longer than 80 bytes: Use the specified IC...
mandoc: pdftocairo.1:203:83: STYLE: input text line longer than 80 bytes: When used with \-jpe...
mandoc: pdftocairo.1:243:85: STYLE: input text line longer than 80 bytes: Don't scale PDF page...
mandoc: pdftocairo.1:256:116: STYLE: input text line longer than 80 bytes: (Windows only). When...
mandoc: pdftocairo.1:259:104: STYLE: input text line longer than 80 bytes: (Windows only). When...
mandoc: pdftocairo.1:264:82: STYLE: input text line longer than 80 bytes: (Windows only). When...
mandoc: pdftocairo.1:265:83: STYLE: input text line longer than 80 bytes: allowing the print s...
mandoc: pdftocairo.1:266:84: STYLE: input text line longer than 80 bytes: in the print propert...
mandoc: pdftocairo.1:308:107: STYLE: input text line longer than 80 bytes: When JPEG output is ...
mandoc: pdftocairo.1:309:95: STYLE: input text line longer than 80 bytes: It takes a string of...
mandoc: pdftocairo.1:324:123: STYLE: input text line longer than 80 bytes: In Windows, you can ...
mandoc: pdftocairo.1:324:123: STYLE: whitespace at end of input line
mandoc: pdftocairo.1:325:128: STYLE: input text line longer than 80 bytes: option to configure ...
mandoc: pdftocairo.1:328:132: STYLE: input text line longer than 80 bytes: Selects the source p...
mandoc: pdftocairo.1:329:141: STYLE: input text line longer than 80 bytes: "envmanual", "auto",...
mandoc: pdftocairo.1:332:86: STYLE: input text line longer than 80 bytes: Sets the duplex mode...
mandoc: pdftocairo.1:334:85: STYLE: input text line longer than 80 bytes: General option \-dup...
-.-.
Remove space characters at the end of lines.
Use "git apply ... --whitespace=fix" to fix extra space issues, or use
global configuration "core.whitespace".
324:In Windows, you can use the \-print option to print directly to a system printer. Additionally, you can use the \-printopt
-.-.
Change '-' (\-) to '\(en' (en-dash) for a numeric range.
GNU gnulib has recently (2023-06-18) updated its
"build_aux/update-copyright" to recognize "\(en" in man pages.
pdftocairo.1:337:The pdftocairo software and documentation are copyright 1996-2004 Glyph
pdftocairo.1:338:& Cog, LLC and copyright 2005-2011 The Poppler Developers.
-.-.
Use the correct macro for the font change of a single argument or
split the argument into two.
7:.IR PDF-file
39:.IR output-file
43:.IR PDF-file
46:.IR output-file
49:.IR output-file
51:.IR PDF-file
74:.BI \-png
77:.BI \-jpeg
80:.BI \-tiff
83:.BI \-pdf
86:.BI \-ps
89:.BI \-eps
95:.BI \-svg
98:.BI \-print
103:.BI \-printdlg
119:.BI \-singlefile
263:.BI \-setupdlg
311:.BI quality
314:.BI progressive
318:.BI optimize
327:.BI source
331:.BI duplex
-.-.
Change - to \- if it shall be printed as a minus sign.
pdftocairo.1:138:scale-to-y is set to -1, the vertical size will determined by the
pdftocairo.1:143:is set to -1, the horizontal size will determined by the aspect ratio
-.-.
Remove space in the first column, if not indented.
Use ".in +<number>n" and ".in" to end it; ".nf" and ".fi" to end
it, for an extra indention.
pdftocairo.1:100: If an output file is not specified, the output will be sent to the printer.
pdftocairo.1:101: The output file '-' can not be used with this option.
-.-.
Change a HYPHEN-MINUS (code 0x2D) to a minus(-dash) (\-),
if it
is in front of a name for an option,
is a symbol for standard input,
is a single character used to indicate an option,
or is in the NAME section (man-pages(7)).
N.B. - (0x2D), processed as a UTF-8 file, is changed to a hyphen
(0x2010, groff \[u2010] or \[hy]) in the output.
101: The output file '-' can not be used with this option.
266:in the print properties dialog will be used except when -origpagesizes is specified.
-.-.
Wrong distance between sentences in the input file.
Separate the sentences and subordinate clauses; each begins on a new
line. See man-pages(7) ("Conventions for source file layout") and
"info groff" ("Input Conventions").
The best procedure is to always start a new sentence on a new line,
at least, if you are typing on a computer.
Remember coding: Only one command ("sentence") on each (logical) line.
E-mail: Easier to quote exactly the relevant lines.
Generally: Easier to edit the sentence.
Patches: Less unaffected text.
Search for two adjacent words is easier, when they belong to the same line,
and the same phrase.
The amount of space between sentences in the output can then be
controlled with the ".ss" request.
N.B.
The number of lines affected can be too large to be in a patch.
47:is \*(lq\-\*(rq , the output file will be written to stdout. Using stdout is not valid with image formats unless \-singlefile is used.
54:Not all options are valid with all output formats. One (and only one) of the output format options (\-png, \-jpeg, \-tiff, \-pdf, \-print, \-ps, \-eps, or \-svg) must be used.
57:image output formats. The image dimensions will depend on the PDF page
58:size and the resolution. For the vector outputs, regions of the page
63:The \-scale-to options may be used to set a fixed image size. The
68:formats. When cropping is used with vector output the cropped region is
78:Generates a JPEG file(s). See also \-jpegopt.
90:Generate an EPS file. An EPS file contains a single image, so if you
99:(Windows only) Prints to a system printer. See also \-printer and \-printeropt.
104:(Windows only) Prints to a system printer. Displays the print dialog to allow
123:Specifies the X and Y resolution, in pixels per inch of image files (or rasterized regions in vector output). The default is 150 PPI.
126:Specifies the X resolution, in pixels per inch of image files (or rasterized regions in vector output). The default is 150 PPI.
129:Specifies the Y resolution, in pixels per inch of image files (or rasterized regions in vector output). The default is 150 PPI.
133:for portrait pages) to fit in scale-to pixels. The size of the short
137:Scales each page horizontally to fit in scale-to-x pixels. If
142:Scales each page vertically to fit in scale-to-y pixels. If scale-to-x
171:Set the cairo antialias option used for text and drawing in image files (or rasterized regions in vector output). The options are:
175:Use the default antialiasing for the target device. This is the default setting if \-antialias is not used.
200:Use the specified ICC file as the output profile (PNG only). The profile will be embedded in the PNG file.
203:When used with \-jpeg, takes a list of options to control the jpeg compression. See
211:Generate Level 3 PostScript (PS only). This enables all Level 2 features plus
212:shading patterns and masked images. This is the default setting.
225:file. If none the \-paper, \-paperw, or \-paperh options are
256:(Windows only). When used with \-print, specifies the name of the printer to be used, instead of the system default.
259:(Windows only). When used with \-print, takes a list of options to be used to configure the printer. See
264:(Windows only). When used with \-print, the printer properties dialog is displayed
265:allowing the print settings to be modified before printing. The paper size selected
309:It takes a string of the form "<opt>=<val>[,<opt>=<val>]". Currently the available options are:
312:Selects the JPEG quality value. The value must be an integer between 0 and 100.
315:Select progressive JPEG output. The possible values are "y", "n",
320:will create smaller files but make an extra pass over the data. The value must
324:In Windows, you can use the \-print option to print directly to a system printer. Additionally, you can use the \-printopt
325:option to configure the printer. It takes a string of the form "<opt>=<val>[,<opt>=<val>]". Currently the available options are:
328:Selects the source paper tray to be used (bin). The possible values are "upper", "onlyone", "lower", "middle", "manual", "envelope",
332:Sets the duplex mode of the printer. The possible values are "off", "short" or "long",
334:General option \-duplex is a synonym of "duplex=long". If both options are specified,
-.-.
Split lines longer than 80 characters into two or more lines.
Appropriate break points are the end of a sentence and a subordinate
clause; after punctuation marks.
N.B.
The number of lines affected can be too large to be in a patch.
Line 3, length 88
pdftocairo \- Portable Document Format (PDF) to PNG/JPEG/TIFF/PDF/PS/EPS/SVG using cairo
Line 11, length 144
converts Portable Document Format (PDF) files, using the cairo output device of the poppler PDF library, to any of the following output formats:
Line 34, length 113
The image formats (PNG, JPEG, and TIFF) generate one file per page with the page number and file type appended to
Line 47, length 134
is \*(lq\-\*(rq , the output file will be written to stdout. Using stdout is not valid with image formats unless \-singlefile is used.
Line 54, length 175
Not all options are valid with all output formats. One (and only one) of the output format options (\-png, \-jpeg, \-tiff, \-pdf, \-print, \-ps, \-eps, or \-svg) must be used.
Line 123, length 133
Specifies the X and Y resolution, in pixels per inch of image files (or rasterized regions in vector output). The default is 150 PPI.
Line 126, length 127
Specifies the X resolution, in pixels per inch of image files (or rasterized regions in vector output). The default is 150 PPI.
Line 129, length 127
Specifies the Y resolution, in pixels per inch of image files (or rasterized regions in vector output). The default is 150 PPI.
Line 147, length 110
Specifies the x-coordinate of the crop area top left corner in pixels (image output) or points (vector output)
Line 150, length 110
Specifies the y-coordinate of the crop area top left corner in pixels (image output) or points (vector output)
Line 153, length 99
Specifies the width of crop area in pixels (image output) or points (vector output) (default is 0)
Line 156, length 100
Specifies the height of crop area in pixels (image output) or points (vector output) (default is 0)
Line 159, length 104
Specifies the size of crop square in pixels (image output) or points (vector output) (sets \-W and \-H)
Line 162, length 86
Uses the crop box rather than media box when generating the files (PNG/JPEG/TIFF only)
Line 171, length 130
Set the cairo antialias option used for text and drawing in image files (or rasterized regions in vector output). The options are:
Line 175, length 107
Use the default antialiasing for the target device. This is the default setting if \-antialias is not used.
Line 184, length 98
Perform antialiasing by taking advantage of the order of subpixel elements on devices such as LCD.
Line 187, length 85
Hint that the backend should perform some antialiasing but prefer speed over quality.
Line 193, length 91
Hint that the backend should render at the highest quality, sacrificing speed if necessary.
Line 200, length 106
Use the specified ICC file as the output profile (PNG only). The profile will be embedded in the PNG file.
Line 203, length 83
When used with \-jpeg, takes a list of options to control the jpeg compression. See
Line 243, length 85
Don't scale PDF pages which are larger than the paper (PS,PDF,SVG only). By default,
Line 256, length 116
(Windows only). When used with \-print, specifies the name of the printer to be used, instead of the system default.
Line 259, length 104
(Windows only). When used with \-print, takes a list of options to be used to configure the printer. See
Line 264, length 82
(Windows only). When used with \-print, the printer properties dialog is displayed
Line 265, length 83
allowing the print settings to be modified before printing. The paper size selected
Line 266, length 84
in the print properties dialog will be used except when -origpagesizes is specified.
Line 308, length 107
When JPEG output is specified, the \-jpegopt option can be used to control the JPEG compression parameters.
Line 309, length 95
It takes a string of the form "<opt>=<val>[,<opt>=<val>]". Currently the available options are:
Line 324, length 123
In Windows, you can use the \-print option to print directly to a system printer. Additionally, you can use the \-printopt
Line 325, length 128
option to configure the printer. It takes a string of the form "<opt>=<val>[,<opt>=<val>]". Currently the available options are:
Line 328, length 132
Selects the source paper tray to be used (bin). The possible values are "upper", "onlyone", "lower", "middle", "manual", "envelope",
Line 329, length 141
"envmanual", "auto", "tractor", "smallfmt", "largefmt", "largecapacity", "formsource", or a numeric value to choose a driver specific source.
Line 332, length 86
Sets the duplex mode of the printer. The possible values are "off", "short" or "long",
Line 334, length 85
General option \-duplex is a synonym of "duplex=long". If both options are specified,
-.-.
Change a HYPHEN-MINUS (code 0x55, 2D) to a dash
(\-, minus) if it matches "[[:alph:]]-[[:alpha:]]" in the name of an
option).
Facilitates the copy and paste of
a) an option in UTF-8 text
b) web addresses (URL).
Is not needed in ordinary words like "mother-in-law", that are not
copied and pasted to a command line (which needs ASCII code)
63:The \-scale-to options may be used to set a fixed image size. The
131:.BI \-scale-to " number"
136:.BI \-scale-to-x " number"
137:Scales each page horizontally to fit in scale-to-x pixels. If
138:scale-to-y is set to -1, the vertical size will determined by the
141:.BI \-scale-to-y " number"
142:Scales each page vertically to fit in scale-to-y pixels. If scale-to-x
-.-.
Output from "test-groff -mandoc -t -K utf8 -rF0 -rHY=0 -ww -b -z ":
troff: backtrace: file '<stdin>':324
troff:<stdin>:324: warning: trailing space in the line
-.-.
Additionally (general):
Abbreviations get a '\&' added after their final full stop (.) to mark them
as such and not as an end of a sentence.
-------------- next part --------------
--- pdftocairo.1 2024-11-01 21:32:26.536096970 +0000
+++ pdftocairo.1.new 2024-11-01 21:47:07.514451062 +0000
@@ -4,7 +4,7 @@ pdftocairo \- Portable Document Format (
.SH SYNOPSIS
.B pdftocairo
[options]
-.IR PDF-file
+.I PDF-file
.RI [ output-file ]
.SH DESCRIPTION
.B pdftocairo
@@ -36,19 +36,19 @@ The image formats (PNG, JPEG, and TIFF)
When \-singlefile is used with the image formats, the file type is appended to
.IR output-file .
When the output format is a vector format (PDF, PS, EPS, and SVG),
-.IR output-file
+.I output-file
is the full filename.
If the
-.IR PDF-file
+.I PDF-file
is \*(lq\-\*(rq , the PDF is read from stdin.
If the
-.IR output-file
+.I output-file
is \*(lq\-\*(rq , the output file will be written to stdout. Using stdout is not valid with image formats unless \-singlefile is used.
If
-.IR output-file
+.I output-file
is not used, the output filename will be derived from the
-.IR PDF-file
+.I PDF-file
filename.
.PP
Not all options are valid with all output formats. One (and only one) of the output format options (\-png, \-jpeg, \-tiff, \-pdf, \-print, \-ps, \-eps, or \-svg) must be used.
@@ -60,7 +60,7 @@ that can not be represented natively in
translucency in PS) will be rasterized at the resolution specified by
the resolution options.
.PP
-The \-scale-to options may be used to set a fixed image size. The
+The \-scale\-to options may be used to set a fixed image size. The
image resolution will vary with the page size.
.PP
The cropping options (\-x, \-y, \-W, and \-H) use units of pixels with
@@ -68,39 +68,38 @@ the image formats and PostScript points
formats. When cropping is used with vector output the cropped region is
centered unless \-nocenter is used in which case the cropped region is
at the top left (SVG) or bottom left (PDF, PS, EPS).
-.PP
.SH OPTIONS
.TP
-.BI \-png
+.B \-png
Generates a PNG file(s)
.TP
-.BI \-jpeg
+.B \-jpeg
Generates a JPEG file(s). See also \-jpegopt.
.TP
-.BI \-tiff
+.B \-tiff
Generates a TIFF file(s)
.TP
-.BI \-pdf
+.B \-pdf
Generates a PDF file
.TP
-.BI \-ps
+.B \-ps
Generate a PS file
.TP
-.BI \-eps
+.B \-eps
Generate an EPS file. An EPS file contains a single image, so if you
use this option with a multi-page PDF file, you must use \-f and \-l
to specify a single page. The page size options (\-origpagesizes,
\-paper, \-paperw, \-paperh) can not be used with this option.
.TP
-.BI \-svg
+.B \-svg
Generate a SVG (Scalable Vector Graphics) file
.TP
-.BI \-print
+.B \-print
(Windows only) Prints to a system printer. See also \-printer and \-printeropt.
- If an output file is not specified, the output will be sent to the printer.
- The output file '-' can not be used with this option.
+If an output file is not specified, the output will be sent to the printer.
+The output file '\-' can not be used with this option.
.TP
-.BI \-printdlg
+.B \-printdlg
(Windows only) Prints to a system printer. Displays the print dialog to allow
the print options to be modified before printing.
.TP
@@ -116,7 +115,7 @@ Generates only the odd numbered pages.
.B \-e
Generates only the even numbered pages.
.TP
-.BI \-singlefile
+.B \-singlefile
Writes only the first page and does not add digits.
.TP
.BI \-r " number"
@@ -128,19 +127,19 @@ Specifies the X resolution, in pixels pe
.BI \-ry " number"
Specifies the Y resolution, in pixels per inch of image files (or rasterized regions in vector output). The default is 150 PPI.
.TP
-.BI \-scale-to " number"
+.BI \-scale\-to " number"
Scales the long side of each page (width for landscape pages, height
for portrait pages) to fit in scale-to pixels. The size of the short
side will be determined by the aspect ratio of the page (PNG/JPEG/TIFF only).
.TP
-.BI \-scale-to-x " number"
-Scales each page horizontally to fit in scale-to-x pixels. If
-scale-to-y is set to -1, the vertical size will determined by the
+.BI \-scale\-to\-x " number"
+Scales each page horizontally to fit in scale\-to\-x pixels. If
+scale\-to\-y is set to \-1, the vertical size will determined by the
aspect ratio of the page (PNG/JPEG/TIFF only).
.TP
-.BI \-scale-to-y " number"
-Scales each page vertically to fit in scale-to-y pixels. If scale-to-x
-is set to -1, the horizontal size will determined by the aspect ratio
+.BI \-scale\-to\-y " number"
+Scales each page vertically to fit in scale\-to\-y pixels. If scale\-to\-x
+is set to \-1, the horizontal size will determined by the aspect ratio
of the page (PNG/JPEG/TIFF only).
.TP
.BI \-x " number"
@@ -260,10 +259,10 @@ PostScript file (PS only). This tells t
.B WINDOWS PRINTER OPTIONS
for the available options.
.TP
-.BI \-setupdlg
+.B \-setupdlg
(Windows only). When used with \-print, the printer properties dialog is displayed
allowing the print settings to be modified before printing. The paper size selected
-in the print properties dialog will be used except when -origpagesizes is specified.
+in the print properties dialog will be used except when \-origpagesizes is specified.
.TP
.BI \-opw " password"
Specify the owner password for the PDF file. Providing this will
@@ -308,34 +307,37 @@ Other error.
When JPEG output is specified, the \-jpegopt option can be used to control the JPEG compression parameters.
It takes a string of the form "<opt>=<val>[,<opt>=<val>]". Currently the available options are:
.TP
-.BI quality
+.B quality
Selects the JPEG quality value. The value must be an integer between 0 and 100.
.TP
-.BI progressive
+.B progressive
Select progressive JPEG output. The possible values are "y", "n",
indicating progressive (yes) or non-progressive (no), respectively.
.TP
-.BI optimize
+.B optimize
Sets whether to compute optimal Huffman coding tables for the JPEG output, which
will create smaller files but make an extra pass over the data. The value must
be "y" or "n", with "y" performing optimization, otherwise the default Huffman
tables are used.
.SH WINDOWS PRINTER OPTIONS
-In Windows, you can use the \-print option to print directly to a system printer. Additionally, you can use the \-printopt
-option to configure the printer. It takes a string of the form "<opt>=<val>[,<opt>=<val>]". Currently the available options are:
+In Windows, you can use the \-print option to print directly to a system
+printer.
+Additionally, you can use the \-printopt option to configure the printer.
+It takes a string of the form "<opt>=<val>[,<opt>=<val>]".
+Currently the available options are:
.TP
-.BI source
+.B source
Selects the source paper tray to be used (bin). The possible values are "upper", "onlyone", "lower", "middle", "manual", "envelope",
"envmanual", "auto", "tractor", "smallfmt", "largefmt", "largecapacity", "formsource", or a numeric value to choose a driver specific source.
.TP
-.BI duplex
+.B duplex
Sets the duplex mode of the printer. The possible values are "off", "short" or "long",
indicating no duplexing, short-edge binding, or long-edge binding, respectively.
General option \-duplex is a synonym of "duplex=long". If both options are specified,
\-printopt has priority.
.SH AUTHOR
-The pdftocairo software and documentation are copyright 1996-2004 Glyph
-& Cog, LLC and copyright 2005-2011 The Poppler Developers.
+The pdftocairo software and documentation are copyright 1996\(en2004 Glyph
+& Cog, LLC and copyright 2005\(en2011 The Poppler Developers.
.SH "SEE ALSO"
.BR pdfdetach (1),
.BR pdffonts (1),
More information about the Pkg-freedesktop-maintainers
mailing list