Hi all I'm getting unexpected error while print PD...
# advancedpdf
s
Hi all I'm getting unexpected error while print PDF using suitelet anyone knows how to resolve this issue.
s
It could be the template you are using. Just to rule that out, try setting the template content to
'<?xml version="1.0"?><!DOCTYPE pdf PUBLIC "-<//big.faceless.org//report>" "report-1.1.dtd"><pdf><head></head><body>Test</body></pdf>'
That’s just a minimal test PDF (containing the word Test) that should not fail. Also, you can definitely post code here as text, even better, post it as a code snippet. It’s much easier for people to read than a picture or image of a screen.
s
Thanks a lot @scottvonduhn yes it was template issue it's resolved.
🎉 1