![](https://seccdn.libravatar.org/avatar/49cb915af8be4fe9eab238c594dee035.jpg?s=120&d=mm&r=g)
Am 10.01.24 um 00:29 schrieb Robert Webb:
On Tue, 9 Jan 2024 23:14:36 +0100, "Carlos E. R."
wrote: 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
pdftk will do also combine 2 pdf pages: pdftk first.pdf second.pdf cat output cobined.pdf simoN -- www.becherer.de