Re: [U2] How do you verify windows printer is good before fatal error by PRINTing to a bogus printer.
Jeff Schasny <[email protected]>
| Newsgroups | gmane.comp.db.u2.general |
|---|---|
| Message-ID | <[email protected]> |
SPOOL -LIST will show you all the print queue names 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 > [email protected] > http://listserver.u2ug.org/mailman/listinfo/u2-users > . > -- ------------------------------------------------------------------------ Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ------------------------------------------------------------------------ _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users