PARALLEL PORT PROBLEM ON WIN98 (GUEST) WIN7 (HOST)

Discussions related to using VirtualBox on Windows hosts.
Post Reply
MADGRUYERE
Posts: 2
Joined: 30. Jan 2017, 19:03

PARALLEL PORT PROBLEM ON WIN98 (GUEST) WIN7 (HOST)

Post by MADGRUYERE »

hello. I'm new in the forum.

I need to be able to use my old lx810 printer to print reports from and old DOS program instaled on windows 98

i had w98 on Virtual pc 2007 installed on windows XP and worked ok with it

now i updated the pc (the other was dying) but thisone didnt have built in parallel port so i added a PCI card.

VPC2007 does not connect to other port dir that is 0x378 and the board is using 0x010 assigned on windows 7 LPT3

then i installed virtualbox 5.1.14 and followed the parallel port tutorial



in my case used

VBoxManage modifyvm "My VM Name" --lptmode1 "LPT3:"
VBoxManage modifyvm "My VM Name" --lpt1 0x378 7

then when i try to start the vm it show an error


reading a bit i understand that "LPT3:" was wrong instead i had to use "LPT3"

it started well and the device administrator in win98 has the parallel port as LPT1 correctly

yet when i did a test print i get a win98 error message: error writing to printer bla bla bla...

then i built another vm with different name

now i configured lpt from start with "LPT3" (no dots)

and worked "better" no error message.. but anyways does not connect to actual printer to print and does NOT print


the printer can print from windows 7

any idea about what can i do? or what im doing wrong?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: PARALLEL PORT PROBLEM ON WIN98 (GUEST) WIN7 (HOST)

Post by scottgus1 »

MADGRUYERE
Posts: 2
Joined: 30. Jan 2017, 19:03

Re: PARALLEL PORT PROBLEM ON WIN98 (GUEST) WIN7 (HOST)

Post by MADGRUYERE »

scottgus1 wrote:See
as I said before, already followed that tutorial. please read the whole message. many thanks!

in the guest already see the lpt1 correctly but did not connect to my physical LPT (3)

when used the command with "LPT3:" give me this error

Code: Select all

HostParallel#0: Could not get direct access to the host parallel port!! (rc=VERR_INTERNAL_ERROR_3) (VERR_INTERNAL_ERROR_3).
Parallel device 0 cannot attach to host driver (VERR_INTERNAL_ERROR_3).


Código Resultado: 
E_FAIL (0x80004005)
Componente: 
ConsoleWrap
Interfaz: 
IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
when using only "LPT" the vm runs. and the ltp is installed but when i send something, does nothing.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: PARALLEL PORT PROBLEM ON WIN98 (GUEST) WIN7 (HOST)

Post by scottgus1 »

You just said you followed "the" tutorial, you didn't say what tutorial, not even the name of the tutorial you followed.

Don't get snippy, or folks won't help you.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: PARALLEL PORT PROBLEM ON WIN98 (GUEST) WIN7 (HOST)

Post by mpack »

Please post a screenshot showing the "Ports (COM & LPT)" branch in your host's Device Manager - the exact name of this branch varies with host Windows version.

"LPT3:" is a device name, a parallel printer port. "LPT3" is not a device name, it's a filename in the current directory. Please do what the tutorial says. Please also report error messages in full, do not say "bla bla bla". The second report is better.

p.s. It should never have been necessary to run VPC on top of XP in order to run DOS programs. XP has a 16bit emulation subsystem built in, and AFAIK that subsystem (NTVDM) still exists in all 32bit Windows versions. It is not present in 64bit Windows. You might also consider DOSBox. As I understand it the official DOSBox doesn't support LPT, but there are forks that do. I have not used DOSBox myself.
Post Reply