-
-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Converting to pdf (to_pdf()) stopped working on xlwings (macOS)? #2390
Comments
Can you try if you can print to PDF manually? i.e. File > Print > PDF via Excel's menu. |
@fzumstein I tried that and it works |
In can't repro this using import xlwings as xw
xw.books.active.to_pdf("/Users/felix/Downloads/test.pdf") But I haven't upgraded to Sonoma yet, so maybe there's an issue with that. You could also try with another folder. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
macOS 14.2.1.
xlwings 0.30.13, Office 365, Python 3.8.0
I made a excel workbook via openpyxl and xlwings, and converted it to pdf via xlwings in the following code:
It used to work fine (a year ago, I think) but now excel is giving me an "Error while printing error" and the program is giving me an OS error (-50). I am using macOS 14.2.1. The following is the OS Error:
The text was updated successfully, but these errors were encountered: