| Platform SDK: Fax Services |
The FAX_PRINT_INFO structure contains the information necessary for the fax server to print a fax transmission. The structure includes sender and recipient data, an optional billing code, and delivery report information.
The SizeOfStruct and RecipientNumber members are required; other members are optional.
typedef struct _FAX_PRINT_INFO {
DWORD SizeOfStruct; // structure size, in bytes
LPCTSTR DocName; // pointer to document name to display
LPCTSTR RecipientName; // pointer to recipient's name
LPCTSTR RecipientNumber; // pointer to recipient's fax number
LPCTSTR SenderName; // pointer to sender's name
LPCTSTR SenderCompany; // pointer to sender's company
LPCTSTR SenderDept; // pointer to sender's department
LPCTSTR SenderBillingCode; // pointer to billing code
LPCTSTR DrProfileName; // e-mail profile for DR or NDR
LPCTSTR DrEmailAddress; // pointer to e-mail address
LPCTSTR OutputFileName; // reserved; must be NULL
} FAX_PRINT_INFO, *PFAX_PRINT_INFO;
A fax client application passes the FAX_PRINT_INFO structure in a call to the FaxStartPrintJob function to start a print job on a specified fax printer. For more information, see Printing a Fax to a Device Context.
You must specify a valid InboundProfile member in the FAX_CONFIGURATION structure before you specify a DrEmailAddress member or a DrProfileName member in the FAX_PRINT_INFO structure. For more information see Enabling MAPI Functionality in a Fax Client Application.
An application typically specifies the DrEmailAddress member instead of the DrProfileName member to use Microsoft Exchange Server technology.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable with BackOffice Small Business Server.
Header: Declared in Winfax.h.
Unicode: Declared as Unicode and ANSI structures.
Fax Service Client Application Programming Interface Overview, Fax Service Client API Structures, FaxStartPrintJob, FAX_CONFIGURATION