dvc_close()

Purpose

Ends printing

Old name

#define end_print() dvc_close(1)

Syntax

void dvc_close(dvc_nr)

Parameters

int dvc_nr

The printer to be terminated

Description

The function dvc_close() releases the printer corresponding to the dvc_nr parameter and/or closes the output file. It calls the function prn_print() as follows:

prn_print(TRUE);

It also sets the global variable pr_started to FALSE.

See also

prn_print(), dvc_open(), dvc_choose()