next up previous
Next: Direct Text Output - Up: idoc.itx (ITRANS doc) Previous: TEX Interface

Subsections


Direct PostScript Output

Note: This section is applicable to the PostScript fonts only: devanagari font devnac, Gujarati ItxGuj, Bengali ItxBeng, Devanagari Xdvng, and Romanized Sanskrit NCS_CSX. The tamil font wntml, the devanagari font devnag, the telugu font tel and the kannada font kan cannot be used for this purpose since they are not PostScript fonts.

As mentioned earlier, the Direct PostScript Output interface is an extremely primitive interface for printing, but will suffice for printing documents containing only Indic Script text (no english), and requiring no typesetting features such as centering, right flush text, etc. In addition to generating the devanagari characters, this method preserves the line breaks and spaces in the input text. So, unlike in the TEX version, which programatically decides where to break a line, here you have to include a end-of-line in the exact spot where you desire a new line to start in the output. And, if you need indented lines, you have to add spaces to simulate horizontal skips.

The previous section titled Input Format applies to this interface, too. Thus, the user needs to specify the IFM file name, the font command name, etc before writing text between the Indian language markers such as #marathi and #endmarathi . For further examples, see the sample document provided in the ITRANS archive, file may be named something like s1.ips. The PostScript prologue for itrans is in the file itrans.pro. Check the file out, it contains some useful PostScript procedures.

Direct PostScript Output Requirements

  1. All that is required is the capability to print PostScript files. Note that the devnac font used is a user defined PostScript font (Type III Font), so the printer (or the RIP used) must be capable of rendering Type III fonts if you need to use this font.


next up previous
Next: Direct Text Output - Up: idoc.itx (ITRANS doc) Previous: TEX Interface

2009-12-04
ITRANS Home Page: http://www.aczoom.com/itrans/