Answered

How would you print a Typeform with a Star Micronics T300 portable printer?

  • 26 August 2021
  • 3 replies
  • 49 views

We have a unique client requirement to print a Typeform response in the field, using a Star Micronics T300 printer.   Does anyone have suggestions on how to facilitate printing a Typeformto this device?

icon

Best answer by picsoung 26 August 2021, 03:28

View original

3 replies

Userlevel 7
Badge +5

Hey IGX,

This sounds really cool, I always wanted to do that!

Looking on Star Micronics website, they have a few SDKs.
I guess you can pick the one that work bests for you.

Then they are two routes you can take:

  • using webhooks, specific a webhook URL where Typeform will send you a payload with data collected in the form.
  • use Embed SDK to embed the typeform in a web page/app, and use the `onSubmit` callback to extract the response id, call the Responses API to get the response details

And then you can call the StarMicronics API to print the file.

One drawback on webhooks: the webhook has to be public accessible on the internet, it can’t be a local network. Which means you probably need a web server running bridging between the outside world and your local network with the printer.

What do you think?

Userlevel 7
Badge +5

Hi @IGX Did @picsoung ‘s suggestion work for you? :relaxed:

@picsoung great feedback, we really appreciate it!

Reply