1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 19:05:59 +02:00

lpr: add page-ranges example (#4966)

This commit is contained in:
aaaawwWWWwwwwWWW 2020-11-26 22:06:38 -03:00 committed by GitHub
parent 7813123d4d
commit 5a7a7de650
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,13 +16,13 @@
`lpr -P {{printer}} {{path/to/file}}`
- Print double sided in portrait:
- Print either a single page (e.g. 2) or a range of pages (e.g. 2–16):
`lpr -o sides={{two_sided_long_edge}} {{path/to/file}}`
`lpr -o page-ranges={{2|2-16}} {{path/to/file}}`
- Print double sided in landscape:
- Print double sided either in portrait (long) or in landscape (short):
`lpr -o sides={{two_sided_long_edge}} {{path/to/file}}`
`lpr -o sides={{two_sided_long_edge|two_sided_short_edge}} {{path/to/file}}`
- Set page size (more options may be available depending on setup):