cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
EricLott
Level 10

Printing to a Zebra label printer in PowerApps

Is anyone using a workaround to print files in PowerApps? Here is my current solution:

For those unfamiliar with Zebra thermal printers, there is a language called ZPL that formats the labels which you can send directly to the printer.

I have a Flow that creates a text file in OneDrive with the ZPL using some string injections from PowerApps,

That OneDrive file is saved in a specific directory.

I then have a C# application that watches that OneDrive directory waiting for new files.

The file is dropped there, then the application picks it up, reads the .txt file, and sends the string to the printer from the host computer.

 

This is nowhere near ideal, but it does work. Anyone have better workarounds?

5 REPLIES 5
Community Support Team
Community Support Team

Re: Printing to a Zebra label printer in PowerApps

Hi @EricLott ,

Do you want to print data in powerapps?

Currently, it's not supported to print data in powerapps directly.

However, flow has printing function.

Usually, we create a flow which generate a pdf/printable form by using the data of powerapps, then print this pdf in flow.

Here are two ways for your reference:

http://www.cleverworkarounds.com/2018/06/30/some-seriously-powerful-and-free-pdf-functionality-in-po...

https://centricconsulting.com/blog/how-to-print-form-powerapps_portal/

 

What's more, the function of generating pdf and pringing  in PowerApps will be coming soon, please refer this two ideas:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Printing/idi-p/846

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Export-Form-to-PDF/idi-p/1375

 

 

 

Best regards,

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
kenwestover1
Level: Powered On

Re: Printing to a Zebra label printer in PowerApps

Hi Eric,

Did you ever come up with a good solution to this? I'd like to be able to print labels to a networked zebra printer from one of my powerapps, but can't figure out how to set up the power automate flow to send ZPL. 

 

EricLott
Level 10

Re: Printing to a Zebra label printer in PowerApps

My fastest solution was a print station with an on-premise data gateway running Bartender. I used the file system control in Flow to write a txt file to a folder where Bartender picked it up and processed it from there.
EricLott
Level 10

Re: Printing to a Zebra label printer in PowerApps

**Sorry for the super-brief summary. Feel free to ask me if you have any questions on that.
kenwestover1
Level: Powered On

Re: Printing to a Zebra label printer in PowerApps

No worries. The gateway suggestion was helpful. I've not used barTender before. Hoping to make this work with the free version. If not, I may explore a Windows Task Scheduler/PowerShell solution to print ZPL files.

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,189)