How can I combine pieces of pdf file using QPrinter and print on A4 paper?
Clash Royale CLAN TAG#URR8PPP
How can I combine pieces of pdf file using QPrinter and print on A4 paper?
I want to combine 3 different pdf files with ECG wave forms and print on one A4 paper.
Any help?
1 Answer
1
I got the problem using pdftk and QProcess in Linux.
QProcess shellProc;
QString cpCommand;
QStringList cpArgs;
cpCommand="pdfunite";
cpArgs<<"/home/pmon/Desktop/spectrogramECGI.pdf";
cpArgs<<"/home/pmon/Desktop/spectrogramECGII.pdf";
cpArgs<<"/home/pmon/Desktop/spectrogramECGIII.pdf";
cpArgs<<"/home/pmon/Desktop/spectrogramOUTPUT.pdf"; //Combined Pdf
shellProc.start(cpCommand,cpArgs);
shellProc.waitForFinished();
link for pdftk
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.