lpadmin don't add anymore standard options such as landscape

Guy Paressant net at ac-nantes.fr
Tue Dec 25 23:32:04 PST 2007


Hello,
I have a problem after the upgrade in 1.3.5 : lpadmin don't add some options when creating a printer.
For example, the following command create the printer with the media=A4 option, but "landscape" is ignored :

/usr/sbin/lpadmin -p <printer_name> -E -v lpd://axis-lexmark/pr5 -m ljet4-600.ppd -o landscape=true -o media=A4

It seems that only driver options (listed by "lpoptions -p <printer_name>" ) are valid ?

It was working well before the upgrade (in cups version 1.3.4), for example all these options are added to the printer :
"-o landscape=true -o cpi=13 -o lpi=9 -o page-bottom=36 -o page-left=36 -o page-right=36 -o page-top=30 -o scaling=100 -o wrap=true"

In case of use, the systems are Redhat AS3, and I install cups with the following method :
tar zxvf cups-1.3.x-source.tar.gz
cd cups-1.3.x
./configure
vi config.h
# delete the line "#define HAVE_EPOLL 1"
make
make install





More information about the cups mailing list