cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

I have a report that uses the Generic/Text Only printer driver with the Device Font 12cpi. When it's printed (to a file) from the Crystal Reports designer the layout is correct. When I print from the runtime (latest SP, using the RAS engine) there are some alignment issues.

Any suggestions on what to look at, or known issues to be aware of?

The report is very complicated with a lot of subreports, and the alignment issues are happening in subreports. The report is from a customer and I've so far been unsuccessful in reproducing the problem in a simpler report or isolating anything different about the fields that have the problem. They all seem to be aligned and sized correctly.

0 Likes
View Entire Topic
bill_wingate
Explorer
0 Likes

Hi, Don.

I'm using PrintOutputController.PrintReport.

The "Generic / Text Only" printer is a Windows generic driver that sends the output to a text file (with some control codes) to be sent to a printer that's not connected to Windows. The driver only supports fixed-width device fonts (not TrueType or OpenType). My understanding is that PrintOutputController bypasses .NET so the device fonts should still work.

My customer is currently running this report using a much older program that uses an old CR runtime (before .NET, I think) and the output is formatted correctly when it's printed from that.