Hello Linux Questions!
First off I want to point out that I am somewhat new to Linux printing
My Problem is I am converting a shell script from HP-UX that is printing two landscape pages per page on one portrait page like this:
-------------------
||---------------||
|| ||
|| Page 1 ||
|| ||
||---------------||
||---------------||
|| ||
|| Page 2 ||
|| ||
||---------------||
-------------------
The HP-UX command is:
lp -dPrinter -olandscape -ohalf -oduplex FileToPrint.txt
I tried the following in Linux:
lp -olandscape -ofit-to-page -oorientation-requested=3 -osides=two-sided-short-edge -opage-border=single -onumber-up=2 FileToPrint.txt
But the result I am getting is:
-------------------
||---------------||---
|| || |
|| Page 1 || |
|| || |
||---------------||---
||---------------||---
|| || |
|| Page 2 || |
|| || |
||---------------||---
-------------------
It almost as if it seems the
Fit-to-page option isn't working..
Any advice? I've tried several variations but I keep getting the same result
Thank you in advance