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


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


5

To cancel a print job : List all jobs: lpq Rank Owner/ID Class Job Files Size Time active bob A 11 zarma.txt 8000 10:12:10 Delete the job by it's id, which is 11 here: lprm 11 You must be root to delete jobs that you don't have initiated. If the printer is not the default printer, add the -P option, ...


1

There isn't a program that does this specifically, but with 'nmap -A' (advanced host detection/fingerprinting) may be able to identify most printers. You're going to have to filter it after.


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