Black Filled Rectangles in VFP 9.0 and Pdf Converter

If you are a VFP developer and have any questions about using our products from VFP here is the place to post them.
Post Reply
Icunune
Posts: 24
Joined: Thu Sep 04 2003

Black Filled Rectangles in VFP 9.0 and Pdf Converter

Post by Icunune » Tue Sep 12 2006

hello to every body.

I've pdf converter version 2.09.

Sometimes the texts of the document converted to pdf, appears as black rectangles.

The same frx in VFP 7.0 or VFP 8.0, is converted very well.

Why?

if anyone knows a solution, please tell me.

Thank You to everybody and excuse my English...[/list]

Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan » Wed Sep 13 2006

In VFP 9, if you are using set reportbehavior 90, then all the document is converted as image to PDF. In similar cases we advise our customers to use Postscript simulation when using "set reportbehavior 90" specially when they are printing images in their report.

In your case it is the text that is not appearing properly, i would suggest that you try also setting Postscript simulation or using Multilanguage support when converting the document.

Hope this helps.

Icunune
Posts: 24
Joined: Thu Sep 04 2003

Post by Icunune » Thu Sep 21 2006

Hi Joan and thank you.

How I activate the Postscript simulation? Or the Multilanguage support?

Thank you for your answer.

Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan » Thu Sep 21 2006

Hello,

Multilanguage support is activated by adding the following parameters to your call of FileNameOptions or FileNameOptionsEx() or SetFileNameOptions() (depending on which interface you are using):
16 : Font Embedding
128 : Multilanguage Support
FileNameOptions = NoPrompt + UseFileName + 16 + 128 + ....

PostsriptSimulation is enabled by calling:
SetSimPostscript(hPrinter, True) (Dll Inerface)
or
SimPostScript(True) (ActiveX Interface)

You need to call SetDefaultConfig() after setting the printer configuration

Icunune
Posts: 24
Joined: Thu Sep 04 2003

Post by Icunune » Fri Sep 22 2006

Thanks Joan

I will try this solution, and I tell you the result.

Thank you again

Icunune
Posts: 24
Joined: Thu Sep 04 2003

Post by Icunune » Fri Sep 29 2006

This solution is good.

My problme has resolved

Thank you a lot Joan...

Post Reply