Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print a text file with LANDSCAPE option #18

Open
Kokukiller opened this issue Mar 17, 2020 · 1 comment
Open

Print a text file with LANDSCAPE option #18

Kokukiller opened this issue Mar 17, 2020 · 1 comment

Comments

@Kokukiller
Copy link

Kokukiller commented Mar 17, 2020

Hello,

I can't change the Orientation where i print a text file
conn.printFile(selectedPrinter, myfile, "test", {'INT_IPP_ORIENT_CONSTANT': 'LANDSCAPE'})
can you give me the good parameter to do this.

Cordialy,

@TheLure
Copy link

TheLure commented Apr 9, 2020

Not tested but man page for lp have the following option and values:

      -o orientation-requested=4
            Prints the job in landscape (rotated 90 degrees counter-clockwise).
       -o orientation-requested=5
            Prints the job in landscape (rotated 90 degrees clockwise).
       -o orientation-requested=6
            Prints the job in reverse portrait (rotated 180 degrees).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants