From harry@omnilan.de Wed Sep 3 01:16:51 2008 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1B4510666B5 for ; Wed, 3 Sep 2008 01:16:51 +0000 (UTC) (envelope-from harry@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 6F5658FC1E for ; Wed, 3 Sep 2008 01:16:51 +0000 (UTC) (envelope-from harry@omnilan.de) Received: from tek.flintsbach.schmalzbauer.de (tek.flintsbach.schmalzbauer.de [172.21.2.3]) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id m8311lnZ036846 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 3 Sep 2008 03:01:53 +0200 (CEST) (envelope-from harry@titan.flintsbach.schmalzbauer.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [IPv6:fec0::1:0:0:1:1]) by tek.flintsbach.schmalzbauer.de (8.13.8/8.13.8) with ESMTP id m8311kZv042665 for ; Wed, 3 Sep 2008 03:01:47 +0200 (CEST) (envelope-from harry@titan.flintsbach.schmalzbauer.de) Received: (from harry@localhost) by titan.flintsbach.schmalzbauer.de (8.14.2/8.14.2/Submit) id m7SFdD7G022903; Thu, 28 Aug 2008 17:39:13 +0200 (CEST) (envelope-from harry) Message-Id: <200808281539.m7SFdD7G022903@titan.flintsbach.schmalzbauer.de> Date: Thu, 28 Aug 2008 17:39:13 +0200 (CEST) From: Harald Schmalzbauer Reply-To: Harald Schmalzbauer To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: lp doesn't use -o options X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 127056 >Category: bin >Synopsis: lp(1) doesn't use -o options >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: suspended >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 03 01:20:01 UTC 2008 >Closed-Date: >Last-Modified: Wed Dec 10 17:28:42 UTC 2008 >Originator: Harald Schmalzbauer >Release: FreeBSD 7.1-PRERELEASE i386 >Organization: OmniLAN >Environment: System: FreeBSD titan.flintsbach.schmalzbauer.de 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Thu Aug 28 11:43:21 CEST 2008 harry@titan.flintsbach.schmalzbauer.de:/usr/obj/usr/src/sys/TITAN i386 >Description: 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. >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open->suspended State-Changed-By: gavin State-Changed-When: Wed Dec 10 17:23:58 UTC 2008 State-Changed-Why: 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. http://www.freebsd.org/cgi/query-pr.cgi?pr=127056 >Unformatted: