Tag Info

New answers tagged

1

Ok, got it. The key to success is to explicitly specify paper size. Example, original PDF has DIN A4 page size, then pdfjam --a4paper --scale 0.5 ---offset "-7cm 0cm" -- inputfiles does the trick. I'm not sure why -x with x<10 didn't work before.


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 ...



Top 50 recent answers are included