I know the topic PDF conversion was discussed a lot.
I already searched the forum for a solution but couldn't find one.
Here is my problem:
I took the idea (amongst others I think Vamsi was the most markable) of an own conversion script instead of ttstpconv to generate PDF files. It works really fine if you do it this way:
ttstpconv --> PS file --> ghostscript --> PDF file
some TXT file --> ttstpconv --> PS file --> ghostscript --> PDF file
We have some User Fonts in some report layouts.
The reports for customers and suppliers look .... special.
Like bigger font for "Purchase Order" or other things to make the layout and look and feel of the business reports nicer.
Additionaly it could happen that a report layout has eg. UserFont5 but a field within the layout could have UserFont3.
When we print this to a printer the report looks fine, but as soon as we use ttstpconv to TXT, RTF or PS the report looks horrible. So converting to a PDF always needs a special report with NO UserFonts.
That's to know the background...
Now I thought if I make PDF files I want it
1. to look like the ones we print out
2. get rid of extra reports especially for the PDF conversion
Sounds good so far.
So I found a tool called "gpcl6" which is a Ghost PCL to PDF converter.
I used that in my baan conversion script and at a first glance it looked good.
The PDFs really look nearly identical to the print outs.
Now I have a conversion like this:
PCL --> gpcl6 --> PDF
Besides the problem that you cannot copy and paste the text of this PDFs I realised another big problem: We need german umlauts!
But in the files some umlauts are written and others are "hacked" with other letters or cryptic signs.
Further analysis showed that the umlauts are correct in layouts with
And on the other hand umlauts are not correct in layouts without
UserFonts. In this layouts Baan uses just Small/Middle/Large for a font height and width definition. But I read somewhere that in this case an ANSI-font is used with the lack of german umlauts!
Has someone already had this problem and solved it?
I want to avoid to edit all layouts of all documents that could possibly be printed via PDF printer and change all this fonts to a UserFont and test it on some devices afterwards to see how it looks!
Is there a possibility to just add a standard font WITH
How can I get rid of this problem?
P.S.: When it's all done without errors I post my script in " Code & Utilities" forum.