How can I combine pieces of pdf file using QPrinter and print on A4 paper?

The name of the pictureThe name of the pictureThe name of the pictureClash 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.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS