Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing from DOS Program Running in WIN NT 4.0 Server
Message
From
29/07/1998 19:23:21
 
 
To
28/07/1998 22:56:34
Jocylyn Sy
Freelance Programmer
Cebu, Philippines
General information
Forum:
Windows
Category:
Printing
Miscellaneous
Thread ID:
00122187
Message ID:
00122528
Views:
22
>Good day,
>
>Presently, I have a DOS program that is being used by a
>company to keep track of sales, inventory, etc...
>
>We are in the transistion period of moving from Novell 3.12
>to Windows NT. Presently, we are utilizing the print server
>capabilities of the Novell 3.12 server.
>
>We are able to print from our Lotus Word Pro program installed
>in the server to our Novell 3.12 printer. However, we are
>unable to print from our DOS program.

You have several solutions available, depending on the operating system you're using. You can capture the printer port within Win95 and WinNT and send it to a remote print device (Control Panel/Printers/Add New Printer dialog, followed by making whatever adjustments you want to the printer properties sheet), and there's always the NET...USE command under DOS with the DOS client (or 95, 98 or NT as well.)

NET USE LPT1 \\SomeMachine\SharedLaser /YES

makes the printer shared by SomeMachine as SharedLaser available as LPT1: on your system. The /YES does not prompt you for input before performing the assignment. /DELETE drops the connection. Try NET USE /? | MORE for details.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform