Tag Info

New answers tagged

0

On my system (Debian wheezy), the PPD files are stored as /etc/cups/ppd/printername.ppd. Assuming a similar scheme holds on other systems, you really just need the printer name, which you can get from /etc/cups/printers.conf. This file appears to be in XML format, so you could probably use some suitable XML parsing tool.


3

The right place to set options for the (/this) printer, is in /opt/brother/Printers/mfc9340cdw/inf/brmfc9340cdwrc. The problem of always resulting in a DuplexTumble printing, was forced by the respective code-line (BRDuplex=DuplexTumble) in this configurations file. Setting the option in question to BRDuplex=DuplexNoTumble, and restarting the cupsd service ...


2

Yes a program exists: lpstat - print cups status information $ lpstat -W completed -W which-jobs Specifies which jobs to show, completed or not-completed (the default). This option must appear before the -o option and/or any printer names, otherwise the default (not-completed) value will be used in the request to the scheduler. ...


1

Use lpoptions with the -o options you want. As the man page says, this sets the defaults for both lp and lpr.


2

Why not remove the password temporary and print the resulting unsecure pdf with lpr: pdftk secure.pdf input_pw own output - | lpr If you don't want that this command is listed in bash command history: set +x history <commands> set -x history OR <whitespace><command> OR use a script (adapted from here): #!/bin/bash unset password ...


0

It turns out that I was missing the driver itself, I thought that the gutenprint-cups and epson-inkjet-printer-escpr packages would include said driver but they didn't (I'm against installing packages from the internet unless it's strictly necessary - this was one case - but that's why I didn't install it in the first time). The solution was to simply ...


0

I have found a solution to this. Basically, I am creating a new printer with a custom backend, that lets me manipulate the incoming data before sending it out again. So I have one printer acting as a wrapper, that receives the data, converts the image, then sends it to the actual printer. To accomplish this, there is an openSUSE RPM package that provides a ...


1

In researching this it does not appear that there's a method for blocking users from accessing the contents of the PPD file. Re: Unable to Print to Networked Konica Minolta BizHub C280 Re: How do I set the default value in a PPD. (xerox accounting) Printing to Xerox with XSA accounting from Linux So without this option your only viable option to restrict ...



Top 50 recent answers are included