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:
Enumerating print processors and supporting data types installed on the specified server
EnumPrintProcessorDatatypes
..msdn    Add comment     W32 Constants      Translate this page
The EnumPrintProcessorDatatypes function enumerates the data types that a specified print processor supports.
Code examples:
Enumerating print processors and supporting data types installed on the specified server
Declaration:
BOOL EnumPrintProcessorDatatypes(
  LPTSTR pName,                // printer server name
  LPTSTR pPrintProcessorName,  // print processor name
  DWORD Level,                 // information level
  LPBYTE pDatatypes,           // processor data buffer
  DWORD cbBuf,                 // size of data buffer
  LPDWORD pcbNeeded,           // bytes received or required
  LPDWORD pcReturned           // number of processors
);
FoxPro declaration:
DECLARE INTEGER EnumPrintProcessorDatatypes IN winspool.drv;
    STRING    pName,;
    STRING    pPrnProcName,;
    INTEGER   Level,;
    STRING  @ pDatatypes,;
    INTEGER   cbBuf,;
    INTEGER @ pcbNeeded,;
    INTEGER @ pcReturned
Parameters:
pName
[in] Pointer to a null-terminated string that specifies the name of the server on which the print processor resides.

pPrintProcessorName
[in] Pointer to a null-terminated string that specifies the name of the print processor whose data types are enumerated.

Level
[in] Specifies the type of information returned in the pDatatypes buffer. This parameter must be 1.

pDatatypes
[out] Pointer to a buffer that receives an array of DATATYPES_INFO_1 structures.

cbBuf
[in] Specifies the size, in bytes, of the buffer pointed to by pDatatypes.

pcbNeeded
[out] Pointer to a variable that receives the number of bytes copied to the pDatatypes buffer if the function succeeds.

pcReturned
[out] Pointer to a variable that receives the number of structures returned in the pDatatypes buffer.
Return value:
If the function succeeds, the return value is a nonzero value.
Word Index links for the EnumPrintProcessorDatatypes :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-08-15 10:50:07
Modified: 2002-08-15 10:51:57
Visited in last 7 days: 20
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.167.202.184)
3 sec.Function: 'CreateDC'
8 sec.Function: 'NetLocalGroupEnum'
12 sec.Function: 'CreateStreamOnHGlobal'
16 sec.Function: 'InternetFindNextFile'
20 sec.Function: 'GdipGetImagePalette'
25 sec.Function: 'SetEndOfFile'
29 sec.Function: 'ObtainUserAgentString'
34 sec.Function: 'SHFormatDrive'
38 sec.Function: 'GetNumberOfEventLogRecords'
43 sec.Function: 'ToAscii'
Google
Advertise here!