SYNOPSIS
#include <curses.h>
int mcprint(char *data, int len);
DESCRIPTION
This function uses the mc5p or mc4 and mc5 capabilities, if they are present, to ship given data to a printer attached to the terminal.
Note that the
RETURN VALUES
The
- ENODEV
-
Capabilities for printer redirection don't exist.
- ENOMEM
-
Couldn't allocate sufficient memory to buffer the printer write.
When
PORTABILITY
The
BUGS
Padding in the mc5p, mc4, and mc5 capabilities will not be interpreted.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
curses()
PTC MKS Toolkit 10.4 Documentation Build 39.