Hi I print the class QPrinter, QPainter can be used to print and printer to printer, but it works out between you straight print (2 copies of a file) the printer is working all the time and it takes a long time and hp is hot!!! What's problem?
Hi I print the class QPrinter, QPainter can be used to print and printer to printer, but it works out between you straight print (2 copies of a file) the printer is working all the time and it takes a long time and hp is hot!!! What's problem?
The first problem is we need to see your code.
complexcoding (1st February 2013)
thank you very much :
QFont font("B Lotus", 10);
font.setBold(true);
QPrinter printer;
printer.setPageSize(QPrinter::A4);
printer.setOutputFormat(QPrinter::NativeFormat);
// printer.setOutputFileName("nonwritable.pdf");
printer.setCopyCount(2);
QPainter painter(this);
painter.begin(&printer);
painter.setFont(font);
*
*
*
*
painter.end();
No one wants to help?
Learning printing myself, how large is the PDF - and how does the printer deal with that. IF the hp is hot (litterally) I would look at that instead of a program issue
complexcoding (2nd February 2013)
Bookmarks