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:
Retrieving the path of the printer-driver directory and printer-processor directory
GetPrintProcessorDirectory
..msdn    Add comment     W32 Constants      Translate this page
The GetPrintProcessorDirectory function retrieves the path for the print processor on the specified server.
Code examples:
Retrieving the path of the printer-driver directory and printer-processor directory
Declaration:
BOOL GetPrintProcessorDirectory(
  LPTSTR pName,                // server name
  LPTSTR pEnvironment,         // environment name
  DWORD Level,                 // information level
  LPBYTE pPrintProcessorInfo,  // path buffer
  DWORD cbBuf,                 // size of path buffer
  LPDWORD pcbNeeded            // bytes received or required
);
FoxPro declaration:
DECLARE INTEGER GetPrintProcessorDirectory IN winspool.drv;
    STRING    pName,;
    STRING    pEnvir,;
    INTEGER   Lvl,;
    STRING  @ pPrintProcInfo,;
    INTEGER   cbBuf,;
    INTEGER @ pcbNeeded
Parameters:
pName
[in] Pointer to a null-terminated string that specifies the name of the server. If this parameter is NULL, a local path is returned.

pEnvironment
[in] Pointer to a null-terminated string that specifies the environment (for example, "Windows NT x86", "Windows NT R4000", "Windows NT Alpha_AXP", or "Windows 4.0").

Level
[in] Specifies the structure level. This value must be 1.

pPrintProcessorInfo
[out] Pointer to a buffer that receives the path.

cbBuf
[in] Specifies the size of the buffer pointed to by pPrintProcessorInfo.

pcbNeeded
[out] Pointer to a value that specifies the number of bytes copied if the function succeeds, or the number of bytes required if cbBuf is too small.
Return value:
If the function succeeds, the return value is a nonzero value.
Word Index links for the GetPrintProcessorDirectory :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-12-30 21:31:27
Modified: 2002-12-30 21:33:14
Visited in last 7 days: 24
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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.90.207.75)
14 sec.Function: 'CreateDIBSection'
28 sec.Function: 'DeleteFile'
43 sec.Function: 'bind'
58 sec.Function: 'GetTcpTable'
1.22 min.Function: 'GetNumberOfPhysicalMonitorsFromHMONITOR'
1.47 min.Function: 'GdipTranslateWorldTransform'
1.7 min.Function: 'QueryDosDevice'
1.93 min.Function: 'PathRenameExtension'
2.2 min.Function: 'waveInGetDevCaps'
2.45 min.Function: 'GdipInvertMatrix'
Google
Advertise here!