Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle Forms 10.1.2.3 and WebUtil 1.0.6 + Java 7 issue

user12073505Aug 20 2013 — edited Aug 21 2013

Since this product is desupported, I figured maybe someone is having the same issue and fixed it.

I have Oracle Forms 10.1.2.3 + Webutil 1.0.6 running on a Solaris 10 server.  We were told we needed to be on Java 7.  Migrated to Java 7 and patched our existing Forms server following various threads on the net.  Forms works well along with reports but certain functionality like the next example does not.

Users log into my product via IE and can print labels directly to a label printer attached to the LPT1 port.  I use WebUtil to open the LPT1 port, send specific code to the label printer, then close the port.

======================

CODE:

procedure SendText (inTxt in varchar2) is
  label_file client_text_io.file_type;
begin
       label_file := client_text_io.fopen ('lpt1', 'a');
      client_text_io.put_line (label_file, inTxt);
      client_text_io.fclose (label_file); 
end SendText;

======================

The open and put_line works...but the fclose causes a WUF-204 error.  This snippet of code is called in a loop to dump X amount of labels direct to the printer.  Anyone found a way to make this work with the same config?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 18 2013
Added on Aug 20 2013
8 comments
657 views