Topic: ReportDocument changes my font Posted: 16 Jul 2010 at 4:41am
I've designed a crystal report that will be sent to a specific (barcode) printer through a web interface. Allowing the report to be generated in the standard crystal report viewer was causing issues, so I am now using the code-behind to send the report directly to the printer.
ReportDocument Report = new ReportDocument();
ParameterDiscreteValue Order = new ParameterDiscreteValue();
When printed from the designer (CRXI) everything works fine but when the web interface sends the job to a printer (any printer) it changes the font to Times New Roman which messes up all of the field sizes. If I use the standard .NET report viewer it uses the correct font (but the barcodes get messed up), so I'm pretty sure the change is being caused by creating/using the ReportDocument.
How can I send the report directly to a print without it defaulting the fonts back to Times New Roman?
I ended up having to change to a different font to get it working. It still doesn't print the same as what shows in the designer, but I was able to adjust the fields so that they printed the way I want them too...even though they don't look right in the designer.
Joined: 16 Oct 2013
Location: American Samoa
Online Status: Offline
Posts: 1
Posted: 10 Jun 2014 at 9:31pm
I've had the similar problem and I considered this to be the fonts problem. Anyway, I also not have much experience on the .net barcode reader and don't know to much on the using of barcode software.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum