[cups.bugs] [MOD] STR #3268: CUPS 1.4rc1: 'lpoptions -l' reports other defaults than in PPD

jsmeix.suse jsmeix at suse.de
Tue Jul 21 01:17:46 PDT 2009


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

I did a cupsd restart but 'lpoptions -l' somehow insists
to report another default than what actually is in the PPD:

root at host# egrep '^\*DefaultPa|^\*DefaultImageableArea' \
           /etc/cups/ppd/hplaserjet1220ps.ppd
*DefaultPageSize: A4
*DefaultPageRegion: A4
*DefaultImageableArea: A4
*DefaultPaperDimension: A4

root at host# lpoptions -p hplaserjet1220ps -l | grep PageSize
PageSize/Media Size: *Letter ... A4 ...

user at host$ lpoptions -p hplaserjet1220ps -l | grep PageSize
PageSize/Media Size: *Letter ... A4 ...

I have no idea wherefrom 'lpoptions -l' gets this 'Letter'
default value:

root at host# find /etc/cups | xargs grep -l 'Letter'
/etc/cups/ppd/hplaserjet1220ps.ppd

root at host# find ~ | xargs grep -l 'Letter'
/root/.bash_history

user at host$ find ~ | xargs grep -l 'Letter'
/home/user/.bash_history

Link: http://www.cups.org/str.php?L3268
Version: 1.4rc1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hplaserjet1220ps.ppd
Type: application/octet-stream
Size: 42560 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20090721/ad792ed6/attachment.obj>


More information about the cups mailing list