>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