Using Win32 functions in Visual FoxPro Image Gallery
Printing and Print Spooler
..msdn
AddPort
AddPrinter
ClosePrinter
ConfigurePort
ConnectToPrinterDlg
DeletePort
DeviceCapabilities
DocumentProperties
EndDoc
EndPage
EnumForms
EnumJobs
EnumPorts
EnumPrinterData
EnumPrinterDrivers
EnumPrinters
EnumPrintProcessorDatatypes
EnumPrintProcessors
Escape
FindClosePrinterChangeNotification
FindFirstPrinterChangeNotification
FindNextPrinterChangeNotification
FreePrinterNotifyInfo
GetDefaultPrinter
GetPrinter
GetPrinterData
GetPrinterDriverDirectory
GetPrintProcessorDirectory
OpenPrinter
PrinterProperties
SetDefaultPrinter
SetJob
SetPrinter
StartDoc
StartPage
Code examples:
Simple printer queue monitor: deletes, pauses, resumes print jobs for local printer
Simple printer queue monitor: deletes, pauses, resumes print jobs for local printer

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
More code examples    Listed functions    Add comment     W32 Constants      Translate this page Printer friendly version of this code sample
Before you begin:

Job ID, status, and document name are on the list, retrieved with the EnumJobs function (JOB_INFO_1 structure is used).

* * *
See also:
  • Using Change Notification Objects to monitor changes to the printer or print server.

  • How to delete all print jobs for a printer
  • Retrieving default spooling directory name
  • How to retrieve the number of print jobs queued for the printer

  •  
      Members area. Log in to view this example.
     
      User name:
      Password:
     
     
      Forgot your password?
     
      Sign up for
    the Membership
     
     


    User rating: 0/10 (0 votes)
    Rate this code sample:
    • ~
    6713 bytes  
    Created: 2003-01-20 16:57:47  
    Modified: 2011-12-10 09:20:22  
    Visits in 7 days: 153  
    Listed functions:
    ClosePrinter
    EnumJobs
    GetLastError
    GetProfileString
    GetVersion
    GlobalAlloc
    GlobalFree
    OpenPrinter
    SetJob
    Printer friendly API declarations
    Word Index links for this example:
    Translate this page:
      Spanish    Portuguese    German    French    Italian  
    FreeTranslation.com offers instant, free translations of text or web pages.
    User Contributed Notes:
    There are no notes on this subject.


    Copyright © 2001-2013 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

    Privacy policy
    Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
    Last Topics Visited (54.224.79.93)
    5.19 hrs.Function: 'OpenEvent'
     Example: 'Reading and setting explicit Application User Model ID for the current process (Win7)'
    11.45 hrs.Example: 'Current keyboard type'
     Example: 'Using the ChooseColor function'
     Function: 'MAPISendDocuments'
    Function group: 'Simple MAPI'
    12.81 hrs.Function: 'SetThreadDesktop'
    Function group: 'Window Station and Desktop'
     Function: 'DeleteObject'
    Function group: 'Device Context'
    16.07 hrs.Example: 'Retrieveing information about the active window (even if it is not owned by the calling process)'
    1 day(s)Example: 'Converting image file to .ICO file'
     Function: 'EndTask'
    Google
    Advertise here!