Download GSPrinter v1.1
Use:
Free for all GameStudio projects without restrictions.
Disclaimer: If it blows up your machine it's not our fault.
Installation:
Unzip gsprinter.wdl into your templates directory.
Unzip GSPrinter.dll into your work directory.
Publishing:
You will have to copy the DLL manually to your .cd directory when you publish.
Versions:
9/27/2002 -- v1.1 -- Changed things around. Not compatible with v1.01. Added image print.
9/25/2002 -- v1.01 -- Added Printer_LoadTextFile().
9/24/2002 -- v1.0 -- Released.
Usage:
See gsprinter.wdl for a list of functions and their parameters.
Functions:
// GSPrinter v1.1
// All return 1 if error else returns 0.
// _PrintTextDocW will pop a printer dialog box, _PrintTextDocF will NOT pop a printer dialog box.
// Create
dllfunction Printer_Create();
// filename is in the directory with the A5 exe
dllfunction Printer_LoadTextFile(filename);
// filename is in the directory with the A5 exe
dllfunction Printer_PrintImageFile(filename);
// Input your text to print. Printer_SetTextDoc(""); to clear.
dllfunction Printer_SetTextDoc(docstring);
// If running A5 in a window use this function to print. Pass a document caption as captionstr.
dllfunction Printer_PrintTextDocW(captionstr);
// If running A5 fullscreen use this function to print. Pass a document caption as captionstr.
dllfunction Printer_PrintTextDocF(captionstr);
// Free
dllfunction Printer_Free();
|