" When working on an XP computer with data files on a remote host I build
a graph file and then attempt to copy the built file to a printer attached to
the XP computer I receive a 5402 error. I can go to a system prompt on
the XP and copy the file that was created to the printer just fine, but BR gives
me the error consistently. I have done a checkdisk on the XP drives
The statement that gives the error is EXECUTE "sys "&ENV$("PD")&"SPOOLBAT.BAT
"&ENV$("PD")&"print\tempfil."&WSID$&" HP" ENV$("PD") is "E:\WB\"
the location of my program files WSID$ is the workstation session "321"
SPOOLBAT.BAT calls a local SPOOLBAT.BAT file with the following statement
IF EXISTS C:\WB\SPOOLBAT.BAT C:\WB\SPOOLBAT.BAT The local SPOOLBAT.BAT then
executes as follows "COPY /b %1 LPT1:" My understanding is that the 5402
error happens before the first shell call is completed " -George Tisdale |