Bug 127056 - lp(1) doesn't use -o options
Summary: lp(1) doesn't use -o options
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 7.1-PRERELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-03 02:20 UTC by Harald Schmalzbauer
Modified: 2015-11-15 05:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Schmalzbauer 2008-09-03 02:20:01 UTC
	When I use the FreeBSD lp command with "-o Duplex=NoTumble" the option
	get lost. When using some other lp this option just works.

How-To-Repeat: 	man -t zcat | /usr/bin/lp -d HL-5150 -o Resolution=1200dpi -o Duplex=NoTumble
Result is a hardcopy with printers default parameters
Install cups and use cups lp (or lpr, it also accepts -o):
man -t zcat | /usr/local/bin/lp -d HL-5150 -o Resolution=1200dpi -o Duplex=NoTumble
The result is what you wanted, HiRes on both sides.
Comment 1 Gavin Atkinson freebsd_committer freebsd_triage 2008-12-10 17:23:58 UTC
State Changed
From-To: open->suspended

To submitter: I'm afraid this is not supported yet.  To quote the 
man page: 

-o option 
Printer specific options.  Not supported, provided only as a com- 
patibility option for SVR. 

Mark PR as suspended until somebody is able to implement this 
feature.  As far as I can tell it's not straightforward, due to 
differences with lpr's handling of the Z option in control flags.