PHP to PDF

Convert PHP files to PDF

Step 1: Requirements
  • You are able to open and read the PHP file on your computer
  • You are working on Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10 or Windows 11
Step 2: Save PHP file as XPS file
Before you can create the PDF, you have to make an XPS file on your computer.
This can be done directly in Windows, without any additional setup and takes only some seconds.
  • Open your PHP file with your standard application on your computer as usual.
  • There go to File -> Print or just press
    Ctrl
    +
    P
    (Don't worry, nothing is printed on paper!)
  • Choose "Microsoft XPS Document Writer" as your printer.
  • Click on "OK" or "Print".
  • Select a destination for your XPS file and click on "Save".
Step 3: XPS to PDF
This created XPS file can be easily converted to PDF with Online2PDF.com:
Convert XPS to PDF
Advertisements
Advertisements
From the developer of Online2PDF.com