fascinating but not remotely connected to my problem!
Main Topics
Browse All TopicsSymptom: Some of my VFP reports produce a blank page when I run them through the Bullzip/Ghostscript pdf converter. After much research I am confident that the problem is down to the fonts I'm using in the report. But we're not talking obscure fonts here. One of the problem fonts is "Times New Roman", so I'm not about to tell my users to switch fonts. Clearly we need to tell Ghostscript how to find the fonts we want to use.
The documentation available on the web is contradictory and confusing.
Do we need a fontmap or not with version 8.64 of Bullzip (or version 8.70 of ghostscript which I've also installed in an attempt to troubleshoot the problem)
If so what exactly do we call it ("fontmap" or "fontmap.gs") and where do we put it?
do we need to use tools like ttfpt1.exe to convert the relevant fonts to ps fonts first?
do we need to set environtmental variables like GS_FONTPATH in order for Ghostscript to be able to find the fonts?
if so, where do we set such variables, in the windows environment or one of the gs###.ps files and if the latter, which one?
and so on. The more I read the more confusing it all gets.
If anyone can provide an authoritative idiot guide to "How to make Ghostscript Accept Windows Fonts" I'd happily award you 5000 points. Unfortunately the rules limit the reward to 500 points so I can only hope that and my eternal gratitude will suffice.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Problem Solved. Don't know whether to laugh or cry. It's taken me 72 hours of fairly intense effort to crack this one so at the very least I think I'm going to get very very drunk.
The solution was buggerall to do with fonts or ghostscript. It was the "Printer Environment" flag in VFP. If that flag is set on, the report is tied to a specific printer (whichever one was the windoze default at the time the flag was set) and that completely screws up the attempt to turn it into a pdf. Turn off the flag and the pdfs pop out good as gold, regardless of fonts and other graphics.
In my own defence, I had been led on the wild goose chase by the fact that I could see that the intermediate files (the postscript files which ghostscript converts to pdfs) were apparently all unique and appeared to contain proper content. This fooled me into believing that the problem was the other side of the postscipt generator. It was only when I found another report failing to pdf with apparently acceptable fonts that I finally noticed the offending (and completely unecessary) flag...
Business Accounts
Answer for Membership
by: jcimarronPosted on 2009-10-17 at 17:06:16ID: 25598118
mjacobs2929--I view webpages and/or download image files. I do not create them. ghost/doc/ AFPL/5.50/ Readme.htm
From time to time, if I forget, and use the mouse scroll wheel , I will go from file to file and eventually be told that I must download Ghostscript. I used to do that and all was well. I learned that just closing the original file I was trying to open would allow opening the file with no further mention of Ghostscript. I do not know if this has any relevance to your problem as a site coder if I understand correctly.
But maybe a coder will find this helpful
http://pages.cs.wisc.edu/~