LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How cups creates rasters for multiple languages ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-cups-creates-rasters-for-multiple-languages-4175551778/)

akhilbaai 08-26-2015 05:09 AM

How cups creates rasters for multiple languages ?
 
I need to use cups to print multiple language (UTF-8) encoded data. How does cups know which language character is given for print ? In the case of dot-matrix printers how cups creates correct raster data for given language character ? Is there an internal mapping used for each character ?

ferrari 08-29-2015 07:18 PM

My knowledge of CUPS is limited, so I apologize upfront if I can't answer your questions accurately or completely. You may get the answers you need by way of the CUPS Mailing List.

Anyway, I believe that CUPS uses $LANG environment variable by default to determine applicable character sets, but the 'DefaultLanguage' option can still be set explicitly in cupsd.conf if desired.

Refer
Code:

man cupsd.conf
I know little about the CUPS workflow used with printing text files to dot matrix printers. CUPS uses mime.convs to determine how particular files should be processed before any printer-specific processing is applied. So, you may want to research that a little further first.

There is some good information about CUPS filters and how a '*cupsFilter' entries in given PPD files define how to convert various data types to printer-specific data explained here:

https://en.opensuse.org/SDB:Using_Yo...rint_with_CUPS

Hope some of this information is useful to you.


All times are GMT -5. The time now is 03:18 PM.