Page 1 of 1

priniting with xpdf

Posted: 14. Jan 2015, 14:20
by jsfarinet
A question regard printing out of xpdf:

Xpdf has a print button which offers the option to print with a command or to print into a file. Now, for printing by a command i use:

'lpr - P <the printer name as shown in cups>'

which works. But i've no idea how i can manipulate the quality of the output. Any pointers?

TIA

Re: priniting with xpdf

Posted: 14. Jan 2015, 15:01
by gapan

Re: priniting with xpdf

Posted: 15. Jan 2015, 00:35
by jsfarinet
There is nothing which considers the quality of the print output (like 360dpi or 720dpi or even higher resolution etc.). Some default settings i configured in ~/.Xresources:

Code: Select all

xpdf*psPaperSize:      A4
xpdf*t1libControl:	  high
xpdf*freetypeControl:  high
But for the rest?

Re: priniting with xpdf

Posted: 15. Jan 2015, 05:59
by gapan
Look in the "Specifying Printer Options" section. Quality options are different for each printer and you have to use the

Code: Select all

lpoptions -p printer -l
command to discover them.

Re: priniting with xpdf

Posted: 18. Jan 2015, 14:37
by jsfarinet
gapan wrote:Look in the "Specifying Printer Options" section. Quality options are different for each printer and you have to use the

Code: Select all

lpoptions -p printer -l
command to discover them.
Thanks!!

I presume the options marked by a "*" are the default ones.

Can i change them via .Xresources? Or has that to be done with the http://localhost:631/printers/ web interface of cups?

TIA!

Re: priniting with xpdf

Posted: 18. Jan 2015, 16:57
by gapan
I'm not sure if there's a way to set them in .Xresources. You can certainly do in with the cups web interface. Or you could use the options you want in xpdf as the default parameters of lpr...

Re: priniting with xpdf

Posted: 18. Jan 2015, 17:10
by john256
jsfarinet wrote:... <the printer name as shown in cups> ...
This is the print queue and its properties depend upon the CUPS printer driver you have set-up. The selected driver, of course, depends on the printer model you have, so please provide some details about your printer!

On a related note, I wonder why you need to use xpdf; I find Atril much more advanced, incl. its printing interface.

Re: priniting with xpdf

Posted: 10. Feb 2015, 23:21
by jsfarinet
john256 wrote:... On a related note, I wonder why you need to use xpdf; I find Atril much more advanced, incl. its printing interface.
May be for nostalgia ... ;-)