Have a Question?
Print

00521: Using ‘ENDSPOOL’ mode with a SYSPRINT device

Title:

Using ‘ENDSPOOL’ mode with a SYSPRINT device

Description:

Three new mnemonics have been added to the sysprint device to enable software control over the printed output: TMARGIN'(val), ‘LMARGIN'(val), and ‘ENDSPOOL’. ‘TMARGIN’ and ‘LMARGIN’ take a decimal value in inches, which specifies the starting position of the first line on the page. Do not use these mnemonics except at the start of a given page, as they adjust the page position at the time they are encountered. 

‘ENDSPOOL’ takes no parameters and forces a Windows print job without software having to do a CLOSE(chan). The advantage is that the print job which does alignment first, does not have to reset the printer after alignment parameters are adjusted correctly, which a CLOSE(chan) forces software to do. 

Table of Contents
Scroll to Top