wuf-209 failed in Forms 64bit (11.1.2.1.0)
tillieMar 22 2013 — edited Mar 25 2013We are using webutil to try to write to the local LPT1 printer from our form.
When we execute:
WebUtil_File.Copy_File('c:users\temp\brick.txt', 'LPT1');
The file copy happens to the attached printer, but the "WUF-209: Copy file failed" error pops up. I believe that we had the message happened when we were in the previous version of forms, but it did not pop up, you only saw it in the java console.
Now this message pops up and users would have to acknoledge it. Everything seems to be working correctly, we just get this popup.
1) What is causing the WUF-209 error? why does it popup now?
or
2) is there some way to supress this error?
I know that the best answer is to fix it, but how? Right now I would be happy with a work around so it doesn't popup.
Thanks for any suggestions you might have.
Edited by: tillie on Mar 25, 2013 9:10 AM
Turns out we have an issue with our client_tex_io.fclose, it appears that the command does not appear to be closing the file, therefore when we try to copy the file to the printer it is a zero sized file and doesn't go. What we are doing at the moment is copying the file onto istself with WebUtil_File.Copy_File('c:users\temp\brick.txt', 'c:users\temp\brick.txt'); and then using a spool cmd to send it to the attached label printer.