Hi, on a CDROM distributed with Minolta CLP550N printer there are interestingly ppds for many Minolta printers, contain URW fonts and also charset conversions. I found on my system only /usr/share/cups/charsets/utf-8, so I happily copied over to my Gentoo box the other remaining files. Also, the utf-8 file differed to the one provided by Gentoo. I would like to point you to this issue, maybe getting the extra conversion files would be helpful. They do not contain any License-related text but maybe they are from a GNU public source as the URW fonts were (seems from Linux Printing Package). Well, see the diff below. # ls -la /mnt/cdrom/data/charsets/ total 76 dr-xr-xr-x 2 mmokrejs root 4096 Apr 23 2004 . dr-xr-xr-x 4 mmokrejs root 2048 Apr 23 2004 .. -r--r--r-- 1 mmokrejs root 2733 Apr 23 2004 iso-8859-1 -r--r--r-- 1 mmokrejs root 2727 Apr 23 2004 iso-8859-10 -r--r--r-- 1 mmokrejs root 2731 Apr 23 2004 iso-8859-13 -r--r--r-- 1 mmokrejs root 2727 Apr 23 2004 iso-8859-14 -r--r--r-- 1 mmokrejs root 2739 Apr 23 2004 iso-8859-15 -r--r--r-- 1 mmokrejs root 2749 Apr 23 2004 iso-8859-2 -r--r--r-- 1 mmokrejs root 2678 Apr 23 2004 iso-8859-3 -r--r--r-- 1 mmokrejs root 2734 Apr 23 2004 iso-8859-4 -r--r--r-- 1 mmokrejs root 2721 Apr 23 2004 iso-8859-5 -r--r--r-- 1 mmokrejs root 2359 Apr 23 2004 iso-8859-6 -r--r--r-- 1 mmokrejs root 2695 Apr 23 2004 iso-8859-7 -r--r--r-- 1 mmokrejs root 2448 Apr 23 2004 iso-8859-8 -r--r--r-- 1 mmokrejs root 2727 Apr 23 2004 iso-8859-9 -r--r--r-- 1 mmokrejs root 1578 Apr 23 2004 utf-8 -r--r--r-- 1 mmokrejs root 2758 Apr 23 2004 windows-1250 -r--r--r-- 1 mmokrejs root 2792 Apr 23 2004 windows-1251 -r--r--r-- 1 mmokrejs root 2758 Apr 23 2004 windows-1252 -r--r--r-- 1 mmokrejs root 2686 Apr 23 2004 windows-1253 -r--r--r-- 1 mmokrejs root 2743 Apr 23 2004 windows-1254 -r--r--r-- 1 mmokrejs root 2614 Apr 23 2004 windows-1255 -r--r--r-- 1 mmokrejs root 2798 Apr 23 2004 windows-1256 -r--r--r-- 1 mmokrejs root 2702 Apr 23 2004 windows-1257 -r--r--r-- 1 mmokrejs root 2730 Apr 23 2004 windows-1258 -r--r--r-- 1 mmokrejs root 2544 Apr 23 2004 windows-874 #diff -u -w /mnt/cdrom/data/charsets/utf-8 /usr/share/cups/charsets/utf-8 --- /mnt/cdrom/data/charsets/utf-8 2004-04-23 13:36:16.000000000 +0200 +++ /usr/share/cups/charsets/utf-8 2007-11-20 23:25:47.000000000 +0100 @@ -30,7 +30,8 @@ 0100 01FF ltor single Courier Courier-Bold Courier-Italic Courier-Bold-Italic 0200 02FF ltor single Courier Courier-Bold Courier-Italic Courier-Bold-Italic 0300 03FF ltor single Symbol -0400 04FF ltor single Courier-Cyrillic +0400 04FF ltor single Courier Courier-Bold Courier-Italic Courier-Bold-Italic +0500 05FF rtol single Courier 1E00 1EFF ltor single Courier Courier-Bold Courier-Italic Courier-Bold-Italic 2000 20FF ltor single Courier Courier-Bold Courier-Italic Courier-Bold-Italic 2100 21FF ltor single Courier Courier-Bold Courier-Italic Courier-Bold-Italic # head /mnt/cdrom/README.txt Linux Printing Package Release Candidate ---------------------------------------- The Linux Printer Package is an integrated suite of utilities for the Linux operating system, allowing you to configure and manage Linux laser printers in a user-friendly way. SUPPORTED CONFIGURATIONS ------------------------ #
Well the charmaps are by default located in /usr/share/cups/charmaps/. All charset/charmap files that come with cups are imho installed into their proper location. So what's the actual problem you have with cups here?
I had only the utf-8 file installed so I copied the other files in there (charsets/ dir is therefore created why?). # equery files =net-print/cups-1.3.4-r3 ... /usr/share/cups/charmaps /usr/share/cups/charmaps/euc-cn.txt /usr/share/cups/charmaps/euc-jp.txt /usr/share/cups/charmaps/euc-kr.txt /usr/share/cups/charmaps/euc-tw.txt /usr/share/cups/charmaps/iso-8859-1.txt /usr/share/cups/charmaps/iso-8859-10.txt /usr/share/cups/charmaps/iso-8859-11.txt /usr/share/cups/charmaps/iso-8859-13.txt /usr/share/cups/charmaps/iso-8859-14.txt /usr/share/cups/charmaps/iso-8859-15.txt /usr/share/cups/charmaps/iso-8859-16.txt /usr/share/cups/charmaps/iso-8859-2.txt /usr/share/cups/charmaps/iso-8859-3.txt /usr/share/cups/charmaps/iso-8859-4.txt /usr/share/cups/charmaps/iso-8859-5.txt /usr/share/cups/charmaps/iso-8859-6.txt /usr/share/cups/charmaps/iso-8859-7.txt /usr/share/cups/charmaps/iso-8859-8.txt /usr/share/cups/charmaps/iso-8859-9.txt /usr/share/cups/charmaps/koi8-r.txt /usr/share/cups/charmaps/koi8-u.txt /usr/share/cups/charmaps/mac-roman.txt /usr/share/cups/charmaps/windows-1250.txt /usr/share/cups/charmaps/windows-1251.txt /usr/share/cups/charmaps/windows-1252.txt /usr/share/cups/charmaps/windows-1253.txt /usr/share/cups/charmaps/windows-1254.txt /usr/share/cups/charmaps/windows-1255.txt /usr/share/cups/charmaps/windows-1256.txt /usr/share/cups/charmaps/windows-1257.txt /usr/share/cups/charmaps/windows-1258.txt /usr/share/cups/charmaps/windows-1361.txt /usr/share/cups/charmaps/windows-874.txt /usr/share/cups/charmaps/windows-932.txt /usr/share/cups/charmaps/windows-936.txt /usr/share/cups/charmaps/windows-949.txt /usr/share/cups/charmaps/windows-950.txt /usr/share/cups/charsets /usr/share/cups/charsets/utf-8 /usr/share/cups/data ... Second, the utf-8 file differs from the one probably distributed with Linux Printing package. Might point to an upstream bug.
Alright, after having a look at the various cups releases it seems like: In cups 1.1.x there was only a charsets directory. In cups 1.2.x charmaps was added, and also the utf-8 code you posted was there. In cups 1.3.x charsets was cleaned out and utf-8 code got altered. So to me it seems like Minolta just ships old/compatibility code. Generally I'm against adding additional files to cups directly which are not shipped upstream, closing for now.