Link to home
Start Free TrialLog in
Avatar of hmeg
hmeg

asked on

Printing Barcode with visual foxpro

I have created a report with font 39 barcode with visual foxpro7 , and when previewing the report the barcode appears on the screen. But when directing the report to the printer the barcode doesn't print on the printer and instead there are spaces.
So I tried to print the barcode from within the excel and i succeeded ,with winword ok.
Only the foxpro7 didn't work.
Please i want a quick solution.
Thanks
Hmeg
ASKER CERTIFIED SOLUTION
Avatar of Cyril Joudieh
Cyril Joudieh
Flag of Lebanon image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Try rebooting if you did not yet. If that does not work, try another barcode font, such as this one
http://www.idautomation.com/fonts/code39/
I gave the solution to what happens frequently. A printer driver gets embedded into a FoxPro form and the code I gave above clears the printer driver so that the report prints it using the default driver without interference.
The comment by CaptainCyril  fixes one of the most common problems with printer drivers in VFP, and there is a very good chance this is the solution to the problem.
The comment by TNCode may be useful in this case as well, hmeg should post if captaincyrils code fixed the issue...
Thanks GreatSolutions!
No, thank you:-)