# Bug: printing a step using the web widget and googleapi for generating a QR code

**URL:** <https://community.tulip.co/t/bug-printing-a-step-using-the-web-widget-and-googleapi-for-generating-a-qr-code/2515>\
**Category:** Support, Troubleshooting, & Help\
**Created:** [April 21, 2021, 7:14am UTC](https://community.tulip.co/t/bug-printing-a-step-using-the-web-widget-and-googleapi-for-generating-a-qr-code/2515 "2021-04-21T07:14:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChrisF](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@ChrisF](https://community.tulip.co/u/ChrisF)\
**Post date:** [April 21, 2021, 7:14am UTC](https://community.tulip.co/t/bug-printing-a-step-using-the-web-widget-and-googleapi-for-generating-a-qr-code/2515/1 "2021-04-21T07:14:13Z")

</div>

Hi all,  
after a long time investigating in the issue that a step with a QR code (via web widget and [googleapi.com](http://googleapi.com)) can not printed, i found out, that the webpage widget can not handle the generated QR code picture from [googleapi.com](http://googleapi.com) and the printing routine from the tulip player hangs.  
When i replace the webpage widget with a sql connector function to generate the QR code, tulip can print the step without any problem.  
To reproduce this issue add the webpage widget with the fixed URL:  
[https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=test](https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=test)  
add a button with the trigger “print steps: this step”  
run the player: the QR code appears  
click the print button and select a printer from the list (i tested it with PDF and physical printers)  
=\>  
the print out hangs, no PDF will be created; you have to crash the player

this is reproducable on different stations and computers.

So: why can not print the player the googleapi result? What is the player waiting for?

this phenomenon cost me a lot of time and gray hair 😉

Regards Chris

---

<div class="post-metadata">

**Author:** ![ChrisF](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@ChrisF](https://community.tulip.co/u/ChrisF)\
**Post date:** [April 29, 2021, 5:44am UTC](https://community.tulip.co/t/bug-printing-a-step-using-the-web-widget-and-googleapi-for-generating-a-qr-code/2515/2 "2021-04-29T05:44:19Z")

</div>

No comments?  
Not reproducible?  
Not interesting?

Regards Chris

---

<div class="post-metadata">

**Author:** ![Kailey](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/kailey/32/5386_2.png) [@Kailey](https://community.tulip.co/u/Kailey)\
**Post date:** [April 29, 2021, 5:52pm UTC](https://community.tulip.co/t/bug-printing-a-step-using-the-web-widget-and-googleapi-for-generating-a-qr-code/2515/3 "2021-04-29T17:52:43Z")

</div>

Hey @ChrisF ,

Sorry to hear about the trouble you’ve had with trying to print this QR code!

Unfortunately, I wasn’t able to reproduce what you saw.  
I was able to print that QR code (embedded as a webpage widget) in both the Player, and in Dev Mode.

Here’s the PDF in Dev Mode:

 ![Screen Shot 2021-04-29 at 1.49.29 PM](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/e/ed570fe691887390c0a5d2b4c306f2f34da50dc8.jpeg)

Could you share what version of the Player you’re running, and possibly logs from your Player as it hangs in this state?

To see your logs click ‘Developer’ \> ‘Toggle Developer Tools Content’

Thanks,  
Kailey
