hi guys,

i have a serial port printer and i want to print on it. Im using QPrinter and QTextDocument.print to print (it prints) but however the printer have some necessary commands for example autocut that need to be inputed e.g("\x1D\x56\x01"). What class should i use to send the command? and also until now im printing the file as a whole, how can i print it line by line so that i can change the font size of some line or bold some words.

thanks in advance..