Sylvain Page
Sylvain Page

Reputation: 633

Command printing with python xlwings

Is it possible to command printing a sheet through xlwings ? I have look to xlwings api and do not find any doc on it ...

import xlwings as xw
wb = xw.Workbook(fxls)

how to print (on a printer) the working sheet ?

Upvotes: 1

Views: 1272

Answers (1)

Sylvain Page
Sylvain Page

Reputation: 633

with last xlwings:

import xlwings as xw
wb = xw.Book(fxls)
wb.api.PrintOut()

xlwings is just a nice wrapper around pywin32

Upvotes: 3

Related Questions