[cups] Re. "Confidential" appears faintly across the page on every document I print.

Kurt Pfeifle kurt.pfeifle at googlemail.com
Mon Aug 14 04:52:46 PDT 2017


On Sun, Aug 13, 2017 at 7:08 PM, <cups-request at cups.org> wrote:

> [....]
>    2. Re: "Confidential" appears faintly across the page on every
> [....]
>
> ------------------------------
>
> Message: 2
> Date: Sun, 13 Aug 2017 05:27:05 -0400
> From: Gene Heskett <gheskett at shentel.net>
> To: cups at cups.org
> Subject: Re: [cups] "Confidential" appears faintly across the page on
>         every document I print.
> Message-ID: <201708130527.05139.gheskett at shentel.net>
> Content-Type: Text/Plain;  charset="utf-8"
>
> On Sunday 13 August 2017 04:16:47 Helge Blischke wrote:
> > [....]
> > Set the default watermark to "None“ either by using the web interface
> > or by using the lpadmin command: lpadmin -p name_of_your_printer -o
> > watermark-default=None
> >
> > Helge
> >
> Interesting train of thought, Helge. Is there some option one can give
> lpadmin to get a full report listing all such stuff the printer can do?
>

The command is 'lpoptions'. Run it like this, if the printer is installed
on your local system:

    lpoptions -l -p printername

The "-l" parameter requests a "long" listing of available options,
extracted from the print queue's PPD.

You'll see lines like the following:

  ColorModel/Color Mode: DeviceGray *RGB AdobeRGB DeviceRGB
  cupsPrintQuality/Quality: Draft *Normal High
  PageSize/Media Size: *A4 A4.Fullbleed A5 EnvC5 Letter Postcard
  [...]

Note how on each line there is one word marked with an asterisk, '*'. This
is the current default value for the print option, used if no other value
is given by the user for the job. The meaning of the words on these lines
is the following:

  PrintOptionX/Meaning, Human Readable: value1 value2 \
                                              *CurrentDefaultValue value4
[...]

So if you print to the printer without any specific job parameter, using
the short

  lp -d printername some-job.pdf

that job will behave as if you had given:

  lp -d printername -o PrintOptionX=CurrentDefaultValue some-job.pdf

(Of course, the current default value will silently be applied to ALL print
options.). To change the next job to print with another option, you have to
go for a longer command, like:

  lp -d printername -o PrintOptionX=value4 \
        -o PrintOptionY=othervalue [...] some-job.pdf


More information about the cups mailing list