home *** CD-ROM | disk | FTP | other *** search
- #include <sybfront.h>
- #include <sybdb.h>
- #include <sybfrs.h>
-
- #if MSDOS
- # include "aforms.h"
- #endif /* MSDOS */
-
- /*
- ** PRINTFORM - Print the form to the default printer.
- **
- ** The user has selected the "Print Form" menu option.
- */
-
- printform(context, argarray)
- FRSCONTEXT *context;
- POINTER argarray[];
- {
- /*
- ** Print the form with a header -- today's date and form title.
- */
-
- if ( fsprint( fscurform(context), FRS_HEADER) == SUCCEED)
- {
- fsmessage("The order will be printed.");
- }
- else
- {
- fsmessage("Unable to print the order.");
- }
- return;
- }
-