web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

QR Code not getting Printed on Customer Slip

(0) ShareShare
ReportReport
Posted on by 20

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;

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at

    Hi,

    please check below link

    https://navwithnav.blogspot.com/2022/03/print-qr-code-in-payslip-with-ls-retail.html?m=1

  • Prajeesh_Nair1982 Profile Picture
    20 on at

    Thank you Nitin, I have gone through the link and it is not answering my issue or solving it.

    I am able to print the QR code in NAV report. The Printer is printing it in the Test Print in the Printer. But not doing while Printing it through POS Print Utility in LS. I can see the QR bmp file getting created and stored in the path, but not able to see its getting uploaded while printing the Slip in LS.

  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at

    Hi,

    In that case I would suggest check your printer setting, there must be a QR code printing property in there you have to select appropriate width or depth of the QR code.

  • Prajeesh_Nair1982 Profile Picture
    20 on at

    Hi Nitin,

    I have checked the Printer Setup and the QR code i have manually printed. The Size is also in also given in the Code to 80X100. The Print preview in the Virtual printer in LS also not showing the QR Code. The QR code loaded in the File is not getting downloaded in the Print Utility Codeunit.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans