Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: DOS Printing via Virtual PC on a Custom Program


15 Jul 2010   #1

Windows 7 Pro 64 Bit
 
 
DOS Printing via Virtual PC on a Custom Program

I have a problem I am scratching my head on.

My accountant has a old DOS program he uses.

Previously on his old XP computer, he was able to print from this software without issues. He uses a HP Laserjet 5L printer that connects via LPT1 port.

He purchased a Windows 7 computer, and I set him up with Virtual PC(XP Mode).
The HP Laserjet 5L works great in Windows 7 and in the Virtual PC. But when I try to print from this old out of date DOS program it refuses to print.

The only thing I see is that in the virtual PC, it does not bring in the printer on the LPT1 port, but yet some other port. This old program is trying to print to the LPT1 port and sees no printer there.

What can be done? Any suggestions are welcome.

My System SpecsSystem Spec
.

16 Jul 2010   #2

Mc Donald OS Version Beta
 
 

Are you sure the old DOS can even support that printer?
My System SpecsSystem Spec
16 Jul 2010   #3

Windows 7 Ultimate 64bit
 
 

Quote   Quote: Originally Posted by Sleerts View Post

Previously on his old XP computer, he was able to print from this software without issues. He uses a HP Laserjet 5L printer that connects via LPT1 port.
Quote   Quote: Originally Posted by windowsapple View Post
Are you sure the old DOS can even support that printer?
I read the OP and it's there plain as day.
My System SpecsSystem Spec
.


17 Jul 2010   #4

Windows 7 Pro 64 Bit
 
 

You are correct. On the old computer with the printer hooked up via LTP1 the software was able to print without issues.

Anyone got any suggestions....
My System SpecsSystem Spec
30 Sep 2010   #5

Windows 7 Professional 64 bits
 
 
Net Use

For a very specific job, we are working with an old DOS program: Q&A 4.5.
To print to DOS we share two USB connected printers in Windows and we use the NET USE command in the batch launching our DOS application.

Syntax is:
net use lpt2 \\name of the machine where the printer is connected\name of the printer /persistent:no

This way, you can use a printer connected locally or elsewhere in the network. As long as we are using a compatible driver in our DOS program (Laserjet 2, Deskjet 500...), it works fine: yesterday, I connected a RICOH 3300D and it took me 5 minutes to get it working.

We are doing this with Windows XP, never tried with Seven but it could work.
My System SpecsSystem Spec
20 Oct 2012   #6

Win 7 Pro
 
 
dos printing to USB virtual PC

Virtual PC will not return computer name and printer names with net view, therefore, net use cannot be used (user does not know how to redirect if printer name is not known)
My System SpecsSystem Spec
20 Oct 2012   #7

Windows 7 Ultimate x64
 
 

You may also try to use DosBox (DOSBox, an x86 emulator with DOS) instead of a virtual machine, and see if that detects your printer. I also have heard of success using the NET USE method above.
My System SpecsSystem Spec
21 Oct 2012   #8

Win 7 Pro
 
 

Tried DOSBox, then went to Windows 7 pro (BTW, it took an MS tech 90 minutes to install the virtual PC). I need net view to work to use net use to do the redirect and so far nothing has worked. I was successful under WinXP before moving to Windows 7
My System SpecsSystem Spec
Reply

 DOS Printing via Virtual PC on a Custom Program




Thread Tools



Similar help and support threads for2: DOS Printing via Virtual PC on a Custom Program
Thread Forum
Solved 86 program files in new 64 bit custom install. General Discussion
Printing from Virtual XP Virtualization
Solved Auto-Printing Program Software
Problem printing from Dos Program using Win 7 Professional OS Hardware & Devices
Xp virtual printing Virtualization
Custom Program Icons? Customization

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:44 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33