From: atharsagri on
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.

--
Athar Sagri
From: Pegasus [MVP] on


"atharsagri" <atharsagri(a)discussions.microsoft.com> said this in news item
news:354E4B52-F3E2-44FC-80AC-8EA27E28408F(a)microsoft.com...
> 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.
>
> --
> Athar Sagri

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.

From: HeyBub on
atharsagri wrote:
> 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