darren2008 Posted November 14, 2011 Posted November 14, 2011 Hi, We have had an admin XPP machine replaced by a Win7 Pro machine. The XPP machine had a DOS program printing to LPT1 when I tried the following on the Win7 machine:- net use LPT1: \\win7pc\printershare /persistent:yes the command completes but the DOS program doesn't print to the local printer attached to USB001. I've had a look at the config on the XPP machine and within the ports tab of printer properties, both LPT1 & USB ports are ticked which I didn't think was possible. Things yet to try:- 1) Look in BIOS for LPT settings. 2) Issue the NET USE command using elevated permissions. Any advice gratefully received Darren
SYNACK Posted November 14, 2011 Posted November 14, 2011 There was a trick that used to work in XP and Vista that may work but I can't quite remember it. I think it was deleting LPT1 in device manager then setting up a local printer pointing to LPT1 and running that map command. This meant that it found its way indirectly. Dos programs suck.
darren2008 Posted November 14, 2011 Author Posted November 14, 2011 DOS programs do suck. If it's a simple program I may rewrite it in VB but getting the printing working buys me some time. Thanks
Arthur Posted November 15, 2011 Posted November 15, 2011 Have you considered using DosBox or WinPrint?
Michael Posted November 15, 2011 Posted November 15, 2011 Two things I can think of: DOS doesn't like spaces in printer share names Have you tried XP Mode in Windows 7 Pro, Ultimate or Enterprise?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now