cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EricLott
Super User
Super User

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?

8 REPLIES 8
v-yutliu-msft
Community Support
Community Support

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
Frequent Visitor

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. 

 

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.

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

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.

How did you get on?
Have a project where I need to print labels

@EricLott thanks for the guidance here! Can you provide some additional information on the use of Bartender? Does it's free version support automated printing from a network location or is this a premium feature?

 

Feel free to shoot me a DM on twitter (@patrick_abel) if you're free to discuss further!

 

Thanks,

Patrick

@patrickabel 

I believe the free trial is a full-featured trial and does support printing from a network folder.

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (56,654)