Re: Printing directly to ASCII text

pradeepmp

Member
Re: Printing directly to ASCII text

Jessie,

In oneworld we print to a ASCII text file using "database output"
functionality of UBE. You can map a particular folder and create a text file
with specific name, map the required columns and run the UBE.
Once the UBE is run locally, you'll see the output on the mapped folder.
Database Output option is under menu "section".

I don't know whether you are looking for this.

Pradeep.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
 

W_Herdes

Member
RE: Printing directly to ASCII text

You can print text to a ascii-file with the business function "Write One Line To Flat File".
To print it directly a possibility is using notepad (although the font etc. is not perfect):

If PO PrintData is equal to "1"
VA evt_CommandLine_VAR1 = concat("Notepad.exe /p ",[VA rpt_FilePath_EFRM] )
Execute External Program
UNDEFINED -> cSuppressErrorMessage
UNDEFINED <- cErrorCode
UNDEFINED <- szErrorMessageId
VA evt_CommandLine_VAR1 -> szCommandLine
End If


Walter.

-----Original Message-
 
Top