LS Retail PrintBitmap

kush10kush10 Member Posts: 3
edited 2019-05-03 in NAV Three Tier
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

Answers

  • kush10kush10 Member Posts: 3
    I forgot to mention, this is all standard LS Retail Code
  • PrajeeshnairPrajeeshnair Member Posts: 9
    Have you got any solution for this. I am also facing same issue with QR code
Sign In or Register to comment.