[cups.general] Printing UTF-8 via command line

Michael R Sweet msweet at apple.com
Mon Apr 28 15:51:51 PDT 2008


Claus Atzenbeck wrote:
> Hello,
> 
> I have Mac OS 10.5.2. I am wondering how I could print UTF-8 plain text 
> files by command line using CUPS.
> 
> I tried
> 
>  	lpr -o document-format=text/utf8 <UTF-8_FileToPrint>
> 
> but lpr tells me that the format "text/utf8" is not supported.

Text files use UTF-8 by default in CUPS 1.2 and higher.  You can
pass "text/plain" for the document-format, but that should be auto-
detected...

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list