How to create New PDF file

Hi,
I already extracted some text need to create the new pdf and write these text into that…but word and Excel is not installed at my machine.anyone give me any solution for this…

Try to install foxit PDF reader and it will allow you to create PDF.

we could doubt if this is needed within a process, but without knowing the use case details we will not rate the need of pdf

However the suggested solution approach is depending on the complexity/layout needs of the PDF. So we can think on options:

just to name a few of more options

Hi @ppr,
It’s an scenario like need to convert the image based/scanned pdf to text based pdf.I converted the image to text from pdf but need to make that text to be an pdf format.

you can use itext7 or selectpdf to create a new pdf with your text. You will have to use coded workflows or invoke code.

To import these packages in UiPath you would need to disable all filters.

image

what is needed?

  • #A a searchable PDF which looks same (layout, styles) as the image PDF?

OR

  • #B a text PDF which ignores layout and formats and just offers the OCR Result from the image PDF as simple text

#A is more then a simple txt to PDF conversion
#B can be achieved with simple shortcuts

@ppr ,
Can you share me that #B simple shortcut

we did already

select one from above

you would reference an implementation of C# e.g.

then generate the XSLFo File and transform it into a PDF

depending on the selected package we would do it with Assign, Invoke Code, Invoke Method steps