Media Size: You can specify the media size using the -o media=size option. For example: lp -d myprinter -o media=legal filename This will print the file on legal-sized paper. lp -d myprinter -o ...
When it comes to learning to code in a new language, it makes sense to start at the beginning. Learning how to print in Python is most certainly the beginning. The “print” command, as in BASIC, is ...