Please enable JavaScript to view this site.

A-Shell Reference

Reviewed and revised May 2024

xcall MIAMEX, MX_SCRNPIC, flags

MX_SCRNPIC (MIAMEX 65) invokes the text-based screen picture routine to print or capture a picture of the current screen. This is the same routine that is called when you hit Ctrl+P in most input fields, except that here you have the ability to eliminate the pop-up dialog.

Parameters

flags  (Bitmap, 16 bits)  [in]

may be any combination of the following:

Symbol

Value

Meaning

SPICF_APPEND

&h0001

Append screen picture to current picture file, if any. (Otherwise overwrite it.)

SPICF_SPOOL

&h0002

Print the picture file to the default screen picture printer; else just create the print file (in <jobnam>.buf).

SPICF_DIALOG

&h0004

Display the screen picture dialog, otherwise just do the operation silently.

SPICF_DELETE

&h0008

Delete the picture file after printing.

SPICF_DLGOPT

&h0010

Same as option 4 (display dialog) except that it may be overridden

SPICF_STRIP

&h0040

Strips trailing blanks from each line of the output file

SPICF_FINAL

&h0080

Adds "FINAL" to header

SPICF_GUICSV

&h0100

Dump GUI Control Table

Definition file: ashell.def

The default screen picture printer may be set via the PRINTER=p1,p2{,NODLG} statement in miame.ini. The first printer(p1), is the default printer for other print operations, and the second printer, if specified (p2) is the default screen picture printer. If the third parameter is specified as "NODLG", then screen pictures that are requested via the Ctrl+P command will print without displaying the dialog.

See Also

Screen Pictures (GUI version)