Titus Information Systems, Inc.

Standard Library
CPrintFile Class

An instance of this class is used by an application to send data directly to a printing device using the Escape function of the display context.  Normally this data is read from a file, but strings, including configuration data, may be sent directly from the application.

CPrintFile::CPrintFile()
This is the constructor.  It initializes the data members.
CPrintFile::~CPrintFile()
This is the destructor.  It releases any allocated data members.
BOOL CPrintFile::Start()
This member function displays a CPrintDialog dialog box to get the printer device and initializes a display context for it.
BOOL CPrintFile::SendFile(CString FileName)
This member function sends the contents of the binary file to the display context initialized with the CPrintFile::Start() member function.  Specify the path name of the output file in FileName.
void CPrintFile::End()
This member function ends the display context initiated with the CPrintFile::Start() member function.


[ CBinaryFile | TCommandLineInfo | CCommaFile | TDateCtrl | CDDE | CDdeClient | CDdeServer ]
[ CDirectoryLocator | CDirectoryDialog | CDirectoryFind | CDirectoryNew | CFileCopy | TFrameWnd ]
[ InterfaceExcel | CMaintFn | CProcDialog | TPrintDialog | CProcPropertyPage ]
[ CProgress | CRegistry | CSDisCreate | CSDisFile | CSDisPage | CSDisView | CTableFile ]
[ CTaskIcon | TPresent | TTime | TDate | TDateTime | CTransferData | TWinApp | CXlTable ]

[ Stand-alone Programs | Standard Library | Conversion Functions | Utility Functions | COBOL Functions ]
[ Windows NT Library | COBOL Library | COBOL Interface | Command Prompt Abbreviations | Purchase Instructions ]

[ Home | Areas of Expertise | "We Do Windows" | Clients and Projects | Software Samples | Package Software Available ]
[ Contact Information | Business Software Philosophy | Church Software Philosophy ]
All contents of this web site are Copyright © Titus Information Systems, Inc., Phoenix, Arizona, U.S.A.