当前位置: 动力学知识库 > 问答 > 编程问答 >

Delphi DotMatrix Report Printing via Fast Report with same fr3 file but result with different font

问题描述:

sorry for my bad english, and sorry if my question not following the rules because this is my first question in stackoverflow.

I'm rewriting my internal office application which developed using Delphi but I dont have previous source code. For application reporting, i'm using the same FastReport .fr3 file from previous developer. But when i tried to print it out, it print out with different font. The Fast Report Preview before printing already same, but different after printed. Am i missed some settings?

here's the preview of the printed report:

my application report:

https://dl.dropboxusercontent.com/u/42816630/stackoverflow/my%20app%20report%20result.jpg

previous application report:

https://dl.dropboxusercontent.com/u/42816630/stackoverflow/previous%20app%20report%20result.jpg

The report using DotMatrix layout. I have drop TfrxDotMatrixExport. And also have tried to change font and layout for the print but still cannot achieve the same result.

Thank you for your help.

网友答案:

I have found the solution, Mr. Ken White answer is right, i have to used Escape command to the printer.

My Printer is Epson LQ-2180, so i used Epson Escape Command to set the font to be appear larger.

Here's my solution:

ESC ! n --> where n =  8 (Emphasized)
In Decimal would be #26#33#8

Thank you for the help.

分享给朋友:
您可能感兴趣的文章:
随机阅读: