|
Purpose |
Sends output to the printer | |
|
Old name |
#define print_it prn_print | |
|
Syntax |
void prn_print(new_page) | |
|
Parameters |
int new_page |
Indicates whether a form feed should be sent |
|
Description |
The function prn_print() sends the current contents of the printer stream to the printer. If the parameter new_page is TRUE, a form feed is also sent to the printer. If an error occurs during printing, the global variable print_error is set to a non-zero value. The function dvc_check() is called when the printing has finished. After a call to prn_print(), the printer stream is empty so new calls to form() have to be made. The parameter new_page should be set to 1 (for TRUE) if a form feed is required, or 0 (FALSE) if not. No other values should be passed; this function may be enhanced in future to use other values in this parameter. | |
|
See also |
||