Click here to Skip to main content
15,442,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a receipt printer that uses the Window 7 Generic text driver. This application is compiled using Delphi Seattle FMX memo fields but the memo field shows three lines of text for instance like an mail address but when printed it wraps the lines instead of formatting them. Is there a font or code to tell it that it has line breaks ?

I did send the output to a text file and when I opened it use wordpad, it was formatted correctly, however, when opened in notepad it wrapped the lines. So, how can I tell the printer that this text file has formatted codes?

Thanks

What I have tried:

Hex printer codes: larger or smaller text and Bold print. It prints fine on other printer driver like HP Officejet 8600.
Posted
Updated 19-Feb-16 5:24am
v2

1 solution

By definition, generic printer driver don't format, for the simple reason it don't know your printer.

I would print to a file to see what is send exactly to the printer, then check in documentation what changes you have to make in order to format the output.

We don't have your printer, you are the only one able to find the solution.

Otherwise, find a forum of users of your printer for more help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900