Click Start.
Click Settings > Control Panel > Printers and Faxes, or click Devices and Printers.
Right-click on the print queue (for example: UPD v2 PCL5 driver).
Click Properties or Printer Properties from the drop-down menu.
Go to the Ports tab, and click "Add Port..." button. A Printer Ports dialog appears.
Select Local Port, then click "New Port...".
Enter the Port Name in the specified location (for example: C:\Lexmark\test.prn), click OK, and then close the Printer Ports window.
Click Apply, and then OK.
Open the test file and print the document using the modified print queue.
Note: The actual job file is generated in C:\Lexmark\test.prn, which was created in the Printer Ports window.