.prn File as HTTP Response

Label printing integration (NiceWatch middleware and ActiveX programming interface)

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
maportillo
Newcomer
Posts: 4
Joined: Thu Oct 04, 2018 9:15 am

.prn File as HTTP Response

Post by maportillo » Thu Feb 28, 2019 3:29 pm

Hi!

I'd like to know if it's possible to send the generated .prn file as a response using HTTP server trigger.

Thank you,

User avatar
Kyleodonnell
NiceLabel Support
NiceLabel Support
Posts: 279
Joined: Mon Aug 28, 2017 3:07 pm

Re: .prn File as HTTP Response

Post by Kyleodonnell » Thu Feb 28, 2019 3:37 pm

Maportillo,

We have a sample here that sends a label preview as an HTTP response that gets installed on your machine using automation
C:\Users\Public\Documents\NiceLabel 2019\Automation\Samples\Label Preview as HTTP Response

You can probably change the sample to send the .prn

maportillo
Newcomer
Posts: 4
Joined: Thu Oct 04, 2018 9:15 am

Re: .prn File as HTTP Response

Post by maportillo » Fri Mar 01, 2019 2:48 am

Hi Kyleodonnell,

Thank you for your quick reply. Just want to let you know I got it working, by printing to file, reading the file and sending its contents as response as done in the example.

Best,
Maportillo

Post Reply