Configure LPT1 port in VirtualBox

This is for discussing general topics about how to use VirtualBox.
Post Reply
bulldog982
Posts: 5
Joined: 14. Feb 2008, 15:22

Configure LPT1 port in VirtualBox

Post by bulldog982 »

Hello all...

How do you configure VirtualBox to use port LPT1?

All I see is for COM1 - COM4

I have a device attached to LPT1 on the host machine and I would like to get my Windows guest to use it
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

There is no support for lpt.

Try sharing printer over network, if its for a printer.
bulldog982
Posts: 5
Joined: 14. Feb 2008, 15:22

Post by bulldog982 »

Yea I figured as much after reading some other posts.

I am actually trying to use a dongle attached to a parallel port
gpc1
Posts: 6
Joined: 29. Feb 2008, 13:47

Using LPT not only for printer

Post by gpc1 »

There's some applications that would use the printer port, but not for printing.
The lack of LPT support renders VITRUALBOX useless for those.
I ended up in using VIRTUAL PC from Microsoft, where you don't have USB, but LPT support.
mcrider
Posts: 1
Joined: 9. Mar 2008, 05:25

Post by mcrider »

One way to get lpt support might be to enable vrdp, then use rdesktop and forward the local parallel port. I haven't tested this, but I know the help for rdesktop-vrdp lists the syntax for forwarding parallel ports.
rulix
Posts: 2
Joined: 29. May 2008, 16:56

Post by rulix »

stefan.becker wrote:There is no support for lpt.

Try sharing printer over network, if its for a printer.
I want tu use Virtualbox on Kubuntu Hardy, because there is no driver for my Mustek 12000P scanner in Linux available.

It's a pity that I have to use Windows OS as the host. This scanner needs a // port

That is really a big drawback, which I do not understand.
Why not make a parallel port available.

rgds Rudi
[ Xi0N ]
Posts: 90
Joined: 23. Jan 2008, 19:18
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Debian, WIndows 2000, Windows 7, Arch LINUX

Re: Configure LPT1 port in VirtualBox

Post by [ Xi0N ] »

Reviving an ooooooooooold thread: I found myself in this situation... i NEED my hardware to be managed in virtualbox via LPT1......

A shame it is not supported.... :(
darksidejustice
Posts: 1
Joined: 28. Jan 2011, 16:44
Primary OS: MS Windows 2008
VBox Version: OSE other
Guest OSses: Windows Server and Linuz

Re: Configure LPT1 port in VirtualBox

Post by darksidejustice »

I found a solution. My host is Windows 7x64 and the Virtual Machine is XPx32.

I have a printer Lexmark 2381 connect to LPT1.

In XPx32 Virtual Machine I installed the printer.

Next step, I create a local port : \\<nameWindow7PC>\Sharenamedprinter in properties of Printer and work fine !!!
foxy
Posts: 1
Joined: 21. Mar 2013, 07:25

Re: Configure LPT1 port in VirtualBox

Post by foxy »

in case anybody with old DOS host stumble on this problem and get to this thread:
The solution is to enable serial port (say, COM1). If you actually have the COM device on your host, set the Port Mode to Host Device. Otherwise, set it to Raw File and put a valid file name on Port/File path.
On the DOS box prompt, redirect the LPT1 port to COM1. You can use MODE command like the following:

Code: Select all

MODE LPT1:=COM1
You'll have LPT1 in your DOS host Virtual box.

hth,
foxy
EMILLENNIUM
Posts: 1
Joined: 21. Mar 2013, 12:23

Re: Configure LPT1 port in VirtualBox

Post by EMILLENNIUM »

hi Foxy,
how I must write the code?
Post Reply