Skip to content

How to dynamically Convert Txt file into PDF using PSWritePDF - Need sample code logic #54

@Ganesh-Singaravelu

Description

@Ganesh-Singaravelu

I am looking for converting text file into PDF using PSWritePDF. I got sample codes where New-TextPDF having hardcoded text samples.
I need a code function to dynamically read lines from Text file and convert into PDF. Could you please share the function which can do that in PSWritePDF?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions