Forrest logo
back to context overview

lpr

List of commands for lpr:

  • lpr:tldr:4cc23 lpr: Print multiple pages per sheet.
    $ lpr -o number-up=${select} ${filename}
    try on your machine
    explain this command
  • lpr:tldr:58292 lpr: Print a file to the default printer.
    $ lpr ${filename}
    try on your machine
    explain this command
  • lpr:tldr:5ea2b lpr: Print either a single page (e.g. 2) or a range of pages (e.g. 2–16).
    $ lpr -o page-ranges=${select} ${filename}
    try on your machine
    explain this command
  • lpr:tldr:60c10 lpr: Print 2 copies.
    $ lpr -# ${2} ${filename}
    try on your machine
    explain this command
  • lpr:tldr:80565 lpr: Print double-sided either in portrait (long) or in landscape (short).
    $ lpr -o sides=${select} ${filename}
    try on your machine
    explain this command
  • lpr:tldr:8feef lpr: Print to a named printer.
    $ lpr -P ${printer} ${filename}
    try on your machine
    explain this command
  • lpr:tldr:b3dfc lpr: Set page size (more options may be available depending on setup).
    $ lpr -o media=${select} ${filename}
    try on your machine
    explain this command
back to context overview