Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows XP / Remote Desktop / April 2008

Tip: Looking for answers? Try searching our database.

Have a dos program that I want to print remotely

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joe - 19 Mar 2005 19:37 GMT
Would like to start off by saying I know just enough to get myself into
trouble. I have set up remote desktop on my office computer and on my laptop.
Both machines are running xp pro. The remote desktop connection works fine,
and I can print any window programs at the remote location(laptop). I cannot
print from a dos program(the main reason for weeks of trial & error), I am
assuming because it is printing to the lpt1 port at the office machine. How
would I go about redirecting this print command to the laptop @ my house. The
printer is connected directlty to the lpt1 port of the laptop at my home.The
printer is a panasonic kx-p2624.
Any help would be greatly appreciated!
Patrick Rouse - 20 Mar 2005 00:21 GMT
in your RDP session do:

Start -> Run -> cmd.exe -> "net use LPT1: \\tsclient\PrinterName"

> Would like to start off by saying I know just enough to get myself into
> trouble. I have set up remote desktop on my office computer and on my laptop.
[quoted text clipped - 6 lines]
> printer is a panasonic kx-p2624.
> Any help would be greatly appreciated!
Joe - 20 Mar 2005 22:07 GMT
Thanks for the reply, I tried the command but I received the following error
message: system error 66 has occured the network resource type is not
correct. I am entering the following way:
net_use_lpt1:_\\ts(name of my laptop)\printer share name
I also tried inserting the name of the office computer instead of the laptop
name which gave me the same error.
one other thing I noticed is that in checking for the proper sharename for
the printer there are two panasonic printers, of which one says my laptops
name in parenthesis next to it on the office computer. I tried both printer
names both gave same error message.
Any additional help would again be greatly appreciated, like I said I know
just enough to get myself into trouble. Thanks again for the reply

> in your RDP session do:
>
[quoted text clipped - 10 lines]
> > printer is a panasonic kx-p2624.
> > Any help would be greatly appreciated!
Patrick Rouse - 21 Mar 2005 07:24 GMT
When I wrote "\\tsclient", that's exactly what I meant, as this is the UNC
path to the client device for the current session.  If you have the client
printer shared as HPLJ, you'd do :

NET USE LPT1: \\tsclient\HPLJ /persistent /yes

To verify that it's available, browse My Network Places (or Network
Neighborhood) -> Entire Network -> Client Network -> \\tsclient (or \\client
if using Citrix).

> Thanks for the reply, I tried the command but I received the following error
> message: system error 66 has occured the network resource type is not
[quoted text clipped - 23 lines]
> > > printer is a panasonic kx-p2624.
> > > Any help would be greatly appreciated!
Joe - 22 Mar 2005 00:44 GMT
When I tried that command came back with "you used an option with an invalid
value". Just want to verify that I am doing this command line using the
office computer start button when I am logged on using the RDP, not the start
button on my laptop. When I searched (my network neighborhood on the office
machine) there is no option for entire network client network. Am I missing
something. Also I tried a ":" instead of a "/" in front of the yes that came
back with system error 87

> When I wrote "\\tsclient", that's exactly what I meant, as this is the UNC
> path to the client device for the current session.  If you have the client
[quoted text clipped - 33 lines]
> > > > printer is a panasonic kx-p2624.
> > > > Any help would be greatly appreciated!
Joe - 26 Mar 2005 14:55 GMT
Thanks for the time I will keep trying different things until I figure it out.

> When I tried that command came back with "you used an option with an invalid
> value". Just want to verify that I am doing this command line using the
[quoted text clipped - 41 lines]
> > > > > printer is a panasonic kx-p2624.
> > > > > Any help would be greatly appreciated!
Steve Azman - 27 Feb 2008 17:49 GMT
I want/need to do the same thing. Did you ever get this to work?

url:http://www.ureader.com/msg/129477.aspx
Phil Harvey - 21 Apr 2008 20:10 GMT
I have the same Remote Desktop print problem with a dos program.  If you got
a solution I would like to know it.

Phil

url:http://www.ureader.com/msg/129477.aspx
Davide Guolo - 24 Apr 2008 01:37 GMT
Phil,

> I have the same Remote Desktopprintproblem with adosprogram.  If you got
> a solution I would like to know it.

you may want to have a look at this article:
http://www.printfil.com/article/dos-print-windows-terminal-server.htm

Regards,
Davide
Jordan - 28 Feb 2008 02:11 GMT
I had a similar issue with printing locally to a local USB printer from DOS.
What I did was tricked the system into thinking the local shared printer was
a remote printer.

For USB printers like the new deskjets I would share out the printer as
Deskjet and my command to print to it through my DOS apps as though I was on
LPT1 was:

Net use LPT1: \\127.0.0.1\Deskjet

One of the issues I had with mapping LPT1 on XP was that there could not be
a hardware LPT1.  I either had to disable the printer port or adjust the
settings so it was LPT 2 or 3.

Now I guess on the Terminal server you could do something similar and share
out the printer "BlahBlah on HOMECOMPUTER session X" but I think one of the
issues will be that you might have to do it manually each time because
Session X will change depending on when you log in.

"Steve Azman" <blah.blah@fake.fake> wrote in message news:...
> Message-ID: <b47855e1cd61442da936a858fb634e5f@newspe.com>
> X-Mailer: http://www.umailcampaign.com, ip log:216.184.200.114
[quoted text clipped - 7 lines]
>
> url:http://www.ureader.com/msg/129477.aspx
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.