home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form GeneralPrinter
- BackColor = &H8000000F&
- Caption = "General Printer"
- ClientHeight = 3315
- ClientLeft = 210
- ClientTop = 2115
- ClientWidth = 6510
- Height = 3720
- Left = 150
- LinkTopic = "Form1"
- ScaleHeight = 3315
- ScaleWidth = 6510
- Top = 1770
- Visible = 0 'False
- Width = 6630
- Begin CommonDialog CMDialog1
- Left = 4800
- Top = 120
- End
- Begin ccCallback Callback1
- IntVersion = 1
- Left = 5520
- Top = 120
- Type = 1 'AbortProc
- End
- '----------------------------------------------------------------
- 'Copyright 1994 Unger Business Systems All Rights Reserved
- 'This code is distributed as shareware. If you use it, you
- 'are required by law to register it. Please contact Unger
- 'Business Systems at 11926 Barrett Brae, Houston, TX 77072-4004
- 'or call (713) 498-8517. Registration fee is $20.00 US
- 'See the README.TXT file for more information
- 'All code, forms, modules, controls, etc. are provided without
- 'warranty or liability
- '----------------------------------------------------------------
- Option Explicit
- Sub Callback1_AbortProc (hPr As Integer, code As Integer, retval As Integer)
- Dim di%
- ' Call DoEvents so the ' user button press
- 'will be detected
- DoEvents
- If code = SP_OUTOFDISK Or AbortPrinting% Then
- retval = 0
- Exit Sub
- End If
- retval = -1
- End Sub
-