Printing UTF-8 plain text with CUPS

  • Follow


Hi there


Right now I use LprNg + uniprint to print UTF-8 plain text;
In /etc/printcap;
txt|UTF-8 txt:\
	:lp=/dev/null:\
	:sd=/var/spool/lpd/txt:\
	:if=/usr/local/bin/utxt-local
	:mx#0:\
	:sh:

utxt-local;
#!/bin/bash
# This script converts UTF-8 txt to postscript
uniprint -printer lp -size 8 -hsize 0 -font 
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf

What happens is that uniprint converts UTF-8 plain text to Postscript 
which then gets send to the printer.

Is it possible to have CUPS do this for me?
If not, can I use filters in a similar way with CUPS?


Regards,
Rob
-- 
Wim T. Schippers for president
http://nl.wikipedia.org/wiki/Bestand:Universiteit_Twente_Verzonken_Torentje_van_Drienerlo.jpg
0
Reply rob8523 (104) 6/3/2011 2:37:06 PM


0 Replies
86 Views

(page loaded in 0.039 seconds)


Reply: