Interface printer with Matlab to print out qr code image

I am using Grozzie A6 thermal printer TP518 to print qr code image. I have to use Matlab to interface with the printer and write a Matlab script that everytime I run the script the printer will print out the qr code. How can I do it?

1 commentaire

It appears that printer has a USB B connector on it, and probably comes with a USB-A to USB-B cable.

It appears that it is intended to be used with a vendor supplied printer driver. It probably shows up as a regular printer to the system.

Unfortunately, there is very little information available about that model that I can find. Although I can see it listed for sale in a small number of places, it appears to have been mostly replaced by TP800 series printers.

I suspect that unless you do a bunch of interface work, that you will be limited to one of the following:

  • use matlab print()
  • create a pdf or image file and use system() to call Windows print routines ; or
  • create a pdf or image file and use the .NET interfaces to call Windows print routines.

There might be other possibilities if sufficient work was put into the task.

Connectez-vous pour commenter.

Réponses (1)

The function print will help you print out what's in your figure.
For example,
bar(1:10) % Whatever you plot
print % will be printed

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by