Printing to LPT1 Port

A

atharsagri

Hi,

we are using one old DOS application where it prints only in LPT1 port. So
we have one system in the domain which is connected directly to the Parallel
laser printer. This printer is shared in the network. At the client side we
make use of NET USE lpt1://computer_name/share_name to dump the print jobs
from that DOS based application.

In our network all systems are XP prof. and are in USER mode. User cannot
change any windows parameters. If the client is in USER mode, this NET USE
commad does not MAP the LPT1 port of the shared printer in the network. In
this case, we have to make the user as ADMINISTRATOR for his system to dump
the print jobs using NET USE command.

We want clients to be USER privelage ONLY. Please let us know if there is
some other way to solve this problem.

Thanks.
 
P

Pegasus [MVP]

atharsagri said:
Hi,

we are using one old DOS application where it prints only in LPT1 port. So
we have one system in the domain which is connected directly to the
Parallel
laser printer. This printer is shared in the network. At the client side
we
make use of NET USE lpt1://computer_name/share_name to dump the print jobs
from that DOS based application.

In our network all systems are XP prof. and are in USER mode. User cannot
change any windows parameters. If the client is in USER mode, this NET USE
commad does not MAP the LPT1 port of the shared printer in the network. In
this case, we have to make the user as ADMINISTRATOR for his system to
dump
the print jobs using NET USE command.

We want clients to be USER privelage ONLY. Please let us know if there is
some other way to solve this problem.

Thanks.

I would try this (untested!):
1. Elevate the user's privileges.
2. Log on as the user.
3. Type the following commands:
net use /persistent:yes
net use lpt1://computer_name/share_name
4. Drop the user's privileges.
5. Log off, then on again.
The shared connection should now be remembered.
 
H

HeyBub

atharsagri said:
Hi,

we are using one old DOS application where it prints only in LPT1
port. So we have one system in the domain which is connected directly
to the Parallel laser printer. This printer is shared in the network.
At the client side we make use of NET USE
lpt1://computer_name/share_name to dump the print jobs from that DOS
based application.

In our network all systems are XP prof. and are in USER mode. User
cannot change any windows parameters. If the client is in USER mode,
this NET USE commad does not MAP the LPT1 port of the shared printer
in the network. In this case, we have to make the user as
ADMINISTRATOR for his system to dump the print jobs using NET USE
command.

We want clients to be USER privelage ONLY. Please let us know if
there is some other way to solve this problem.

There are several ways:

1. Check a program called RPV (Report Program Viewer) and similar

2. See http://support.microsoft.com/kb/314499
 

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