priniting with xpdf

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
jsfarinet
Posts: 305
Joined: 23. Nov 2014, 07:32

priniting with xpdf

Post 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
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: priniting with xpdf

Post by gapan »

Image
Image
User avatar
jsfarinet
Posts: 305
Joined: 23. Nov 2014, 07:32

Re: priniting with xpdf

Post 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?
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: priniting with xpdf

Post 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.
Image
Image
User avatar
jsfarinet
Posts: 305
Joined: 23. Nov 2014, 07:32

Re: priniting with xpdf

Post 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!
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: priniting with xpdf

Post 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...
Image
Image
User avatar
john256
Posts: 89
Joined: 1. Jun 2011, 07:52

Re: priniting with xpdf

Post 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.
User avatar
jsfarinet
Posts: 305
Joined: 23. Nov 2014, 07:32

Re: priniting with xpdf

Post 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 ... ;-)
Post Reply