PrintJobName Property
Applies To
fpSpread control
Description
Sets or returns the print job name displayed in the Print Manager when printing a sheet. This property is available at run time only.
Syntax
CString CSpreadSheet::GetPrintJobName( );
void CSpreadSheet::SetPrintJobName(LPCTSTR value);
[form.]fpSpread.PrintJobName[ = text$]
Remarks
The PrintJobName property lets the user identify the print job.
The default text for the PrintJobName property is an empty string. This property is set for the workbook, and its setting is used for any sheets printed from the workbook. If you want to have different settings for different sheets, you must reset this property before printing each sheet.
Set the PrintJobName property before you use the PrintSheet method to print the spreadsheet.
Spread Designer
Choose the Book menu, then the Environment menu, select the Environment tab, and then type text in the Job Name edit box in the Settings group box in the Book Settings dialog box.
Data Type
String
See Also
PrintSheet method
DLL Correspondence
SSPrint function