on 04-05-2016 5:05 AM
We had a crystal report integration for EPL base label printing which is implemented from VB6. We migrated it to .net and now one report is working butnot others. When we check the working report only different we found is that font of text object is set as "Device Font 10cpi". I checked even with a simple application with hard coded values it only works with the one which has set the font. But when i print with CR designer it works. What couble be he reason
I could not find ant way to set that font from CR designer. Any idea how to set that
Sample code
var reportDocument = new ReportDocument();
reportDocument.Load(_reportFilePath);
var viewer = new CrystalReportViewer { ReportSource = reportDocument };
viewer.RefreshReport();
viewer.PrintReport();
following is the EPL script
I8,1,046
q400
S3
OD,N
JF
j112
WN
D10
ZB
Q240,32
N
B24,6,0,1,2,5,72,N,"Test"
A10,100,0,2,1,2,N,"Test"
A10,140,0,2,1,1,N,"Test"
A10,160,0,2,1,1,N,"Test"
A10,200,0,2,1,1,N,"Test"
A10,220,0,2,1,1,N,"Test"
A390,16,1,1,1,1,N,"Test"
A365,16,1,1,1,1,N,"Test"
A340,16,1,1,1,1,N,"Test"
A315,16,1,1,1,1,N,"Test"
P1
N
Printer we are using is Zebra - GT800
Search for KBA 2163438 and download and test using my test app.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.