send graphics to a Postscript printer or in a file
xbasimp(win_num) xbasimp(win_num, filen) xbasimp(win_num, filen, printer)
integer scalar or vector
string, Postscript file name (default value is "file"). The
window number is appended to filen
.
string, printer name. If printer
is present or if
there is only one argument in the calling sequence, the created file
is printed on printer printer
.
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
.
Version | Description |
5.0 | xbasimp was published up to Scilab 5.0.
It is replaced with toprint and
xs2ps. |