Skip to Content
0

Unable to print barcodes with printer fonts

Oct 31, 2016 at 12:48 PM

65

avatar image

I have problems with printing barcodes which uses printer fonts. This particular reports is designed using Crystal Reports 11. The report is being called using a C#.Net project made using SAP Crystal reports runtime engine for .Net framework (v13.0.16) and using ReportDocument.PrintToPrinter API for dispatching print requests.

Problem is when we send print requests from clients doesn’t have printer fonts installed, printouts doesn’t come with barcodes. It seems printer is unable to pick up the correct barcode font.

It seems PrintOutputController.PrintReport API doesn’t have this problem(reports is able to print with barcode). But we have different issues (i.e. mainly formatting issues) with it.

https://archive.sap.com/discussions/thread/1648103

above thread indicates that .Net framework doesn't support for printer fonts.

Do you have a alternative approach to resolve this issue?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Don Williams
Oct 31, 2016 at 12:54 PM
0

CR has always required the printer to be installed.

Update the report to CR 2008 or higher, that's when the Section orientation feature was added so printing can be different. Verifying in CRD and then POC should work, it uses the same printer popup dialog box that CR uses.

PrintToPrinter is the default viewer method also but you can change the default to use POC if you want it printed from the viewer.

If after you update the report it still has issues attach a report with saved data and I'll test it also.

SP 18 is now available also.

https://blogs.sap.com/2010/12/07/sap-crystal-reports-developer-version-for-microsoft-visual-studio-updates-runtime-downloads/

Don

Share
10 |10000 characters needed characters left characters exceeded