DBSCREENOUT
Posted in 1993
> > I posted an article about two weeks ago (No response) asking if anyone > has any info on $DBSCREENOUT. I want to use the output > to go to a printer vice a file? > > Does anyone know what I am talking about ($DBSCREENOUT)? > what i do is the following: main call open_screen_dump() other stuff call close_screen_dump() end main where the functions are: function open_screen_dump() sets the DBSCREENOUT env to some file name end function function close_screen_dump() mails the file named by DBSCREENOUT back to the user end function this could be modified to create a named pipe and use a script that reads from the pipe, outputs to the printer, and then recreates the pipe again. this all assumes a unix environment. hope this helps, ------------------------------------------------------------------------------ | . . Bob Baskett | ... ... Software Engineer, DBA | ..... ..... Business Systems Integration Group | .. ... .. Semiconductor Products Sector | . . . Mesa, AZ | | Motorola, Inc ------------------------------------------------------------------------------ Sun 690-MP Informix Versions: Online - 5.00.UC2 ISQL - 4.10.UD1 4GL-RDS- 4.10.UC1 ------------------------------------------------------------------------------