Skip to content

Tag: pdf

nodejs- Downloading pdf, error in converting using fs (file wont open)

I make an api call , and receive a response. if i write the resposne to console i see h�l�A♂�@►�ῲ7����§�t)A0輺#n�‼�J��[#:u{☼���~�8K� �M�䖒▬����↨�8♀0����S��Z♦�h∟♂i�-♫�♂◄�0…. I then try to convert it to pdf using the below, which downloads the file (a pdf) but i cannot then open the file. (We can’t op…

Javascript: How to compare against substring in PDF forms?

I am trying to use some Javascript in a PDF form. As an example, let’s say I have two fields: let’s call them TextField1 and TextField2. These fields can be used independently, but when TextField1 has a certain value, I’d like TextField2 prefilled. This works fine (triggered onBlur, not that…

Arabic Text issue with PDFKit plugin

To generate dynamic PDF files, I’m using PDFKit. The generation works fine, but I’m having trouble displaying arabic characters, even after installing an arabic font. Also, Arabic text is generated correctly, but I believe the word order is incorrect. As an example, I’m currently using pdfki…