You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using it to generate PDF's from a database and it's working brilliantly until I try to change the page size to 'A4' from the default. The PDF still gets generated and appears to be OK until it comes to printing and I get a PostScript error:
ERROR: invalidfont
OFFENDING COMMAND: xshow
Switching from: var doc = new PDF;
to var doc = new PDF({ size: 'A4' });
causes the problem.
Any suggestions as to what I'm doing wrong?
The text was updated successfully, but these errors were encountered:
First off, great module.
I'm using it to generate PDF's from a database and it's working brilliantly until I try to change the page size to 'A4' from the default. The PDF still gets generated and appears to be OK until it comes to printing and I get a PostScript error:
ERROR: invalidfont
OFFENDING COMMAND: xshow
Switching from:
var doc = new PDF;
to
var doc = new PDF({ size: 'A4' });
causes the problem.
Any suggestions as to what I'm doing wrong?
The text was updated successfully, but these errors were encountered: