home *** CD-ROM | disk | FTP | other *** search
- /* This program, ssprint.c, created by Delrina, prints the selected */
- /* session, as if you selected File|Print. */
-
- /* $Revision: 1.2 $ */
- /* $Date: 06 Apr 1993 17:04:52 $ */
-
- /* Define main function, which is always the starting point of C programs. */
- /* (The term "void" indicates that the function returns no value.) */
- void main ()
- {
- /* Declares a variable and initializes it to zero. */
- long ScriptHandle = 0;
-
- /* Establish a link between this script program and Delrina WinComm PRO */
- ScriptHandle = dcInitialize(0, 0, 0, 0);
-
- /* Exit if intialization of link with Delrina WinComm PRO failed */
- if (ScriptHandle == 0) exit();
-
- /* Same as selecting File from menu bar, then Print from File menu */
- dcMenuString(ScriptHandle, "FP");
-
- /* Terminate link between Delrina WinComm PRO and script program */
- dcTerminate(ScriptHandle, 0);
- }
-
-