The Spool -List only lists universe print queues
It doesn't like printers on the network.
When we create a new printer on our network, we have to go into Universe and 
add the queue and link the two to each other.



-----Original Message-----
From: Wols Lists <antli...@youngman.org.uk>
To: u2-users <u2-users@listserver.u2ug.org>
Sent: Tue, Jan 28, 2014 8:19 am
Subject: Re: [U2] How do you verify windows printer is good before fatal error 
by PRINTing to a bogus printer.


On 28/01/14 15:07, Jeff Schasny wrote:
> SPOOL -LIST will show you all the print queue names

Is that all the printer names known to U2, or all the printer names
known to the network?

In Chuck's example, this particular printer will never have been
declared to U2 - I did this all the time. The only printer UV was told
about was DEFAULT, which didn't exist ...

In fact, I suspect this syntax will list all the printers known to the
server on which U2 is running, which could easily NOT include a valid
printer the user is trying to print to ...

Cheers,
Wol
> 
> Charles Stevenson wrote:
>> SETPTR 0,80,60,3,3,1,AT \\BAD\NAME
>> seems to execute w/o throwing an error.
>> but an actual PRINT statement yields a fatal error:
>>
>>    Program "PRT": Line 2, Printer name \\BAD\PRINTERNAME is not
>> recognized by the system.
>>
>> I'd like to verify we're printing to a good printer *before*
>> attempting to do so.
>> Execute some DOS command, maybe?
>>
>> _______________________________________________
>> U2-Users mailing list
>> U2-Users@listserver.u2ug.org
>> http://listserver.u2ug.org/mailman/listinfo/u2-users
>> .
>>
> 

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

 
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to