ComputerWizard CDF Libraries:
WizPrint32

Back to Downloads Main Page | Back to the ComputerWizard’s Home Page


ComputerWizard Consulting also creates Custom Defined Function (CDF) libraries for use with DataEase for DOS and DataEase for Windows. CDF libraries can contain one or more special-purpose functions that extend the capabilities of DataEase beyond those provided by Sapphire.

WizPrint32 Printer Control CDF Library
File Name: WizPrint 32 Demo.zip 
Size: 768 KB
Date: 14-May-2003
Type: Shareware, $US 200  per location.
Contact us for developer licensing (for vertical market applications.
On line registration: RegSoftRegisterC.gif (3419 bytes) Click here for registration & payment via RegSoft's secure site. (RegSoft will process your credit card.) After your payment is processed, we will e-mail you a registered version.
The library in this download is fully functional, 15-day trial version; the days don't have to be consecutive, so if you try a function on Monday, and then again on the following Thursday—that's only two days used up. You'll see a reminder screen the first time any function in the library is used in a given DfW session.

Download the zip file to a temporary directory, unzip it, and read the manuals for instructions on installing and using the library.

This Library is a collection of 38 functions (that's twice the number in included in the 16-bit version!) to help you control your printer programatically from within your DFW DQLs. Unlike DataEase for DOS, DataEase’s Windows version depends on the Windows Print Engine—which means that some of the techniques you are familiar with to do “printer magic” are not available.

The download includes a manual (an Adobe PDF file) and a demo application.

Copy the zip file to an empty directory, unzip it and read the manual for installation and registration instructions. This is a fully functional version of the library (although a reminder that it is unregistered will pop up on-screen the first time the library is used in a DFW session).

The functions are in five categories:

Category

Functions

Get Default Printer Data Functions 16
Set Default Printer Data Functions 11
Helper/List Functions 6
Printing Functions 2
Miscellaneous Functions 3

pdficon.gif (426 bytes)  Function List

What functions are in the library?

(new functions are marked with an *)
 
FUNCTION LIST
Function Name What It Does
Get Default Printer Functions
wizGetDefaultPrinterName() Retrieves name of (current) default printer.
wizGetDefaultPrinterDriver() Retrieves the driver name of the current default printer.
wizGetDefaultPrinterPort() Retrieves the port of the current default printer.
wizGetDefaultOrientation()* Retrieves the orientation (portrait vs landscape) of default printer.
wizGetDefaultPaperSize()* Retrieves the paper size code of default paper size of default printer.
wizGetDefaultPaperLength()* Retrieves the paper length of the default paper size of the default printer.
wizGetDefaultPaperWidth()* Retrieves the paper width of the default paper size of the default printer.
wizGetDefaultCopies()* Retrieves the current number of copies setting.
wizGetDefaultMaxCopies()* Retrieves the maximum number of copies that the printer driver can accept for the default printer.
wizGetDefaultBinNumber() Retrieves the current default Bin Number of the default printer.
wizGetDefaultColour()* Retrieves the colour setting (colour or monochrome) for the default printer.
wizGetDefaultDuplex()* Retrieves the duplex setting for the default printer.
wizGetDefaultHRes()* Retrieves the horizontal resolution in dots per inch (DPI) of the default printer.
wizGetDefaultVRes()* Retrieves the vertical resolution in dots per inch (DPI) of the default printer.
wizGetDefaultCollate()* Retrieves the collation settng from the default printer.
wizGetDefaultFormName()* Retrieves the default form name from the default printer.
Set Default Printer Functions
wizSetDefaultPrinter() Sets the default Windows printer.
wizSetDefaultOrientation() Sets the orientation (Portrait or Landscape) in the default printer.
wizSetDefaultPaperCode() Sets the default paper size.
wizSetCustomSize() Sets the default paper size to “Custom” and allows you to set the dimensions. Quite useful in printing labels on dot-matrix printers.
wizSetDefaultCopies() Sets the number of copies in the default printer.
wizSetDefaultQuality()* Sets the print quality (device independent).
wizSetDefaultDPI() Sets the resolution in dots per inch (DPI) in the default printer.
wizSetDefaultBin() Sets the default bin in the default printer.
wizSetDefaultColourMode()* Sets default colour mode in default printer.
wizSetDefaultDuplex() Turns duplexing on or off, selects mode (short edge vs. long edge).
wizSetDefaultCollate()* Sets the collation mode for the printer.
Helper/List Functions
wizCheckPrinter() Checks to see if a printer is actually installed according to Windows on a given PC.
wizListPrinters() Creates an ASCII delimted file with names of all installed printers.
wizListPaperNames() Creates an ASCII delimited file with names of all installed printers, along with the Paper Names and ID Numbers supported by each printer according to the printer driver.
wizListBinNames() Creates an ASCII delimited file with names of all installed printers, along with the Bin Names and ID Numbers supported by each printer according to the printer driver.
wizListResolutions() Creates an ASCII delimited file with names of all installed printers, along with the resolutions supported (in dots per inch (DPI)) supported by each printer according to the printer driver.
wizListForms()* Creates an ASCII delimited file with the names of all installed printers and the form names installed for each printer.
Printing Functions
wizPrintFile()* Prints a selected file to a given port or networked printer.
wizPrintLine()* Sends a single line of text or control codes to a given port or networked printer.
Miscellaneous Functions
wizGetEnvVar() Retrieves a value of an environment variable (like DENAME), but can be used for any DOS environment variable.
wizGetOSVersion()
(modified from 16-bit version)
Identifies the operating system used on the PC; returns a code number.
wizGetOSName()* Identifies the operating system used on the PC; returns descriptive text.
 
Separator Line
Home | Staff | Clients | Products | Downloads | Technical | Site Map
Black Separator Line (994 bytes)

Please send your comments, questions and complaints to the Web Development Department
Copyright © 2002–2005 ComputerWizard Consulting. All rights reserved.
DataEase, DataEase for DOS, DataEase for Windows, DEDOS, DfW, DataEase 6, DataEase 6.x, ComputerWizard, ComputerWizard Consulting, DataEase Consultant, DataEase Consulting, DataEase Distributor, Canadian DataEase distributor, DataEase in Canada, DataEase distributor in Canada, DataEase Canada, DataEase Canada, ComputerLinks, dataease.com, DQL, CDF, CDF Library, CDF Libraries