This is part of the HicEst documentation
Print: Line Printer Output
PRint is an optional keyword to the AXIS, WRITE, or WINDOW functions. It has no stand-alone meaning.
⇾Home
⇾Contents
⇾more Input_Output
⇾ Examples
Bookmarks:
⇾dialog_box_print
⇾print_under_program_control
⇾printer_tool
⇾printing_geometrical_shapes
The
printer_tool
from the toolbar (or Ctrl+P) allow to print directly:
the current script file
list-files opened via
WINDOW
(Title = filename)
modeless dialogs opened by
DLG
(win=...)
pixel prints of a window opened by
WINDOW
(...)
alternative save as bitmap
save a formatted
MatrixExplorer
dialog to file.
To
print_under_program_control
texts, shapes, graphics use
AXIS(..., PRint=n)
! to print graphics
WRITE
(..., PRint=n)
! to print numbers or strings
WINDOW
(..., PRint=n)
! to redirect window output to printer
n = 1: line printer output: add any combination of n that make sense
n = 2: output to screen only
n = 4: Suspend printing
n = 8: Close printer (eject paper)
n = 16: no printer footnote (a combination of script, file, date, time, and page number
n = 32: call font manager first
n = 64: select fixed font
n = 128: print in landscape mode
n = 256: new page
n = 512: white background for
AXIS
generated graphs
n = 1024: call font manager and print setup dialog first
WRITE(PRint=1+64+128+8) list
! select fix font and print list in landscape mode. Close printer when done.
To
printing_geometrical_shapes
(rectangle, ellipse,..):
WRITE(.., PRint=n,
DeCoRation
='decoration-string')
where decoration-string can have comma-separated commands like:
'RA=4,H=20,W=10' for a red (=4, see
Colors
) rectangle, 20 characters high, 10 characters wide
'LS=1' LandScape print
'LS=0' Portrait print (no LandScape)
A
dialog_box_print
can be started from a dialog box button which includes a $P in the button prefix:
DLG( .., Button = '$P:PrintThisDialog')
⇾
Support HicEst
⇾
Impressum
©2000-2019 Georg Petrich, HicEst Instant Prototype Computing. All rights reserved.