Previous Thread
Next Thread
Print Thread
QR codes #37167 06 Mar 24 11:03 PM
Joined: Nov 2007
Posts: 53
R
René Villar Online Content OP
Member
OP Online Content
Member
R
Joined: Nov 2007
Posts: 53
Hello everyone.

Is anyone familiar with printing QR codes from A-Shell programs?

Thank you very much in advance and greetings to all.


René.
Re: QR codes [Re: René Villar] #37168 06 Mar 24 11:40 PM
Joined: Jun 2001
Posts: 3,406
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,406
Hi René

I'm printing QR-Codes in invoices using Zint, it creates an image file which I embbed in the output file.
If you think this is a good solution, I can provide you the routine I wrote to handle it.

Have fun

Last edited by Jorge Tavares - UmZero; 06 Mar 24 11:40 PM.

Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal
Re: QR codes [Re: René Villar] #37170 06 Mar 24 11:58 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Zint certainly looks interesting, although it will probably take some work to interface to it on the LInux side. (Their Linux notes mention only Debian/Ubuntu and Fedora.) On the Windows side you can probably use the EXE out of the box, or create a DYNLIB wrapper for the DLL. So even in the LInux environment, it might be better to implement it as a client-side (ATE) xcall extension.

Re: QR codes [Re: René Villar] #37172 07 Mar 24 05:47 PM
Joined: Jun 2001
Posts: 3,406
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,406
I'm in Windows and using the EXE directly but looks interesting the challenge to introduce myself to DYNLIB.
Using EXE is done and working, would it be any advantage to invest in the DLL usage?

I take a quick look to the DYNLIB and ZINT documentation and it looks pretty extense.
By now, I'm only interested in the QR-Code but Zint covers much more.


Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal
Re: QR codes [Re: René Villar] #37173 07 Mar 24 09:20 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
I'm not sure there would be much advantage in the DLL approach, other than eliminating the need to launch a separate process for each code generated. As you say, the downside is that you have to create wrappers for all of the functions you want to call in the DLL, and from the looks of it, there are a lot! (Not that you necessarily need more than a few of them, but it may take awhile just to figure out which ones are needed, since that's all buried inside the EXE.)

Re: QR codes [Re: René Villar] #37174 08 Mar 24 02:39 PM
Joined: Jun 2001
Posts: 425
V
Valli Information Systems Online Content
Member
Online Content
Member
V
Joined: Jun 2001
Posts: 425
we use zint extensively to create QR codes and 2D barcodes on our CENTOS linux system,

Re: QR codes [Re: René Villar] #37175 08 Mar 24 05:13 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
What interface mechanism are you using? Did you use the API to create an executable and shell out to execute it? I didn't think there was a ready-made Linux CLI.


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3