Enable printing

From ويكي عربآيز
Jump to: navigation, search

Printing in Arabic

Printing Arabic documents can be a tricky thing. To print plain text documents you can use txtbdf2ps. Currently, the latest test version of the script includes the Arabic patch.

$ txtbdf2ps.pl -UTF-8 \
               -bidi \
               -bdf=/PATH/PATH/PATH/10x21.bdf \
               -text=arabic_file > output.ps
$ lpr output.ps 

You may also want to use ttf2bdf to convert TTF's to BDF's in order to use them.