Hey everybody,
If i try to print my generated pdf file, i got an error on every printer i tried. I think the font i use is the reason for this. I embed the font with the following methods:
// Create font from our ttf file $dinFont = \TCPDF_FONTS::addTTFfont('Path/to/font.ttf', 'TrueTypeUnicode', '', 32); $dinFontBold = \TCPDF_FONTS::addTTFfont('Path/to/font_bold.ttf', 'TrueTypeUnicode', '', 32); $pdf->SetFont($dinFontBold, '', 11);
Does anybody has an idea for that?
Marc
What printers have you tried? What is the error you get? Are you using PCL or Postcript print drivers? Can you share a PDF that won't print?
Log in to post a comment.
Hey everybody,
If i try to print my generated pdf file, i got an error on every printer i tried.
I think the font i use is the reason for this. I embed the font with the following methods:
Does anybody has an idea for that?
Marc
Last edit: Marc Hauschildt 2017-10-11
What printers have you tried?
What is the error you get?
Are you using PCL or Postcript print drivers?
Can you share a PDF that won't print?