How to change orientation of file being printed with pycups

435 Views Asked by At

I have this code that i want to use to print out a file in landscape, its printing, but the options don't seem to apply:

conn.printFile('printerName','fileName','',{"orientation-requested":"4"})

but it is just printing normally not in landscape. any idea what is happening?

0

There are 0 best solutions below