I am tryi开发者_开发百科ng to print a Crystal Reports consisting invoice data fetched from data base with a Dot Matrix Printer in Generic text mode, where i want to change the font size of alternate rows respectively (e.g., row1 will be bold and row2 will be italics). My problem is that though i can make those changes in Crystal Reports but while printing its simply printing with a default font. I am using Generic /Txt as default printer. Any help would be appreciated.
I don't think Dot Matrix Printers print text formatting. It's a Dot Matrix Printer. It only prints plain text. That said, try using something other than Generic / Txt as the default printer. With Generic / Txt you will not get Italic or Bold formatting. The formatting is stripped away from the print job if you use Generic / Txt. You will only get plain text output. Does the Dot Matrix Printer ever print Italic and Bold text? Try creating a document in a word processor that has Italic or Bold text and see which of the Dot Matrix printers available on your computer (if there's more than one installed on your computer) works in printing the Italic / Bold in the document. I remember I used a Dot Matrix printer in a Computer Science lab room in college in the 90s that did indeed print Italic and Bold formatting so it's a possibility that your printer will print this also. You have to install another printer on your computer though. Assuming you're using Windows, go to Start -> Settings -> Printers and Faxes -> Add Printer.
精彩评论