Page 1 of 2

How can I using Parallel on Windows7 Guest

Posted: 7. Nov 2016, 09:52
by RiiN
I using Windows 7 host and setup guest wiht windows 7 embbed.

For the windows 7 host, my LPT1 is detail 0x378 and IRQ 7 and disable interrupt.

I use command line below for mange by console

C:\Program Files\Oracle\Virtualbox\VBoxmanage modifyvm Win7guest01 --lptmode1 lpt1
C:\Program Files\Oracle\Virtualbox\VBoxmanage modifyvm Win7guest01 --lpt1 0x378 7

On device management Windows guest, it show Printer Port (LPT1). But can not print to this port.

How can I verify this problem or configuration.

PS. I already follow step on your guide page.

Re: How can I using Parallel on Windows7 Guest

Posted: 7. Nov 2016, 10:32
by mpack
LPT is a legacy device, not plug and play. Make sure you shut down (not suspend) then restart the VM, and then use Win7's control panel "Add new hardware" feature.

If you have any further questions then please provide a VM log file: with the VM fully shut down, right click it in GUI. Select "Show Log" and save "VBox.log" (ONLY) to a zip file. Attach the zip here.

Re: How can I using Parallel on Windows7 Guest

Posted: 7. Nov 2016, 12:02
by RiiN
Hi Mpack

The Parallel show on device manage already. If it show already, it need "Add new hardware" feature or not?

For the log file, please find in attached file.

Re: How can I using Parallel on Windows7 Guest

Posted: 7. Nov 2016, 12:13
by mpack
If it shows in the guest Device Manager already then it must be working else the guest OS would not report it as present. So, I'm not sure what you question is?

Re: How can I using Parallel on Windows7 Guest

Posted: 7. Nov 2016, 12:16
by RiiN
IT already show on device manage. But I can not print by driver or direct on dos.
I don't know why can not print. Can you suggest me for how to print by LPT port.

Re: How can I using Parallel on Windows7 Guest

Posted: 7. Nov 2016, 12:29
by mpack
Does copying text files to LPT1: do nothing?

Anyway there is no easy answer to that question. DOS is not a modern OS, it did not include a complex driver architecture, there was no standardized printing API, and DOS didn't have the memory to efficiently render pages before sending them to a page oriented printed. The dot matrix stream printer is what ruled in DOS days. And, each big application had it's own drivers for popular printers.

Re: How can I using Parallel on Windows7 Guest

Posted: 7. Nov 2016, 12:36
by RiiN
For the driver it not work. When I install driver printer and then printing it by the driver. It can't print.
That it why I try to print by DOS. I create text file and then send to LPT Port. I test it same on Host, It work.

Re: How can I using Parallel on Windows7 Guest

Posted: 7. Nov 2016, 12:43
by socratis
Why don't you simply share the printer in your Win7 host and use the network printing functionality from your Win7 guest?

Re: How can I using Parallel on Windows7 Guest

Posted: 7. Nov 2016, 12:46
by RiiN
Because I using application on DOS with Win7 guest. My application direct command to printer.

Re: How can I using Parallel on Windows7 Guest

Posted: 7. Nov 2016, 13:39
by mpack
RiiN wrote:Because I using application on DOS with Win7 guest. My application direct command to printer.
I'm not certain I understand this correctly. Do you literally mean you're using a 16 bit DOS application on a Windows 7 host (if so why??), or do you really mean that you are using the Windows Command console (a.k.a. terminal window, a.k.a. Command Prompt). If the latter is what you mean then DOS is not involved.

Re: How can I using Parallel on Windows7 Guest

Posted: 7. Nov 2016, 13:54
by RiiN
I using command prompt for run software. My Application use print by OPOS driver.

Re: How can I using Parallel on Windows7 Guest

Posted: 7. Nov 2016, 14:00
by mpack
Right, so I'm glad we pinched off that source of confusion.

The Command Prompt in Windows XP and later is not DOS. It is a fully 32bit (or 64bit) application which just happens to lack a graphics interface. The default command syntax looks similar to DOS commands, but I emphasize that this not DOS, which is a 16bit text oriented OS from two decades ago.

This makes a huge difference: the Command Console is a full participant in modern Windows. It uses the same printer driver stack as any other application and hence has no special requirements - or abilities.

Re: How can I using Parallel on Windows7 Guest

Posted: 7. Nov 2016, 14:22
by RiiN
It look link windows command (Driver). My key point is, how to print with parallel. But don't why i can't to print with parallel port. The parallel port it show on device management console.

How can I take this issue? Could you please suggest me for solve this issue.

Re: How can I using Parallel on Windows7 Guest

Posted: 7. Nov 2016, 14:42
by socratis
What is the software? Exactly.

Re: How can I using Parallel on Windows7 Guest

Posted: 7. Nov 2016, 14:46
by RiiN
This POS software.