Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Redirecting lpt1 to tcp/ip printer
Message
From
09/11/2006 16:17:33
 
 
To
09/11/2006 15:24:44
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Environment versions
Visual FoxPro:
FoxPro Dos
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01167360
Message ID:
01168556
Views:
16
>thanks... so close!
>
>It looks like the printer is using it's own print server, so I share the printer then:
>
>NET USE LPT1: \\YourWorkstationName\NewSharedPrinterName /persistent:y
>
>when I say
>
>DIR>LPT1 I get an error "Access Denied" on the printer I want to print to,but it works on another printer
>
>any ideas?

As I said earlier, if it's a network-attached printer (i.e. plugs directly into the network via a network cable, not attached to a computer) it has its own print server. The real question is, has a print queue been set up on your Windows server for it already? It's much simpler to use that than to try to connect directly to the printer. In fact your network admin might be denying direct access for security or manageability reasons.

Ask your network admin. If a queue has been set up on the server, get the server name and shared printer (queue) name and you can attach with
NET USE LPT1: \\ServerName\SharedPrinterName /persistent:y
and everything should work fine.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform