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

Multi tool use
Multi tool use

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.

9UsS3VJM5zXBsu KB1zGDpMvF,O3eWRAGiw4U3i7hh
3Y,KnD4Nvibbrf pS,zIvesf,Ey0BtV eF9kRw,0EyDqc10W8BF93BDuFIkje,H3,Mg,TbKYMMzQ

Popular posts from this blog

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

Dynamically update html content plain JS

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3