Printing on NT (AREV Specific)
At 10 NOV 1999 07:45:07PM Frank S. Adamo wrote:
]]/PERSISTENT:YES«
I have tried several times to include the above portion in the NET USE: LPT: command, but I always get an error saying that PERSISTENT doesn't exist. Is this the correct spelling and if so, what does it do? I'm assuming that it forces the command to continue to try and retry until the printing is completed.
At 10 NOV 1999 08:10PM Steve Smith wrote:
Frank, from the command prompt on a NT workstation
NET USE /H | more
I you have a mix of NT workstations and Win9x workstations it is better to use
NET USE LPT1 /DELETE
NET USE LPT1: \\{server}\{device sharename}
as the NET.EXE that comes with WIN 9x is different to that on NT.
On NT help is readily available -
Start-Help-Index-PERSISTENT
I would suggest consulting the help for Windows. When that is cryptic (eg. with commands like SETLOCAL which are not intuitive) then do as I do and turn to texts like "Idiot's guide to NT Workstation" - these can be great sources of hints and tips. The website www.jsiinc.com has a NT registry hacks section which also has good tips, and a subscription service with support available for specific problems.
Steve
At 11 NOV 1999 12:45PM Frank S. Adamo wrote:
Thanks for the info on both messages. Though the file server is NT, all the w/s are 95 or 98.
As for your advice, i.e.
NET USE LPT1 /DELETE
NET USE LPT1: \\{server}\{device sharename}
I actually reversed them when there was a need to print to a local printer. I had in my print routine, NET USE LPT1: /DELETE to print to the local printer. Apparently, if no network printer was previously assigned, an unrecoverable error would occur. By assigning a network printer and then deleting it (as shown above, but in reverse order, the users are now able to switch between a network printer and a local printer.
At 13 NOV 1999 04:29AM Steve Smith wrote:
The instructions were in that order because I put a net use in my batch file ahead of AREV.EXE. Glad you got going.
Steve