Summary: How do I set the print range settings from xlwt?
I have a document that is currently set as four pages for the purposes of printing, and I need to make it so that the print range is set to only treat it as one page. The documentation for xlwt (outside of the basics) is hard to find.
The only things I've been able to find so far are:
- A Visual Basic answer, but the answer doesn't describe the terminology or how it works.
- A Google Groups discussion that also doesn't explain what any of the values do.
pring_scaling
andpaper_size_code
worksheet properties. Also see the full list of workheet properties.xlsxwriter
module, it generatesxlsx
, but it's much more pleasant and easy to work with, in particular see fit_to_pages().