![](https://seccdn.libravatar.org/avatar/6efcef3d9748aadcb5e18e655e007079.jpg?s=120&d=mm&r=g)
9 Jan
2024
9 Jan
'24
23:29
On Tue, 9 Jan 2024 23:14:36 +0100, "Carlos E. R."
On 2024-01-09 22:55, Christian Schmitz wrote:
Hi everyone: I want print in command line (i will use a script) two PDF files one in each side of the screen. Of course each PDF has single page. If i use this command the printer print two different sheets. lp -d DCPL2530DW -o sides=two-sided-long-edge hoja1.pdf hoja2.pdf
How i can do? Happy New year
You mean print in the same piece of paper, the page 1 of PDF_1 and page 1 of PDF_2, side by side?
'pdfunite' from the poppler-tools package can combine two PDFs into one. pdfunite page_A.pdf page_B.pdf out-two_pages.pdf Use '/dev/stdout' as the output filename to pipe to the print command. -- Robert Webb