QR Code not getting Printed

PrajeeshnairPrajeeshnair Member Posts: 9
edited 2022-03-26 in NAV Three Tier
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;

Answers

  • krikikriki Member, Moderator Posts: 9,112
    [Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • PrajeeshnairPrajeeshnair Member Posts: 9
    Thank you Kriki for moving it to correct forum
Sign In or Register to comment.