int MSpoolTempFile (const char *fname)

Prints a temporary ascii text file in the system printer

Documentation

Prints a temporary ascii text file in the system printer. The file is removed as the printing is done. The print dialog is displayed under Windows. The file is printed in background under DOS, provided that the program periodically gives control to one of the event loop functions.

Returns:
  • MSPOOL_OK on succesful spool starting.
  • MSPOOL_FILE_ERR if an error occurs while opening the file to be spooled.
  • MSPOOL_NOT_READY if the printer is not ready.
  • MSPOOL_FULL_QUEUE if no space is found in the spooling queue.
Parameters:
fname - The name of the file to be printed and then removed.
See Also:
MSpoolFile

alphabetic index hierarchy of classes


MGUI Copyright 1996-2000 Vincenzo Morello

generated by doc++