Printing unformatted text to label printer
Posted: Tue Apr 20, 2010 8:37 pm
I am trying to print raw text printer commands to a label printer and using the printer.printUnformatted method. What appears to be happening (seen when printed to file) is additional printer commands other than what I am sending through are being included and this results in a blank label being printed at the end of the label print when I call printer.close. Other applications printing the text to the same printer driver don't produce the additional commands.
Reading through other items on the forum I see comments that suggest printUnformatted perhap isn't reliable and developers have resorted to creating external dlls for this.
Is that the path I will have to go down also or can someone suggest any alternatives please? I find it hard to believe that Jade does not support printing plain text out. Perhaps there is something in the driver settings but i've looked through all of them and doesn't seem obvious. As stated other applications using the same printer driver (and print to file) produce the correct text.
I'd definitely appreciate any pointers people may have.
Thanks
Chris
Reading through other items on the forum I see comments that suggest printUnformatted perhap isn't reliable and developers have resorted to creating external dlls for this.
Is that the path I will have to go down also or can someone suggest any alternatives please? I find it hard to believe that Jade does not support printing plain text out. Perhaps there is something in the driver settings but i've looked through all of them and doesn't seem obvious. As stated other applications using the same printer driver (and print to file) produce the correct text.
I'd definitely appreciate any pointers people may have.
Thanks
Chris