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
None of your Print to PDF example are working #2325
Comments
Most probably its the changes in jsPDF |
Ok, I am now using jsPDF version 1.5.3 for now. I am making progress but there is still issues with it. |
You can use the https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.5.3/jspdf.min.js old version before 2.x released today by jsPDF. It's working. |
We've updated our site and fixed the problem. |
Your examples are working fine now thank you. Using jsPDF 1.5.3 is causing those exceptions below in my code. It's coming from jsPDF. Any idea why? Something to do with the Fonts. jsPDF PubSub Error this.addFileToVFS is not a function TypeError: this.addFileToVFS is not a function And... |
I have fixed this one: jsPDF PubSub Error this.addFileToVFS is not a function TypeError: this.addFileToVFS is not a function by adding
to my options. However, this one: Uncaught (in promise) TypeError: controller.doc.splitTextToSize is not a function I can't figure out. Anything could help. Thanks |
Are you requesting a feature, reporting a bug or asking a question?
Bug
What is the current behavior?
In you documentation, none of your examples are working.
Try:
On load we have:
Uncaught TypeError: Cannot read property 'API' of undefined
Then...
ReferenceError: SurveyPDF is not defined
What is the expected behavior?
Examples are working
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
Specify your
The text was updated successfully, but these errors were encountered: