Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - English

Change language to:
Français - 日本語 - Português

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> GUI > toprint

toprint

Send text or figure to the printer.

Calling Sequence

toprint(filename)
toprint(linestoprint,pageheader)
toprint(figid)
toprint(figid,output)
status = toprint(filename)
status = toprint(linestoprint,pageheader)
status = toprint(figid)
status = toprint(figid,output)

Arguments

filename

String: path of the text file to be printed.

linestoprint

String matrix: text to be printed, each entry is a line in printed pages.

pageheader

String: header of printed pages.

figid

Real: the id of the figure to be printed.

output

String: printing output type, must be "pos" for PostScript or "gdi" for Bitmap format ("gdi" by default).

status

Boolean: %T if the printing succeeds, %F otherwise.

Description

Prints a text file, Scilab character strings or figure.

Examples

toprint(SCI+"/etc/scilab.start");
toprint(['Test','toprint primitive'],'Scilab page header');
scf(4);
plot();
toprint(4);
toprint(4,"pos");

See Also

Authors

  • A.C.
  • V.C.
<< toolbar GUI uicontrol >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:10:01 CEST 2011