Up to the Moment I receive QR codes as¨*.bmp file. I have no Problem to print them with PC_PRINTER_LOAD_BMP and PC_PRINTER_WRITE_BMP. I was informed, that I will receive in future the QR code as *.JPG file. Is there a possibility to print them from a NETEXPRESS program.
Or does somebody know how I can include them in my invoices.
Thanks for any help.
Rolf
I see in another discussion you posted a suggestion about using QRENCODE. Does that resolve this issue for you?
Up to the Moment I receive QR codes as¨*.bmp file. I have no Problem to print them with PC_PRINTER_LOAD_BMP and PC_PRINTER_WRITE_BMP. I was informed, that I will receive in future the QR code as *.JPG file. Is there a possibility to print them from a NETEXPRESS program.
Or does somebody know how I can include them in my invoices.
Thanks for any help.
Rolf
In a certain way it is a different possibility. Instead of printing a .JPG in this case I can build a new immage file not in JPG Format, but in BMP and then print it with PC_PRINTER_WRITE_BMP
Up to the Moment I receive QR codes as¨*.bmp file. I have no Problem to print them with PC_PRINTER_LOAD_BMP and PC_PRINTER_WRITE_BMP. I was informed, that I will receive in future the QR code as *.JPG file. Is there a possibility to print them from a NETEXPRESS program.
Or does somebody know how I can include them in my invoices.
Thanks for any help.
Rolf
In a certain way it is a different possibility. Instead of printing a .JPG in this case I can build a new immage file not in JPG Format, but in BMP and then print it with PC_PRINTER_WRITE_BMP
Up to the Moment I receive QR codes as¨*.bmp file. I have no Problem to print them with PC_PRINTER_LOAD_BMP and PC_PRINTER_WRITE_BMP. I was informed, that I will receive in future the QR code as *.JPG file. Is there a possibility to print them from a NETEXPRESS program.
Or does somebody know how I can include them in my invoices.
Thanks for any help.
Rolf
This is a native (not .NET) program, correct?
The Windows GDI subsystem can read a JPEG file and return a bitmap, using the Bitmap.FromFile API. I'm not sure offhand what the best way to invoke that from COBOL might be. If I were doing this, I'd write a small C wrapper that exposed an extern-C entry point.
There's also the Windows Imaging Component:
msdn.microsoft.com/.../ee719654(v=vs.85).aspx
I've only glanced at the docs, but it looks like you instantiate it as a COM object and then invoke methods against that. If memory serves, in NetExpress you can map COM services using the IMTK, so that might be an easier route.