]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - doc/help/man-lp.html
Save work.
[thirdparty/cups.git] / doc / help / man-lp.html
index a09a51b3a169acc5b94d5ac07b5b531f53671522..7484763e91c929e9b19fc5f7988a5e8161e657c7 100644 (file)
@@ -63,164 +63,131 @@ the current default set using the <i>lpoptions(1)</i> command is used,
 followed by the default set using the <i>lpadmin(8)</i> command.
 <h2 class="title"><a name="OPTIONS">Options</a></h2>
 The following options are recognized by <i>lp</i>:
-<p style="margin-left: 5.0em; text-indent: -5.0em">--
-<br>
-<br>
+<dl class="man">
+<dt>--
+<dd style="margin-left: 5.0em"><br>
 Marks the end of options; use this to print a file whose name
 begins with a dash (-).
-<p style="margin-left: 5.0em; text-indent: -5.0em">-E
-<br>
-<br>
+<dt>-E
+<dd style="margin-left: 5.0em"><br>
 Forces encryption when connecting to the server.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-U username
-<br>
-<br>
+<dt>-U username
+<dd style="margin-left: 5.0em"><br>
 Specifies the username to use when connecting to the server.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-c
-<br>
-<br>
+<dt>-c
+<dd style="margin-left: 5.0em"><br>
 This option is provided for backwards-compatibility only. On
 systems that support it, this option forces the print file to be
 copied to the spool directory before printing. In CUPS, print
 files are always sent to the scheduler via IPP which has the
 same effect.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-d destination
-<br>
-<br>
+<dt>-d destination
+<dd style="margin-left: 5.0em"><br>
 Prints files to the named printer.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-h hostname[:port]
-<br>
-<br>
+<dt>-h hostname[:port]
+<dd style="margin-left: 5.0em"><br>
 Chooses an alternate server.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-i job-id
-<br>
-<br>
+<dt>-i job-id
+<dd style="margin-left: 5.0em"><br>
 Specifies an existing job to modify.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-m
-<br>
-<br>
+<dt>-m
+<dd style="margin-left: 5.0em"><br>
 Sends an email when the job is completed.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-n copies
-<br>
-<br>
+<dt>-n copies
+<dd style="margin-left: 5.0em"><br>
 Sets the number of copies to print from 1 to 100.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o "name=value [name=value ...]"
-<br>
-<br>
+<dt>-o "name=value [name=value ...]"
+<dd style="margin-left: 5.0em"><br>
 Sets one or more job options.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-q priority
-<br>
-<br>
+<dt>-q priority
+<dd style="margin-left: 5.0em"><br>
 Sets the job priority from 1 (lowest) to 100 (highest). The
 default priority is 50.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-s
-<br>
-<br>
+<dt>-s
+<dd style="margin-left: 5.0em"><br>
 Do not report the resulting job IDs (silent mode.)
-<p style="margin-left: 5.0em; text-indent: -5.0em">-t "name"
-<br>
-<br>
+<dt>-t "name"
+<dd style="margin-left: 5.0em"><br>
 Sets the job name.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-H hh:mm
-<br>
-<p style="margin-left: 5.0em; text-indent: -5.0em">-H hold
-<br>
-<p style="margin-left: 5.0em; text-indent: -5.0em">-H immediate
-<br>
-<p style="margin-left: 5.0em; text-indent: -5.0em">-H restart
-<br>
-<p style="margin-left: 5.0em; text-indent: -5.0em">-H resume
-<br>
-<br>
+<dt>-H hh:mm
+<dd style="margin-left: 5.0em"><dt>-H hold
+<dd style="margin-left: 5.0em"><dt>-H immediate
+<dd style="margin-left: 5.0em"><dt>-H restart
+<dd style="margin-left: 5.0em"><dt>-H resume
+<dd style="margin-left: 5.0em"><br>
 Specifies when the job should be printed. A value of <i>immediate</i> will print
 the file immediately, a value of <i>hold</i> will hold the job indefinitely, and
 a UTC time value (HH:MM) will hold the job until the specified UTC (not local)
 time. Use a value of <i>resume</i> with the <i>-i</i> option to resume a held job.
 Use a value of <i>restart</i> with the <i>-i</i> option to restart
 a completed job.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-P page-list
-<br>
-<br>
+<dt>-P page-list
+<dd style="margin-left: 5.0em"><br>
 Specifies which pages to print in the document. The list can
 contain a list of numbers and ranges (#-#) separated by commas
 (e.g. 1,3-5,16). The page numbers refer to the output pages and
 not the document's original pages - options like "number-up" can
 affect the numbering of the pages.
+</dl>
 <h2 class="title"><a name="COMMON_JOB_OPTIONS">Common Job Options</a></h2>
 Aside from the printer-specific options reported by the
 <i>lpoptions(1)</i> command, the following generic options are
 available:
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o media=size
-<br>
-<br>
+<dl class="man">
+<dt>-o media=size
+<dd style="margin-left: 5.0em"><br>
 Sets the page size to <i>size</i>. Most printers support at least
 the size names "a4", "letter", and "legal".
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o landscape
-<br>
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o orientation-requested=4
-<br>
-<br>
+<dt>-o landscape
+<dd style="margin-left: 5.0em"><dt>-o orientation-requested=4
+<dd style="margin-left: 5.0em"><br>
 Prints the job in landscape (rotated 90 degrees).
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o sides=one-sided
-<br>
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o sides=two-sided-long-edge
-<br>
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o sides=two-sided-short-edge
-<br>
-<br>
+<dt>-o sides=one-sided
+<dd style="margin-left: 5.0em"><dt>-o sides=two-sided-long-edge
+<dd style="margin-left: 5.0em"><dt>-o sides=two-sided-short-edge
+<dd style="margin-left: 5.0em"><br>
 Prints on one or two sides of the paper. The value
 "two-sided-long-edge" is normally used when printing portrait
 (unrotated) pages, while "two-sided-short-edge" is used for
 landscape pages.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o fit-to-page
-<br>
-<br>
+<dt>-o fit-to-page
+<dd style="margin-left: 5.0em"><br>
 Scales the print file to fit on the page.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o number-up=2
-<br>
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o number-up=4
-<br>
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o number-up=6
-<br>
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o number-up=9
-<br>
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o number-up=16
-<br>
-<br>
+<dt>-o number-up=2
+<dd style="margin-left: 5.0em"><dt>-o number-up=4
+<dd style="margin-left: 5.0em"><dt>-o number-up=6
+<dd style="margin-left: 5.0em"><dt>-o number-up=9
+<dd style="margin-left: 5.0em"><dt>-o number-up=16
+<dd style="margin-left: 5.0em"><br>
 Prints multiple document pages on each output page.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o cpi=N
-<br>
-<br>
+<dt>-o cpi=N
+<dd style="margin-left: 5.0em"><br>
 Sets the number of characters per inch to use when printing a
 text file. The default is 10.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o lpi=N
-<br>
-<br>
+<dt>-o lpi=N
+<dd style="margin-left: 5.0em"><br>
 Sets the number of lines per inch to use when printing a text
 file. The default is 6.
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o page-bottom=N
-<br>
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o page-left=N
-<br>
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o page-right=N
-<br>
-<p style="margin-left: 5.0em; text-indent: -5.0em">-o page-top=N
-<br>
-<br>
+<dt>-o page-bottom=N
+<dd style="margin-left: 5.0em"><dt>-o page-left=N
+<dd style="margin-left: 5.0em"><dt>-o page-right=N
+<dd style="margin-left: 5.0em"><dt>-o page-top=N
+<dd style="margin-left: 5.0em"><br>
 Sets the page margins when printing text files. The values are in
 points - there are 72 points to the inch.
+</dl>
 <h2 class="title"><a name="EXAMPLES">Examples</a></h2>
 Print a double-sided legal document to a printer called "foo":
-<pre>
+<pre class="man">
     lp -d foo -o media=legal -o sides=two-sided-long-edge filename
 </pre>
 <p>Print an image across 4 pages:
-<pre>
+<pre class="man">
     lp -d bar -o scaling=200 filename
 </pre>
 <p>Print a text file with 12 characters per inch, 8 lines per inch, and
 a 1 inch left margin:
-<pre>
+<pre class="man">
     lp -d bar -o cpi=12 -o lpi=8 -o page-left=72 filename
 </pre>
 <h2 class="title"><a name="COMPATIBILITY">Compatibility</a></h2>