General discussion

Locked

Printing from DOS to a network printer

By nhoek ·
I am tryin to set a printer up to be able to print from a DOS program to a Printer that is on our network. It is connected VIA Jet Direct.

Any ideas?

This conversation is currently closed to new comments.

12 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Printing from DOS to a network printer

by ewgny In reply to Printing from DOS to a ne ...

net use lpt1 \\servername\printername /p:y

Collapse -

Printing from DOS to a network printer

by ewgny In reply to Printing from DOS to a ne ...

net use lpt1: \servername\printername /persistent /y

the persistent switch will keep the lpt1 mapped if desired

Collapse -

Printing from DOS to a network printer

by nhoek In reply to Printing from DOS to a ne ...

Its not shared off a server, its on a jet direct with an IP address.

Collapse -

Printing from DOS to a network printer

by sgt_shultz In reply to Printing from DOS to a ne ...

the above answer will work if you are running your DOS program from a DOS shell inside windows. otherwise, you will need to install a DOS network client. those are available from the windows nt server disk in the clients folder. you will need your DOS drivers for your NIC (get the ones that say NDIS or WFW311 or DOS). does this help? tell us more if not..

Collapse -

Printing from DOS to a network printer

by nhoek In reply to Printing from DOS to a ne ...

Poster rated this answer

Collapse -

Printing from DOS to a network printer

by curlergirl In reply to Printing from DOS to a ne ...

IF YOU ARE USING A WINDOWS OS (9x,ME,NT/2K/XP): The printer has to have a server or workstation acting as a print spooler in order to run on the network. In order to print from a DOS windows, you need to install the printer on the workstation under Windows first by using Add Printer. If there is already a server or workstation set up to act as the print spooler for this printer, then you can select "network printer" in the add printer wizard and connect that way. If there is no other machine acting as the print spooler for this printer, or if you want the workstation to be able to print directly to the printer rather than using another machine to spool to, then you must install the appropriate drivers for the printer locally. If it's an HP printer, which I assume it is, you should have available somewhere a CD with all the drivers on it for the various OS's that you might have on your workstation. The easiest way to install the printer is to use this CD, because it will also install the appropriate printer port software on the local workstation. Once the printer is installed and working properly from Windows, then you can use the "net use lpt" command to map the LPT port to the printer. NOTE: If you are on WinXP and the user is NOT a local administrator, then you MUST use LPT2; LPT1 cannot be mapped from an XP machine to a Windows printer except by an administrator.

OK - if it's a DOS machine (no Windows OS at all), then as the previous answer pointed out, you need the DOS network client first.

Hope this helps!

Collapse -

Printing from DOS to a network printer

by nhoek In reply to Printing from DOS to a ne ...

Poster rated this answer

Collapse -

Printing from DOS to a network printer

by ewgny In reply to Printing from DOS to a ne ...

Just use the CD that came with the Jetdirect card, install the printer on the PC you are running the Dos program and it will print !!

Collapse -

Printing from DOS to a network printer

by nhoek In reply to Printing from DOS to a ne ...

Poster rated this answer

Collapse -

Printing from DOS to a network printer

by acontract In reply to Printing from DOS to a ne ...

I have the same issue but with a print server hub instead of a jet direct. I have tried the Net Use command and it didn't work. Any help would be greatly appreciated!

Back to Networks Forum
12 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums