home *** CD-ROM | disk | FTP | other *** search
-
- PROGRAM UTILITY
- ===================
-
- DPrint is a little bit of source code programed with Turbo Pascal for
- Windows working for Window 3.x . DPrint is a unit displaying a printer
- selection box and has one interesting function. It is called
-
- function PrinterSetup (ParWnd : HWnd) : boolean;
-
- and will display a listbox with all available printers. 'ParWnd' is the
- handle of the window that calles this function.
-
- - You can select then a printer by pressing "Print". The selected printer
- will then be updated for Windows and set as the CURRENT printer.
- The function will return TRUE and the dialog-box will be closed.
-
- - You can cancel the selection by pressing "Cancel". Nothing will be
- changed, the dialog-box will be closed and the function will return
- FALSE.
-
- - You can click "Setup" and the printer dialog-box will apear. The function
- is not returning yet.
-
- - You can click "Control" and Window's CONTROL.EXE will be executed.
-
- You only have to compile this code to use this unit. Therefor the source-
- code has to be copied in one of the UNIT-Directories and the resource-
- file to one of the RESOURCE- or UNIT-Directories.
-
- Just include the unit and call the function PrinterSetup when needed.
- A little sample program is included in this package.
-
-
- It would be great if those who like this copy will e-mail their
- public-domain-programs for Windows 3.0 (instead of paying a fee). I
- have a lot but not enough.
-
- Those who like to included this code in their commercial products should
- contact Phade Software to talk about a licence agreement !!!
-
- Have fun :-)
-
- Phade
-
-
- HISTORY
- =========
-
- Version 1.01 - 16/6/92
-
- - Function strtoc wasn't defined. Fixed.
- - DPrint crashed, when no printer was activ. Fixed.
- - Realized, that DPrint is not testing if a printer is correctly
- installed.
-
-
- COPYRIGHT
- =============
-
- Copyright (c) 1992 by
-
- PHADE SOFTWARE
- Inh. Frank Gadegast
- Leibnizstrasse 30
- 1000 Berlin 12 GERMANY
-
- Access: phade@cs.tu-berlin.de
-
- Permission to use, copy, modify, and distribute this
- software and its documentation for any purpose and without
- fee is hereby granted, provided that this copyright notice
- will appear in all copies and as long as you don't try to
- make money off it, or pretend that you wrote it.
-
-