xbasimp - send graphics to a Postscript printer or in a file
xbasimp sends the recorded graphics of the window win_num into the Postscript file filen. Note that the generated Postscript file cannot be direcly printed since it requires a header file. The Scilab command BEpsf, Blpr or others can be used to add a header file. The function xs2eps can be used to directly produce an encapsulated Postscript file with an header. If a printer is specified, the Postscript file is printed with the command Blpr. This function works only if the selected driver is "Rec".
If win_num is a vector, several files are generated, one for each selected window (with names filenxx), and the files are printed on a unique page with the command Blpr.
The window number is appended to filen.