Spread 8.0 Documentation
PrintJobName Property
Support Options
ActiveX Reference > ActiveX Properties > PrintJobName Property

Glossary Item Box

PrintJobName Property


See Also    DLL    Example

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

C++

CString CSpreadSheet::GetPrintJobName( );
void CSpreadSheet::SetPrintJobName(LPCTSTR value);

Visual Basic

[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

Print Properties

PrintSheet method

DLL Correspondence

SSPrint function

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.