TCPDF error: Some data has already been output, can't send PDF file

Created on 17 July 2008, over 16 years ago
Updated 1 March 2023, almost 2 years ago

I've installed the Printer-friendly Pages version 6.x-1.0-rc5 with tcpdf_php5 version 4.0.006 as described in the documentation on drupal 6.3. The example pages of tcpdf generates PDF-files corectly but when I try to create a PDF-File by clicking on the PDF-Create Link I get the following error: TCPDF error: Some data has already been output, can't send PDF file.

Please help.

🐛 Bug report
Status

Fixed

Version

1.10

Component

Code

Created by

🇦🇹Austria xurubo93

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇦🇪United Arab Emirates MarvinGP

    Hi I have an issue printing $pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 001', PDF_HEADER_STRING, array(0,64,255), array(0,64,128));, I'm using version of TCPDF 6.3.5 and PHP 7.4.29

Production build 0.71.5 2024