Hello,

a colleague of me (in CC) informed me about this bug:

The PPD "HP PhotoSmart C6100 Foomatic/hpijs (recommended)"
has typos regarding the paper formats "4x6 inch index card"
and "5x7 inch index card".

Therefore those options are not recognized as valid options
by the cupsd so that the user cannot select these page sizes.
In particular "lpoptions -p <queue-name> -l" does not show
these page sizes.

Unfortunately cupstestppd does not (yet) detect such errors.

I don't have the model here to test it but I hope that
it can be fixed as follows (some linea are wrapped here
in the mail but I assume you still understand what I mean):
--------------------------------------------------------------------
--- SAVE/etc/cups/ppd/hp6180.ppd 2007-01-21 23:43:06.000000000 +0100
+++ /etc/cups/ppd/hp6180.ppd     2007-02-26 10:20:02.000000000 +0100
@@ -156,12 +156,12 @@
 *FoomaticRIPOptionSetting PageSize=A4: " -dDEVICEWIDTHPOINTS=595 -dDEV&&
 ICEHEIGHTPOINTS=842"
 *End
-*PageSize Photo/Photo/4x6 inch index card: "%% FoomaticRIPOptionSetting: 
PageSize=Photo"
-*FoomaticRIPOptionSetting PageSize=Photo: " -dDEVICEWIDTHPOINTS=288 -d&&
+*PageSize 4x6/4x6 inch index card: "%% FoomaticRIPOptionSetting: PageSize=4x6"
+*FoomaticRIPOptionSetting PageSize=4x6: " -dDEVICEWIDTHPOINTS=288 -d&&
 DEVICEHEIGHTPOINTS=432"
 *End
-*PageSize Photo5x7/Photo/5x7 inch index card: "%% FoomaticRIPOptionSetting: 
PageSize=Photo5x7"
-*FoomaticRIPOptionSetting PageSize=Photo5x7: " -dDEVICEWIDTHPOINTS=360&&
+*PageSize 5x7/5x7 inch index card: "%% FoomaticRIPOptionSetting: PageSize=5x7"
+*FoomaticRIPOptionSetting PageSize=5x7: " -dDEVICEWIDTHPOINTS=360&&
  -dDEVICEHEIGHTPOINTS=504"
 *End
 *PageSize PhotoTearOff/Photo with tear-off tab: "%% FoomaticRIPOptionSetting: 
PageSize=PhotoTearOff"
@@ -288,8 +288,8 @@
 *DefaultImageableArea: A4
 *ImageableArea Letter/Letter: "18 36 594 783"
 *ImageableArea A4/A4: "9.72 36 585.28 833"
-*ImageableArea Photo/Photo/4x6 inch index card: "0 36 288 432"
-*ImageableArea Photo5x7/Photo/5x7 inch index card: "0 36 360 504"
+*ImageableArea 4x6/4x6 inch index card: "0 36 288 432"
+*ImageableArea 5x7/5x7 inch index card: "0 36 360 504"
 *ImageableArea PhotoTearOff/Photo with tear-off tab: "0 0 288 432"
 *ImageableArea 3x5/3x5 inch index card: "0 36 216 360"
 *ImageableArea 5x8/5x8 inch index card: "0 36 360 576"
@@ -316,8 +316,8 @@
 *DefaultPaperDimension: A4
 *PaperDimension Letter/Letter: "612 792"
 *PaperDimension A4/A4: "595 842"
-*PaperDimension Photo/Photo/4x6 inch index card: "288 432"
-*PaperDimension Photo5x7/Photo/5x7 inch index card: "360 504"
+*PaperDimension 4x6/4x6 inch index card: "288 432"
+*PaperDimension 5x7/5x7 inch index card: "360 504"
 *PaperDimension PhotoTearOff/Photo with tear-off tab: "288 432"
 *PaperDimension 3x5/3x5 inch index card: "216 360"
 *PaperDimension 5x8/5x8 inch index card: "360 576
--------------------------------------------------------------------


By the way:
It would be nice if you provide additionally "cm"-based info
about special media sizes in the translation strings in the PPD
so that non-"inch" people can easier understand the media size.
For example: "4x6 inch (10x15 cm) index card".
In particular 10x15cm is a very popular media size for photos
in Germany.


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel

Reply via email to