Managing from the cups web interface, Setting options with cups using command-line, Printer-specific options – HID DTC1000/4000/4500 User Guide LINUX & MAC User Manual

Page 24: Setting printer options

Advertising
background image

© 2011 HID Global Corporation

All rights reserved

DTC1000/DTC4000/DTC4500 CUPS Driver User Guide - LINUX (L001452, Rev 1.2)

24

Managing from the Cups Web Interface

The Web printer management interface is located at:

http://localhost:631/printers

From there you can perform all printer management tasks with a few simple mouse clicks.

Setting Options with Cups using Command-Line

Printer-Specific Options:

Each printer has its own options that are based on the options in the PPD (driver) file. The
lpoptions command provides a way to see a list of the available options:

lpoptions -p DTC4000 -1

Each option starts with the option name, a slash, the human readable text for that option, and
a colon. This is followed by a list of values for that option. The asterisk (*) in from of the value
indicates that this is the default setting. The options themselves follow the colon:

Setting Printer Options:

For many types of files, the default printer options may be sufficient for your needs. However,
at times you may need to change the options for a particular file you are printing. Cups
provides both System V (lp) and Berkeley (lpr) printing commands.

The lp and lpr commands allow you to pass printer options using the

–o options:

lp -d [printer] -o landscape -o scaling=75 -o media=A4 [filename]

OR

lpr -P [printer] -o landscape -o scaling=75 -o media=A4 [filename]

Advertising