Skip to main content
Participant
August 24, 2022
Question

How do I get binary data from HTML to PDF conversion?

  • August 24, 2022
  • 0 replies
  • 297 views

Hi everyone,

 

I'm using Adobe's PDFServicesSDK (node) to convert html to a PDF which will be sent to Adobe Sign API endpoint for signature. I can successfully save the file locally to my Azure function app using the SDK's saveAsFile method. Is there a way to save the file as a stream or buffer to be sent back to the client?

I've tried saving the file locally and then reading the file using Node's file system, which works when I run my Azure function app locally but I'm getting a 500 server error when I trigger my function app from the browser

This topic has been closed for replies.