PdfWriter The application takes a single argument which is a file-path to an input text file. It will generate a PDF (with the same name as the input file). For example, if you run: dotnet run -- c:\temp\input.txt it will generate c:\temp\input.pdf.