5402

From BR Wiki
Jump to navigation Jump to search

Summary:

"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 drivesThe statement that gives the error isEXECUTE "sys "&ENV$("PD")&"SPOOLBAT.BAT "&ENV$("PD")&"print\tempfil."&WSID$&" HP"ENV$("PD") is "E:\WB\" the location of my program filesWSID$ is the workstation session "321"SPOOLBAT.BAT calls a local SPOOLBAT.BAT file with the following statementIF EXISTS C:\WB\SPOOLBAT.BAT C:\WB\SPOOLBAT.BATThe 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"

Cause:

.

Remedy:

.