Menu

#1143 QR Code on TCPDF

v1.0_(example)
open
nobody
None
1
2018-08-22
2018-08-22
vinicius
No

I'm trying to create a PDF with two different QR code in the same line, but I'm getting the second QR code in a different size, Please check below code and picture.

$pdf->write2DBarcode('http://xxxx.xxx.php?sc='.$linha_id_to_print->xxx, 'QRCODE,Q', 7,62,15,15, $style, 'N');
$pdf->write2DBarcode('http://xxxx.xxx.php?sc='.$linha_id_to_print->xxx, 'QRCODE,Q', 32,62,15,15, $style, 'N');

$pdf->SetFont('arial','',5);
$pdf->MultiCell(19, 2, 'FIRST QR', 1, 'C',false, 0, 5, 78, true, 0, false, true, 0, 'T', false);
$pdf->MultiCell(19, 2, 'SECOND QR', 1, 'C',false, 0, 30, 78, true, 0, false, true, 0, 'T', false);

![](https://i.stack.imgur.com/k5xJX.png)

How to fix it?

1 Attachments

Discussion


Log in to post a comment.

MongoDB Logo MongoDB