The main benefit of Windows XP mode on Windows 7 (virtual Windows XP instance under Hyper-V) would be to run legacy DOS applications or other older software that may not be compatible with newer versions of Windows. Also, some of those beasts would not know any better than to print directly to a hardware parallel printer port or LPT. For example, one of that legacy software is FoxPro. The LPT requirement presents a clear challenge since Microsoft did not provide an interface or driver for virtual Windows XP instance to access the host’s printer ports. Fortunately, following solution was found:
- Create a network share for your printer on the Windows 7 host OS. That is done via Control Panel and Devices and printers section.
- Make sure that you can connect to the shared printer from the virtual XP. You might need to add local user id on your Windows 7 to grant that access. Default XP user name is XPMUser with the password that you created during the setup of your XP instance.
- Finally, in the elevated command prompt (cmd.exe ran as Administrator) in the virtual XP type in the command line:
Where ComputerName is the name of your host Windows 7 PC and PrinterShareName is share name for the printer.
- Voila. Have a happy printing.
References
Virtual mapping of USB printer to LPT1 7 posts. To work by virtually mapping the queue to lpt1 on the machine with this command. But LJ1000 reads as being connected to USB001 port.
Lpt1 Virtual Port Windows 10 Update
- I have new computers for my POS system but they do not have parallel ports on them for the receipt printers (Epson TM T88III). I purchased a parallel to USB cable and installed the latest print driver for the printer but it won't print. I then read a bunch of info about creating a virtual printer port but I really am not to clear about this.
- You can set your application to print to an ascii file, or you can let Printfil automatically capture one or more serial or parallel port (even from LPT1: to LPT9: and from COM1: to COM9: simultaneously), and redirect your DOS print jobs to any Windows printer, including USB, GDI, IP network printers, fax printers and PDF writers, even if a printer is physically connected to the captured port.
- With the 'Device Manager' open, look for “Ports (COM & LPT)” in the list of different device types. Once found, expand the selection: Right click on “ECP Printer Port (LPT1)” and choose “Properties”. Navigate to the “Port Settings” tab and check the box to “Enable legacy Plug and Play detection”.
- Went to Windows 10 and upgraded Virtualbox to 5.1.4r but now I can't get the LPT port to work. Ran the following on the DOS VM Code: Select all Expand view Collapse view.