Hello: I have a pdf file which is A5 paper size in landscape mode. When I open it in a pdf viewer (acroread, kdpf, okular) it is shown in landscape mode. pdfinfo shows: Producer: GPL Ghostscript 9.15 CreationDate: Wed Apr 8 23:20:35 2020 ModDate: Wed Apr 8 23:20:35 2020 Tagged: no Pages: 1 Encrypted: no Page size: 596 x 421 pts (A5) File size: 43191 bytes Optimized: no PDF version: 1.5 I would like to print this file, using lp or lpr command, onto the upper half of a portrait A4 paper, that is the A5 file is placed in landscape mode on a portrait A5 paper's upper half. Whatever I try, the document is always printed A5 portrait mode on the A4 paper with the document's lower edge close to the bottom of the A4 paper. I tried these commands, and all gives exactly the same result: lpr -P printer -o media=a4 file.pdf lpr -P printer -o media=a5 -o orientation-requested=4 file.pdf lpr -P printer -o media=a4 -o orientation-requested=4 file.pdf lpr -P printer -o media=a5 file.pdf lp -d printer -o media=a4 -o orientation-requested=4 file.pdf lp -d printer -o media=a5 -o orientation-requested=4 file.pdf lp -d printer -o media=a5 -o landscape file.pdf I'm afraid it's something trivial I'm missing. When I print the file from Okular: - setting paper size A4 portrait: the file is printed in landscape mode to the center of the A4 page (no to the upper half) - setting paper size A4 landscape: the file is printed in landscape mode relative to the A4 page and is scaled up to fit the A4 page - setting paper size A5 landscape: the file is printed in portrait mode (rotated 90 degrees to the left) and is scaled down - setting paper size A5 portrait: the file is printed in landscape mode to the center of the A4 page and is scaled down. Thanks in advance, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org