Skip to main content
Question

HTML2PDFConvertor

  • June 3, 2025
  • 4 replies
  • 35 views

kristinsbrev
Contributor
Forum|alt.badge.img+1

Hi,

 

We use the transformer HTML2PDFConvertor, but for some reason it has stoped working and reject the input. Anyone who has an idea? 

 

4 replies

j.botterill
Influencer
Forum|alt.badge.img+53
  • Influencer
  • June 4, 2025

this is a custom transformer https://hub.safe.com/publishers/safe-lab/transformers/html2pdfconvertor and reading over the usage and Output Ports section, you’ll find:

  • Page size, which either can be chosen from the standard list (Letter, Legal, A4 etc) or specified in points as two space-separated integer numbers (width and height);

 https://wkhtmltopdf.org/ 


raghavendrans
Enthusiast
Forum|alt.badge.img+20

@kristinsbrev 

The rejection code or message should give you the hint on where the issue is?

SRG


j.botterill
Influencer
Forum|alt.badge.img+53
  • Influencer
  • June 5, 2025

I can also see you have a ‘list’ as the PDF output name. You might need a ListExploder prior to this HTML2PDFConvertor 

 


kristinsbrev
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • June 5, 2025

@j.botterill and ​@raghavendrans - Thank you for your respond. We solved the problem and it is now running again. the problem was the connection to the .exe-file using FME flow.