Hi,
I'm successfully using FP2.6 (DOS) on a PC running Win98 connected to an NT4.0 server. However, I'm now try to use a shiny new win2000 PC connected to the same network and am having difficulties printing from FP.
Previously I used the command:
SET PRINTER TO \\server\queue=LPT1:
SET PRINT ON
? "HELLO"
SET PRINT OFF
SET PRINTER TO
When running with the win2000 PC I now get the error message:
"invalid printer redirection"
To get around this I used the "NET USE LPT1 etc" command to 'capture' a printer port then changed my code to use the command:
SET PRINTER TO LPT1:
SET PRINT ON
? "HELLO"
SET PRINT OFF
SET PRINT OFF
SET PRINTER TO
SET PRINTER TO
This appears to work (with the multiple "PRINT OFF" & "PRINTER TO" commands required to release the job) but it's pretty ugly.
Can anyone explain why my original "SET PRINTER TO \\server\queue=LPT1:" command reports an error on the w2k PC? It even reports the error if I previously use the "NET USE" command.
Thanks in advance
I'm successfully using FP2.6 (DOS) on a PC running Win98 connected to an NT4.0 server. However, I'm now try to use a shiny new win2000 PC connected to the same network and am having difficulties printing from FP.
Previously I used the command:
SET PRINTER TO \\server\queue=LPT1:
SET PRINT ON
? "HELLO"
SET PRINT OFF
SET PRINTER TO
When running with the win2000 PC I now get the error message:
"invalid printer redirection"
To get around this I used the "NET USE LPT1 etc" command to 'capture' a printer port then changed my code to use the command:
SET PRINTER TO LPT1:
SET PRINT ON
? "HELLO"
SET PRINT OFF
SET PRINT OFF
SET PRINTER TO
SET PRINTER TO
This appears to work (with the multiple "PRINT OFF" & "PRINTER TO" commands required to release the job) but it's pretty ugly.
Can anyone explain why my original "SET PRINTER TO \\server\queue=LPT1:" command reports an error on the w2k PC? It even reports the error if I previously use the "NET USE" command.
Thanks in advance