Hi experts,
I need a quick help with Printing Bitmap Barcodes in LS NAV 2018. Below is code:
Store.CALCFIELDS(LocationQRCode);
IF Store.LocationQRCode.HASVALUE THEN BEGIN
lBLOBRef.Blob := Store.LocationQRCode;
QRPath := FileMgt.BLOBExport(lBLOBRef, 'QrBmpExp.bmp', FALSE);
PrintBitmap(2,QRPath,1);
DSTR1 := '#L######################################';
Value[1] := 'testing';
PrintLine(2,FormatLine(FormatStr(Value,DSTR1),FALSE,TRUE,FALSE,FALSE));
END;
PrintSeperator(2);
I am able to view the QR code by debugging and getting the QRPath, and whenever it enters PrintBitmap it hits everything it needs to hit, but for some reason(maybe in setup or otherwise), this is not printing the barcode on the paper. Please help me with this. It does print testing on the receipt.
This is all standard LS Retail Code
0
Answers