Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing from DOS Program Running in WIN NT 4.0 Server
Message
De
29/07/1998 19:23:21
 
 
À
28/07/1998 22:56:34
Jocylyn Sy
Freelance Programmer
Cebu, Philippines
Information générale
Forum:
Windows
Catégorie:
Impression
Divers
Thread ID:
00122187
Message ID:
00122528
Vues:
21
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform