More dubug printouts

This commit is contained in:
Anton Thomasson 2019-12-07 14:40:36 +01:00
parent 6c4187f38a
commit 111feb9b92

View file

@ -120,6 +120,7 @@ bool IppPrinter::print(QJsonObject attrs, QString filename){
// attrs.insert("document-format", QJsonObject {{"tag", 73}, {"value", "image/jpeg"}}); // attrs.insert("document-format", QJsonObject {{"tag", 73}, {"value", "image/jpeg"}});
// } // }
qDebug() << "Printing job" << o << attrs;
IppMsg job = IppMsg(o, attrs); IppMsg job = IppMsg(o, attrs);
QByteArray contents = job.encode(IppMsg::PrintJob); QByteArray contents = job.encode(IppMsg::PrintJob);