Printing accented characters not working

Kevin Pickell sales at scale18.com
Fri Jan 25 20:39:35 PST 2008


Hi All,

I'm in the process of converting an C++ open source app from windows to linux. I am generating a postscript file and then printing it using cups. I have it working for images and lines and regular text just fine, except that accented characters are not printing correctly, instead of the accented characters I am getting a circle with a line through it. My code uses the Arial font and I am printing it to a HP Laserjet 3700. I would like to track down why and I thought that it would be quicker to ask here. :-)

Could it be that the "true type" Arial font that I am using for the screen is different than the one in the printer? And if so is there a way that I can wrap the font up and include it directly into the postscript file? Or could it be some sort of text encoding issue?

I'm totally new to Postscript and I've only been playing with linux for about a month.

One other item that I just thought of also, is my code currently looks specifically for the page size "Letter" and I would like to change it to get the list of page sizes from the printer and then let the user select which size to use, can someone point me in the right direction to get that info from the printer?

Any help would be greatly appreciated.

Thanks,
Kevin









More information about the cups mailing list