Printing from a DOS program on windows 2000 client to a network printer

S

Sidhan R

We have an old DOS based program. It supports only LPT port printing. This
program is spread over our windows 2000 professional/XP professional client
machines. In windows 98 or windows 95 we have an option to capture printer
port.(ie \\computername\printer can be mapped to LPT1). But this option is
not available with windows 2000 onwards operating system. May be I am not
aware of this.

I hope you have understood the case with us. I will be extremely happy to
receive a proper suggestion from you.
 
G

Guest

In windows 98 or windows 95 we have an option to capture printer
port.(ie \\computername\printer can be mapped to LPT1). But this option is
not available with windows 2000 onwards operating system. May be I am not
aware of this.

Try
NET USE LPT1: \\computername\printer
from the command line.

Ciao, Walter
 
S

smile

Using 95, 98 and 2000, just used this basic command and my dos program
worked fine. We are a novell shop just for info and the users hav
network access to these printers.

capture lpt1 q=hp-5si-hr-q nff nb ti=5

Mad a batch file, put it in the startup folder and most of the time n
problems. Everyonce in a while, need to just click the batch file whil
in windows.







This-line-intentionally-left-blank said:
*> In windows 98 or windows 95 we have an option to capture printer

Try
NET USE LPT1: \\computername\printer
from the command line.

Ciao, Walter


-
smil
 
G

Guest

Using 95, 98 and 2000, just used this basic command and my dos programs
worked fine. We are a novell shop just for info and the users have
network access to these printers.

capture lpt1 q=hp-5si-hr-q nff nb ti=5

Capture is a Novell Utility and able to handle NetWare-style queued
printers. I cannot see that NCP will be helpful to communicate to ressources
accessible by SMB/CIFS only.

Ciao, Walter
 
J

jinfeld

Sidhan said:
*We have an old DOS based program. It supports only LPT port
printing. This
program is spread over our windows 2000 professional/XP professional
client
machines. In windows 98 or windows 95 we have an option to capture
printer
port.(ie \\computername\printer can be mapped to LPT1). But this
option is
not available with windows 2000 onwards operating system. May be I am
not
aware of this.

I hope you have understood the case with us. I will be extremely
happy to
receive a proper suggestion from you. *

From the command prompt (Start -> Run -> cmd)
Type: NET USE LPT1 \\server\printer /P:Yes

Type NET USE to confirm what is hooked up
Type Net USE /? for an explanation of the options
J
 
A

Alan Morris [MSFT]

this will work for 2000 and XP for admin users. It will not work in XP as a
normal user. 2000 you can do this as normal user.

Use LPT1:

XP workarounds
http://support.microsoft.com/default.aspx?scid=kb;en-us;313644&Product=winxp
Non-Administrators Cannot Remap an LPT Port to a Network Printer

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top