Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

LS Retail PrintBitmap

Posted on by Microsoft Employee

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. I have also replaced QRPath to other bitmap files in other folders but still nothing is printing.

*This post is locked for comments

  • RE: LS Retail PrintBitmap

    Is there any solution for this issue?

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: LS Retail PrintBitmap

    Did you get the solution?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans