Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor

Main

Google search


Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
36%
Installation Wizard into new VRC
36%
Manual into existing VRC
7%
Manual into new VRC
22%
Total votes: 45

Baanboard at LinkedIn


Reference Content

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 27th June 2018, 15:05
litrax's Avatar
litrax litrax is offline
Senior Member
 
Join Date: Sep 2005
Location: Germany
Posts: 107
litrax is on a distinguished road
Baan: ERP LN (10.2.1) - DB: Oracle12c (12.1.0.2.0) - OS: Red Hat Enterprise Linux 7.1
Umlauts in PCL to PDF conversion
Baan: ERP LN 6.1 FP8 (Infor ERP 10.2)
C/S: Server

Hello everyone.

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
or
some TXT file --> ttstpconv --> PS file --> ghostscript --> PDF file

BUT!

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 UserFonts.
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 umlauts?

How can I get rid of this problem?
Please advice...

P.S.: When it's all done without errors I post my script in " Code & Utilities" forum.

_
__________________
Have a lot of fun...

Please look at this before asking wholes in the stomach ;-)
http://www.baanboard.com/programmers_manual_baanerp
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BPF to PDF conversion nitisha Tools Development 0 21st June 2016 13:26
PDF Conversion and custom workflow utility (python) fmathias Code & Utilities 0 14th June 2012 22:41
Creating PDF documents with logo dthomson Third Party Products 4 30th July 2008 15:59
EDI - Item Code Conversion In shaboo Distribution, Transportation & Warehousing 2 12th April 2006 14:16
Urgent help req -Customized Item Conversion factor noorulhaq Manufacturing & Supply Chain 0 7th June 2003 07:32


All times are GMT +2. The time now is 06:49.


©2001-2017 - Baanboard.com - Baanforums.com