I have typed
"net use lpt6 \\workstation\canon"
If I type in a dos box
"dir > lpt6"
the directory is printed on the expected printer.
when I run the clipper app with the code
"set printer on
set printer to lpt6"
@ 2,2 say 'Hello'
set printer to
set printer off"
I get "Error Term/2014 Dos error 87 Cant create file C:\dir_name\lpt6.prn"
I have capture lpt ports on win95/98 before without problems. What is the
problem with NT?
--
Tony James
e-mail: tony...@hotkey.net.au
The difference is between CMD.EXE and COMMAND.COM, one supports LPTs above
LPT3 and the other doesn't.
Starting your app from an icon on the Desktop you get COMMAND.COM as the
underliying default DOS shell, by opening the 'Command Prompt' on the Menu
you CMD.EXE as your default shell.
I haven't tried the following as yet, I just thought about it as I was
writing this and I don't know if it'll work for you or anybody else<g>.
If you run your app from a .BAT file you get CMD.EXE as your shell (CMIIW).
You will probably have to delete any PIF file that's related to you app as
this would fire up COMMAND.COM and run it in that (sub)shell.
If you try it let the NG know how you go.
HTH
--
Steve Quinn
BRUTE Computer Services - Australia
http://www.brutecom.com.au
Tony James wrote in message ...