Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Encoding problem with the Euro currency Symbol

Status
Not open for further replies.

Starkiller

Programmer
Mar 9, 2005
3
US
Hi there.

I have a problem with some postscript files I generate with FOP (an apache java library that makes PS files ---and other formats, too--- from XSL and XML sources). The issue is that if I send the file to a printer from within a Java applet, the euro currency symbol (i.e., €) does not appear. If I take the generated PS, open it and print from within the Ghostscript, the symbol appears. The applet-printing ignores my efforts to specify a Global Locale. So the question is:

Is there any PS construct that, FROM INSIDE THE PS FILE, makes the printer to take care about "€"?

(For example, I found that the line "<</Duplex true>> setpagedevice" tweaks the printer device to print the file automatically double-sided. My aim is to find some statement that could fix my €-issue without dependence of "from where/what software" I print)
 
The most simple technique for printing unusual characters is glyphshow operator.

/Euro glyphshow

You can also create a custom encoding for the character set you are using in the document. Since the file look right in Ghostscript, your tools have done this for you.

The Eure glyph should be also available in the font used. Ghostscript fonts hsve Eoro. Old fonts don't.

You can either include Ghostscript fonts into your document or patch the printer font. Adobe has released a patch with the Euro character for a few common fonts.

Your PostScript expert is just a click away.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top