Worksheet print page setup
https://openpyxl.readthedocs.io/en/stable/api/openpyxl.worksheet.page.html
PrintPageSetup(
worksheet = NULL,
orientation = NULL,
paperSize = NULL,
scale = NULL,
fitToHeight = NULL,
fitToWidth = NULL,
firstPageNumber = NULL,
useFirstPageNumber = NULL,
paperHeight = NULL,
paperWidth = NULL,
pageOrder = NULL,
usePrinterDefaults = NULL,
blackAndWhite = NULL,
draft = NULL,
cellComments = NULL,
errors = NULL,
horizontalDpi = NULL,
verticalDpi = NULL,
copies = NULL,
id = NULL,
...
)
An openpyxl Python object.
worksheet
orientation
paperSize
scale
fitToHeight
fitToWidth
firstPageNumber
useFirstPageNumber
paperHeight
paperWidth
pageOrder
usePrinterDefaults
blackAndWhite
draft
cellComments
errors
horizontalDpi
verticalDpi
copies
id
Additional arguments, i.e. kwargs.
if (FALSE) {
PrintPageSetup()
}
Run the code above in your browser using DataLab