Re: Printing (file io) from Informix SPL
Posted in 1997
Peter sylvester wrote: > > cvbryan wrote: > > > > Any thoughts on printing or writing data to a file from within an > > informix stored procedure. > > > > Thanks in advance > > Its not pretty, but you could do something like: > system('echo "blah blah blah ..." >> myfile'); > system('lp myfile'); > > Note that each system call is expensive, taking about a 1/2 second or > so. So why not do it in one? :-) -- Mark. +----------------------------------------------------------+-----------+ |Mark D. Stock - Informix SA http://www.informix.com |//////// /| |mailto:mdstock@informix.com FAQ http://www.iiug.org |///// / //| | +-----------------------------------+//// / ///| | Tel: +27 11 807 0313 |If it's slow, the users complain. |/// / ////| | Fax: +27 11 807 2594 |If it's fast, the users keep quiet.|// / /////| |Cell: +27 83 250 2325 |Therefore, "No news: travels fast"!|/ ////////| +----------------------+-----------------------------------+-----------+