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:
GDI+: printing image file
GDI+: sending image of FoxPro form to printer
How to print a bitmap file
How to print FoxPro form
How to print FoxPro form -- II
How to print picture stored in enhanced-format metafile (*.emf)
Printing Image File, programmatically set print page orientation to landscape
Printing text with the Escape function
StartDoc
..msdn    Add comment     W32 Constants      Translate this page
The StartDoc function starts a print job.
Code examples:
Printing Image File, programmatically set print page orientation to landscape
How to print FoxPro form
How to print a bitmap file
Printing text with the Escape function
How to print FoxPro form -- II
GDI+: sending image of FoxPro form to printer
How to print picture stored in enhanced-format metafile (*.emf)
GDI+: printing image file
Declaration:
int StartDoc(
  HDC hdc,              // handle to DC
  CONST DOCINFO* lpdi   // contains file names
);
FoxPro declaration:
DECLARE INTEGER StartDoc IN gdi32;
    INTEGER hdc,;
    STRING @ lpdi
Parameters:
hdc
[in] Handle to the device context for the print job.

lpdi
[in] Pointer to a DOCINFO structure containing the name of the document file and the name of the output file.
Return value:
If the function succeeds, the return value is greater than zero. This value is the print job identifier for the document.
Word Index links for the StartDoc :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-09-19 12:00:00
Modified: 2001-11-26 16:03:43
Visited in last 7 days: 80
User Contributed Notes:
Alex | 2006-06-13 04:25:23
Hello,

I have encountered problems with this escape function in Windows98 (in XP it works perfectly). I think there is a problem with all escape functions in Win98.

Does someone know why this happens? Can someone tell me an other way to print in all win OS?

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.221.136.62)
18 sec.Function: 'SCardEstablishContext'
38 sec.Function: 'GetInterfaceInfo'
Function group: 'IP Helper'
57 sec.Function: 'StrDup'
1.27 min.Function: 'UuidCreate'
1.6 min.Function: 'GetDriveType'
1.93 min.Function: 'FindFirstVolume'
2.25 min.Function: 'FileIconInit'
2.6 min.Function: 'CeMoveFile'
2.95 min.Function: 'ConnectToPrinterDlg'
3.28 min.Function: 'WNetGetProviderName'
Function group: 'Windows Networking'
Google
Advertise here!