Main Menu

KB#00521-Using 'ENDSPOOL' mode with a SYSPRINT device


Using 'ENDSPOOL' mode with a SYSPRINT device


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 specify 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. 

Last Modified: 12/23/1997 Product: Visual PRO/5 Operating System: Windows

BASIS structures five components of their technology into the BBx Generations.

View BASIS LinkedIN Profile Visit our Twitter Feed Check out our Facebook Public Profile Click to View the BASIS youTube channel