Calling DOS from FORMS 10g and printing [message #17195] |
Wed, 29 December 2004 08:37 |
Todd Farino
Messages: 1 Registered: December 2004
|
Junior Member |
|
|
I need to Call DOS from Forms, and I can't find a DOS command for PL/SQL. Am I a former VGL programmer and I am coverting code from VGL to SQL, and the VGL command to print to a selected printer was:
dos_cmd = "lpr -S ":ip_address:" -P ":ASCII(34):print_queue:ASCII(34):" ":printer
SPAWN dos_cmd,stat QUIETLY
I just need to know what I can use instead of "dos_cmd"
Also, I would like to print only text generated by the code. Again, VGL calls this command LITERAL
Example
LITERAL
Testing a literal command
ENDLITERAL
The result would be printed:
Testing a literal command
The user will only see the text on the print out.
|
|
|