Export a text file and then printing it [message #225116] |
Sat, 17 March 2007 17:11 |
Accumed
Messages: 2 Registered: March 2007
|
Junior Member |
|
|
Hello
I create a text file and save it to the root of my machine at
c:\label\pallet.txt
I then issue a host command as follows:
TYPE C:\LABEL\PALLET.TXT > LPT2 (mapped printer)
I get the following message:
FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-302000
If I shell to the OS and type
TYPE C:\LABEL\PALLET.TXT > LPT2 then my label prints
I suspect that when the host command is sent, it perhaps does not like one of the three sysmbols ':' '\' '>' included in the line.
I have experienced a similar situation writing an application in one database where I had to prefix '@' without which the program considered the sysmbol as a reserved symbol... something like this:
TYPE C:@\LABEL@\PALLET.TXT @> LPT2
Any clues? Thank you for your time!
|
|
|
|
|
|