How to Convert a PHP File to a JPEG File
By Dave Wilson
Open and save a PHP file to JPEG file format using an image file printer driver that operates as a virtual printer. PHP code files consist of formatted text that can be difficult to display correctly in documents such as Web pages. Converting a PHP file to a JPEG image file resolves the issue by capturing a picture of the formatted PHP code, so no formatting is required. Convert PHP files to JPEG format using an image file printer driver in Windows.
Click the Windows “Start” button and type “notepad” into the “Search” box. Press the “Enter” key.
Click the “File” menu and click “Open.” Navigate to the PHP file you want to convert.
Click once on the PHP file and click “Open.”
Click the “File” menu and then “Print.” Click the “ImagePrinter” icon and click “Print.”
Click the Windows “Start” button. Click “Pictures” and then double-click on the “ImagePrinter” directory.
Click the “Views” button arrow on the toolbar and click “Details.” Click the “Date Modified” column header.
Click Double-click on the file at the top of the list displayed to view the converted PHP JPEG file.
Dave Wilson has been writing technical articles since 1993, including manuals, instructional "how-to" tips and online publications with various websites. Wilson holds a Bachelor of Arts in psychology from the University of California, Los Angeles and has Microsoft, Cisco, and ISC2 (CISSP) technical certifications. He also has experience with a broad range of computer platforms, embedded systems, network appliances and Linux.