Hello Everyone, I created a dll which use to generate qr code for the invoice , it contains invoice number , invoice amount and GSTIN You can use this as reference and modify the tdl according to your needs here is the project link you can download all the files https://github.com/tejavarma-aln/Qrcodegenerator follow the instructions in readme file to get started post here if you face any extremity
follow these steps: 1) download these files (OpenQrgenerator.dll ,Qrcode.dll , Qrcode.txt) and put them in the Tally File location 2)Open Cmd in administrator Mode (Elavated mode) 3)CD C:\Windows\Microsoft.NET\Framework64\v4.0.30319 ;; change directory 4)Type without quote "regasm OpenQrgenerator.dll /codebase" ;;Full path to the OpenQrgenerator.dll file 5)you will get success message after it registered 6) Load Qrcode.txt tdl in Tally 7)Make an Invoice and Print it ;;; you will see Qrcode at top of the Invoice ** Note all files Must be in Tally Application Directory;;;;
you need give full path of OpenQrgenerator.dll ex: path\to\the\OpenQrgenerator.dll and also make all the downloaded files are in the Tally File location
you need to Start Command Prompt In Admin mode go to start menu -> type cmd -> right click on cmd->choose Run as Administrator and follow the steps mentioned above
QR Code Not Shown on Invoice Nor Generation [COM Interface:Qrinterface] Project:OpenQrgenerator Class:Class1 Interface:GenerateQr Parameter1:String:In Return:String [#Form:Comprehensiveinvoice] Delete : Parts Delete : Bottom Parts Addarts:At Beginning:Qrcodepart Onrint:Yes:Call:Qrengine [System:Formulas] Qraccount:$BankDetails:Ledger@VchBankName Qrifsc:$IFSCode:Ledger@VchBankName Qrbank@VchBankMailingName [Function:Qrengine] Variable:billamount:String:$$String:$Amount Variable:billnumber:String:$$String:$VoucherNumber Variable:billdate:String:$$String:$Date Variable:billaccount:String:$$String@Qraccount Variable:billifsc:String:$$String@Qrifsc Variable:billbank:String:$$String@Qrbank Variable:Qrdata:String:"Bill no-"+##billnumber +","+"Amount-"+ ##billamount +"," +"Date-" +##billdate + "," +"Bank Ac-"+ ##billaccount +"," +"Ifsc-" + ##billifsc +"," +"Bank-" + ##billbank 01:Exec COM Interface:Qrinterface:##Qrdata 02:Log:$$LastResult [Part:Qrcodepart] Graph Type:"Qrimg.jpg" Height:5 Line:Expinvlogo ;Invisible:Not $globalqrpath:Company:##Svcurrentcompany [#Part:CMP TallyShop F11] Addart:after:CMP TallyShopFeaturesTitle:Qrcodeconfig [Part:Qrcodeconfig] Line:Qrenableconfig [Line:Qrenableconfig] Space Top:0.2 Field:MediumPrompt,Qrlogic Local:Field:MediumPrompt:Set as:$$LocaleString:"Enable Qr code?" [Field:Qrlogic] Use:Logical Field Set as:No Show Table:Always Storage:globalqrpath [System:UDF] globalqrpath:Logical:7895
well done sir. it's generating the QR code that is fine but i am facing refresh issue. consider i have 2 sales transactions. then for 1st invoice ill take the print out then ill get the QR code in invoice again i have go to the another voucher and ill print that invoice in this print also ill get the qr code. if i scan that QR code means ill get the 1st transactions details how to solve this issue.
Make sure you have put the files in tally directory, Loaded the tdl file and your invoice format is set to comprehensive Not Simple.
you can troubleshoot these options: 1)check weather tcp is loaded or not 2)disable all other TDL's for better troubleshooting 3)check weather Qrimage.jpg is creating in tally directory or not while giving print 4)make sure you downloaded all the files Openqrgenerator.dll,Qrcoder.dll,Qrcode.txt(tdl) 5)make sure all files are placed in tally working directory ex: D:\TallyERP9