• PDF417 download

Imprimer code à barres PDF417 dans C#

To print PDF417 in C#, you need both bcsPDF417.ttf true type font and cruflbcsn.dll.

To get cruflbcsn.dll, you can either download it from PDF417 C#.,
or you can generate cruflbcsn.dll if you already have cruflbcs.dll.
tlbimp is a utility of Windows SDK. It converts type definitions of a COM object to equivalent definitions in a common language runtime assembly that you can use in C#.
tlbimp cruflbcs.dll /out:cruflbcsn.dll

Add reference to cruflbcsn.dll from your C# project first.
Then use code snippet below to get QR Code in C#

using cruflbcsn;
cruflbcsn.IPDF417 pPDF417 = new CPDF417();
textBox2.Text = pPDF417.Encode(textBox1.Text);

Or you can use code snippet below to customize a PDF417 in C#

using cruflbcsn;
cruflbcsn.IPDF417 pPDF417 = new CPDF417();
textBox2.Text = pPDF417.EncodeCR(textBox1.Text, 0, 1);

The first parameter is string to encode.
The second parameter is index. Always set it to zero please.
The third parameter is security level. Its values range between 0 and 3. It stands for L07, M15, Q25 and H30 separately

  • PDF417 barcode download