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
.NET ProgrammingVersion ControlFoxPro

Avatar of undefined
Last Comment
GreatSolutions

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Cyril Joudieh

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
tncode

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/
Cyril Joudieh

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.
GreatSolutions

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...
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Cyril Joudieh

Thanks GreatSolutions!
GreatSolutions

No, thank you:-)