New answers tagged

2

A lot depends on what the supplied ppd for the printer proposes. List the options, and their current settings shown by an asterisk next to that option. The options and values are entirely arbitrary, but fairly conventional so you might see eg: $ lpoptions -l PageSize/Media Size: Photo4x6tab A6 8x10 Legal Letter EnvDL ... InputSlot/Media Source: *Auto Main ....


0

I had the same problem: PDF document seemed scaled out and not fitting on the A4 page provided by my printer HP Deskjet 3050. Solution: Add (or change) the option fitplot to True: #/etc/cups/printers.conf <Printer Deskjet_3050> ... Option fitplot True ... </Printer> According to the manual a value of True scaled the document to ...


2

Change /etc/papersize to a4 and all programs1 will default to using a4 as the paper size. e.g. (as a non-root user with sudo privileges): echo a4 | sudo tee /etc/papersize or, as root: echo a4 > /etc/papersize 1or almost all. There might be a few odd programs with letter or legal hard-coded. There's not much you can do about them except replace ...


0

It turns out that the answer is the scaling parameter. I thought the parameter was relative to the image, but turns out it is relative to the page. So setting scaling=0 will print the image on its native size. It is possible to also manipulate it using the ppi (pixel per inch), and the natural-scaling parameter. More info here.



Top 50 recent answers are included