Hi All,
Is there any setup in LS retail to print the QR code?. I am using Nav 2013 LS retail and the QR code is not getting printed. Can you please share the standard code for PrintBitmap. Mine dont have the path option along with it.
I am using PrintQRBitmap. The QR is created, saved and loaded to file but not getting printed.
Standard Fucntion to Load the QR Code just like in //PrintWarrantyHotelSlip
Customer Function
QRPath := TEMPORARYPATH;
IF (QRPath <> '') THEN BEGIN
QRPath := QRPath + 'QrBmpExp.bmp';
BLOBRef.Blob := GivexLoyaltyLookup."QR Code";
RBAutoMgt.BLOBExport(BLOBRef,QRPath,FALSE);
END;
Standard Function
PrintQRBitmap(Tray : Integer) : Code[20]
//PrintQRBitmap
PrintBuffer.INIT;
PrintBuffer."Transaction No." := PrintBufferTransNo;
PrintBuffer."Buffer Index" := PrintBufferIndex;
PrintBuffer."Station No." := Tray;
PrintBuffer."Page No." := PageNo;
PrintBuffer."Printed Line No." := LinesPrinted;
PrintBuffer.LineType := PrintBuffer.LineType::PrintBitmapFile;
PrintBuffer.INSERT;
PrintBufferIndex += 1;
EXIT;
0
Answers
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!