Font changed when spooling report to a Dot-Matrix Printer

Hi,

I got a problem when spooling a report to a Epson DFX-8000 dot-matrix printer.
I used the ReportDocument.PrintToPrinter method to spool the report to the printer.  The data was printed to the report but the font is not the one default in the report for this printer.  The same was happened when using the report viewer control to view the same report.

Default font in the report: Draft 12cpi, size 9
Crystal Report version: 11

Please help!



Answer this question

Font changed when spooling report to a Dot-Matrix Printer

  • Sumit Kumar Domyan

    What happens if you print using the Print button on the viewer's toolbar

    Is there any code that set's any printer information (ie: printer name, orientation, paper source, etc)   If so, make your dot-matrix printer the default printer, comment out that code and see if you still have a problem with PrintToPrinter().

    If all else fails, you may need to call Customer Support.

    -Mandeep


  • ChrisSmales

    I'm having the same problem... it doesn't matter if it's by the CR viewer or by code (.PrintToPrinter() method), both ignores the selected font (Draft 10cpi) and print on Courier New.

    The only succefull case is sending to printer on Main Report Preview, on the VS IDE.

    Any relp it will be apreciated...

    PS. The previous post instruction had no effect at all...

  • Sriram Rajamanuri

    The only way to solve the problem was abandoning the Crystal for .NET. The ActiveX version of Crystal works great, on the exactly way we expect.
  • Alex Feldstein

    Hello,

    I have not heard of this happening with Crystal Reports XI.  Does this happen to other printers or just the Epson Have you tried updating the printer drivers for the Epson printer

    Does this happen on your development machine or does this happen on a client machine

    Keith - Business Objects

  • Aqeel Arshad Siddiqui

    Hi Keith,

    The problem will not happen when the default printer of the report is a laser printer.  Only for the Epson DFX-8000 dot-matrix printer.

    I do try to open the report by Crystal Report XI and print to the same dot-matrix printer, the report prints with font 'Draft 12cpi size 9' without any problem.

    If it is a printer driver problem, why the output from Crystal 11 and from VB.Net is different

    This dot-matrix printer is a network printer.

    I hope that you can give me some adive on this.

    Thanks anyway!


  • Font changed when spooling report to a Dot-Matrix Printer