Forums

TCPDF update?

Fredolino 22 May, 2016
Hello,
I wanted to ask, what should I do so that I can use the tcpdf-action.
It can add (screen) No text.

Many thanks for the help.
F.
GreyHead 22 May, 2016
Hi Fredolino,

I've sent you a PM with a link to download a fixed version.

Bob
Fredolino 22 May, 2016
Hello,

I wanted to ask if it with chrono forms and tcpdf also is possible to write text in a particular PDF file. So I have a crafted PDF file and want to expand this file with the entries in the form.
Perhaps with a script in the "Custom Code" or directly in the Content box of TCPDF action?

Just as an example:


// PDF generieren
		$pdf = new FPDI();
		// Vorlage laden
		$pdf->setSourceFile('../tcpdf/tcpdf/images/meine.pdf');
		$tplidx = $pdf->ImportPage(1);
		$pdf->AddPage();
		$pdf->useTemplate($tplidx,0,0,0);
		
		// Generierte zweite Seite
		$pdf->SetAutoPageBreak(true);
		// Linienfarbe auf Blau einstellen 
		$pdf->SetDrawColor(184, 204, 228);
		$pdf->SetFillColor(219, 229, 241);
		// Linienbreite einstellen, 0.5 mm
		$pdf->SetLineWidth(0.2);
		
		// Block links
		$pdf->SetY(200);		
		$pdf->SetFont('Arial','',8);
		$pdf->MultiCell(60,3,'Hier steht ein Text.',0);
		$pdf->Cell(60,3,'',0,1);
		$pdf->SetFont('Arial','B');
		$pdf->Cell(60,5,'Hier steht ein Text','LTR',1,'C',1);
		.....


LG
F.
GreyHead 22 May, 2016
Hi Fredelino,

The Content box will take form variables as {input_name} in the same way as an Email template. If you leave it empty then the form output will be included there.

Bob
Janne 15 Jan, 2017
Hi GreyHead,

I'm having the same problem as Fredolino. Empty popup when I'm trying to edit TCPDF action in my form.

I tried installing latest version of Chronoforms and TCPDF from the downloads section but it didn't help.

Best regards,
Janne
GreyHead 15 Jan, 2017
Hi Janne,

The current versions should be OK as far as I know. By all means PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.

Bob
mic0672 01 May, 2017
Hi,
i'm having the same problem. Also my popup is empty. How can I fix it?

Thanks
This topic is locked and no more replies can be posted.