Ticket #444 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

LPRng options don't work with CUPS

Reported by: geofft Owned by:
Priority: low Milestone:
Component: printing Keywords:
Cc: Fixed in version:
Upstream bug:

Description

A user has reported that -Zduplex -h doesn't work any more. While this makes perfect sense, it's somewhat unfortunate. Can our lpr wrapper convert these to CUPS options?

Change History

comment:1 Changed 14 years ago by andersk

Assuming that we want the lpr wrapper to stop existing at all in the eventual future, you should think very carefully before adding behavior changes over CUPS lpr.

comment:2 Changed 14 years ago by broder

I think we want to think hard about having some compatibility warning code in our lpr wrapper.

Something that displays a warning (using either zenity or stderr, as appropriate) if for some reason you're using a -Z options, or -n, or anything else that isn't supported in CUPS-land.

Ideally, we should have some way to replicate those options in ~/.cups/lpoptions or something like that, and have our compatibility warning link to directions on how to do that. Although I'm still not sure if there's some way to do the equivalent of LPOPTIONS for CUPS to set options globally.

comment:3 Changed 14 years ago by broder

Oh - I should mention that I think this code should detect the difference between options on the command line (=> give you the equivalent CUPS command-line options) and from LPOPTIONS (=> tell you how to set the options in ~/.cups/lpoptions)

comment:4 Changed 14 years ago by broder

  • Status changed from new to closed
  • Resolution set to fixed

We added code to do this translation recently (see #509)

Note: See TracTickets for help on using tickets.