DOS Printing via Virtual PC on a Custom Program

Sleerts

New member
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 Computer

Computer Manufacturer/Model Number
Dell Vostro 200
OS
Windows 7 Pro 64 Bit
CPU
Intel Core 2 Duo
Memory
4 GB
Are you sure the old DOS can even support that printer?
 

My Computer

Computer Manufacturer/Model Number
Mc Donald's
OS
Mc Donald OS Version Beta
CPU
Awesome Beef Patty
Motherboard
Lettuce (It's green!)
Memory
Pro 1 KB Memory
Graphics Card(s)
Tomato FX10
Sound Card
The Box
Monitor(s) Displays
Yummy 5-D Touch
Screen Resolution
20 x 20
Hard Drives
The Top Bun and the Bottom Buns
PSU
Um.
Case
The Box With Pics!
Cooling
That's Why i Have a Refrigerator
Keyboard
N/A
Mouse
N/A
Internet Speed
Same as McDonald's Wi-fi
Other Info
Note : This is not real. (Hope You Knew That)

My Computer

Computer Manufacturer/Model Number
HAL-9000
OS
Windows 7 Ultimate 64bit
CPU
Intel i7 3770K
Motherboard
Asus Sabertooth Z77
Memory
16GB DDR3 1333 Corsair XMS3
Graphics Card(s)
XFX HD6950 2GB EyeFinity
Sound Card
Logitech G35 & Sennheiser PC135 & VIA HD
Monitor(s) Displays
23" HP 2310e, 23" Samsung B2230, 21.5" Viewsonic
Screen Resolution
5760x1080
Hard Drives
16TB of Storage
128GB & 256GB Crucial M4 SSD's, 2X 1TB WD Black, 3x 2TB WD, 3x 2TB Samsung F4, 1.5TB Seagate, WD 500GB,
PSU
Antec True Power New 650watt
Case
Cooler Master HAF-932
Cooling
Corsair H60 Hydro Cooler, 3x 230mm Fans, 2x120mm Fan
Keyboard
Logitech G15 and G13
Mouse
Logitech G700 Gaming Mouse
Internet Speed
50/10 Mbit
Other Info
Speakers : Alesis M1 Active Mk2 Studio Monitors , APC RS 1200 UPS, HP 4500DN Color Laser, HP P1006 mono Laser, Kodak 8500 Dye-Sub, Epson 1280 inkjet, Epson Worforce 610 MFC
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 Computer

Computer Manufacturer/Model Number
Dell Vostro 200
OS
Windows 7 Pro 64 Bit
CPU
Intel Core 2 Duo
Memory
4 GB
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 Computer

OS
Windows 7 Professional 64 bits
CPU
Core i5 750
Motherboard
Gigabyte GA-P55-UD3
Memory
4 Go
Graphics Card(s)
GTX 275
Sound Card
integrated
Monitor(s) Displays
Samsung BW2232
Screen Resolution
1680x1050
Hard Drives
2 WD 250 Go
PSU
Antec 550w
Case
Antec Nine Hundred
Cooling
Zalmann CNPS700C
Keyboard
Cherry (very old)
Mouse
Logitech LX8
Internet Speed
2 Mbps
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 Computer

OS
Win 7 Pro
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 Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
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 Computer

OS
Win 7 Pro
Back
Top