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
Sleerts

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
windowsapple

Mc Donald OS Version Beta
 
 

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

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
Sleerts

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
YvesW

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
gcsullog

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
Alejandro85

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
gcsullog

Win 7 Pro
 
 

Tried DOSBox, then went to Win7 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 Win7
My System SpecsSystem Spec
Reply

 DOS Printing via Virtual PC on a Custom Program




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Printing custom pictures
I have 5 pics that I have edited to 2.5 inch in size and I want to print these off at 2.5 inch square on as few sheets as possible and maybe im being dim but cant seem to find an easy way (or a hard way) of doing this..... if anyone has any help it would be greatly appreciated. Thanks Steve
Music, Pictures & Video
virtual CD program not working
I've just setup/installed Windows 7 32-Bit and looks like everything is OK but I installed a virtual CD program/s (i.e. Daemon Tools, PowerISO and or MagicISO) my system is not detecting the virtual CD's that Daemon Tools, PowerISO and or MagicISO have created. can you suggest any procedures for...
Virtualization
Auto-Printing Program
I would like to make a program (or find one) that will open an XPS file, and print the first page, wait for the printer to finish, print the next, wait until it finishes, and repeat until all the pages are printed. I need to print labels, and if I do them all at once, they get aligned wrong. VB...
Software
Xp virtual printing
Well all my xp work programs work great! With that said i got the printer working and then a few days later it has quit on me. Now it still works great in 7 but not xp. I have even created a new local port and nothing....any ideas from the big forum guru's thanks jb
Virtualization
Custom Program Icons?
so i got this freeware from the internet, but it doesnt have an icon in the corner of its window, on my taskbar, or in a folder. is there a way to apply a custom icon to this program? i hate seeing the ugly default program icon that shows when there isnt an icon.
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 09:31.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App