Home » Developer & Programmer » Forms » Host Command
Host Command [message #84970] Sun, 16 May 2004 19:59 Go to next message
Atul P
Messages: 61
Registered: June 2003
Location: Mumbai-Jakarta
Member

My team is working on a online Billing System.
Now instead of regular Cash resisters that you see in Hyper markets
I am using IBM PC.

Now the point is I have to pass a command to the host system to
Open the Safe cash Box.
The cash Box is connected to Serial Port of the PC.


Following commands are to be passed through the Host command built in of Forms 6i.
 host('mode com1:96,n,8,1')
 host('dir>com1')


When I pass these commands regular through Command Prompt
I can succesfully Open the Safe BOx however when I use the follwing
commands in Oracle Forms 6i then the first statement
is done, Parity and baud rate etc all set
however the second command is not done it gives some error as:
Failed
Ignore, retry etc.....

Does anyone have any idea what to do in this case.

Thanks to all in advance

 

Rgds

Atul P
Re: Host Command [message #84977 is a reply to message #84970] Mon, 17 May 2004 02:25 Go to previous message
rajesh
Messages: 173
Registered: November 1998
Senior Member
Try to write a .bat file and execute it. Might be your problem will be solved.
Previous Topic: Forms Migration
Next Topic: image item manipulation in forms5.0
Goto Forum:
  


Current Time: Mon Jul 08 15:39:57 CDT 2024