InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPrintData Class Referenceabstract

#include <IPrintData.h>

Inheritance diagram for IPrintData:
IPMUnknown

Classes

class  Notification
 

Public Types

enum  { kDefaultIID = IID_IPRINTDATA }
 
enum  Id {
  kInvalidId = -1, kDeviceTypeId = 1, kStyleNameId, kPrintToId,
  kPrinterId, kFileNameId, kPPDNameId, kPPDFileId,
  kPSLangLevelId, kResolutionId, kPaperSizeId, kImageablePaperSizeId,
  kPaperSizeSelectionId, kPaperSizeNameId, kCustomPaperWidthId, kDeviceCustomPaperWidthRangeId,
  kCustomPaperHeightId, kDeviceCustomPaperHeightRangeId, kCustomPaperOffsetId, kDeviceCustomPaperWidthOffsetRangeId,
  kCustomPaperGapId, kPaperOrientationId, kPageOrientationId, kProxyPageSizeId,
  kProxySpreadSizeId, kCopiesId, kCollateId, kReverseOrderId,
  kFlipModeId, kNegativeId, kPrintBlankPagesId, kPrintNonPrintingObjectsId,
  kWhichPagesId, kPageRangeId, kPrintOptionId, kSpreadsId,
  kOutputModeId, kPrintColorsInBlackId, kShowSaveDialogId, kCompositeAngleId,
  kCompositeFrequencyId, kCompositeScreenTextId, kSeparationScreenTextId, kScaleModeId,
  kProportionalId, kXScaleId, kYScaleId, kPagePositionId,
  kPrintLayersId, kTileThumbModeId, kTileThumbModeTileId, kTileThumbModeThumbId,
  kTilingModeId, kTilingOverlapId, kNumberOfThumbsPerPageId, kImageDataId,
  kImageDataFormatId, kOPIReplacementId, kOmitEPSId, kOmitPDFId,
  kOmitImagesId, kFontDownloadId, kDownloadPPDFontsId, kPageMarkFileId,
  kMarkLineWeightId, kPageMarkOffsetId, kCropMarksId, kPageInformationId,
  kColorBarsId, kRegistrationMarksId, kBleedMarksId, kUseDocumentBleedId,
  kBleedChainId, kBleedTopId, kBleedInsideId, kBleedBottomId,
  kBleedOutsideId, kIncludeSlugId, kTrappingModeId, kSourceSpaceId,
  kProfileTypeId, kPrinterProfileId, kProofProfileLabelId, kProofProfileTextId,
  kSimPaperColorId, kProfileNameId, kCRDTypeId, kCRDNameId,
  kIntentId, kPreserveColorNumbersId, kSpotOverPrintId, kPrintWYSIWYGGridsGuidesId,
  kCJKFilterContentId, kCJKPrintTextId, kCJKPrintPageItemsId, kCJKPrintLayoutGridsId,
  kCJKPrintFrameGridsId, kCJKPrintFrameGridViewId, kCJKOnlyPrintFrameGridWhenEmptyId, kCJKFrameGridStrokeWeightId,
  kCJKLayoutGridStrokeWeightId, kCyanPrintInkId, kCyanFrequencyId, kCyanAngleId,
  kMagentaPrintInkId, kMagentaFrequencyId, kMagentaAngleId, kYellowPrintInkId,
  kYellowFrequencyId, kYellowAngleId, kBlackPrintInkId, kBlackFrequencyId,
  kBlackAngleId, kSpotFrequencyId, kSpotAngleId, kFlattenerStyleUIDId,
  kFlattenerStyleNameId, kIgnoreSpreadOverridesId, kScopeId, kPaperSizeSelectorId,
  kBitmapPrintingId, kBitmapResolutionId, kPDFPassthroughModeId, kLastId
}
 
enum  {
  kPostScriptDeviceType = 0, kNonPostScriptDeviceType, kPrinter = 0, kVirtualPrinter,
  kPrepressFile, kEPSFile, kPSLangLevel_all = 1, kPSLangLevel_2,
  kPSLangLevel_3, kPaperSizeDefinedByUser = -1, kPaperSizeDefinedByDriver = -2, kPaperSizeDefinedByName = -3,
  kCustomPaperSizeAuto = -1, kNormal = 0, kTransverse, kPortrait = 0,
  kLandscape, kReversePortrait, kReverseLandscape, kFlipOff = 0,
  kFlipHorizontal, kFlipVertical, kFlipBoth, kAllPages = 0,
  kPageRange, kCurrentPage, kBothPages = 0, kEvenPagesOnly,
  kOddPagesOnly, kCompositeGray = 0, kCompositeRGB, kCompositeCMYK,
  kSeparationBuiltIn, kSeparationInRIP, kCompositeLeaveUnchanged, kScaleToFit = 0,
  kScaleXAndY, kPagePositionUpperLeft = 0, kPagePositionCenterHorizontally, kPagePositionCenterVertically,
  kPagePositionCentered, kPrintAllLayers = 0, kPrintVisibleLayers, kPrintVisiblePrintableLayers,
  kTileThumbOff = 0, kTiling, kThumbnails, kTilingAutomatic = 0,
  kTilingManual, kTilingAutoJustified, kImageDataAll = 0, kImageDataOptimized,
  kImageDataLoRez, kImageDataProofPrint, kImageDataBinary = 0, kImageDataASCII,
  kFontDownloadNone = 0, kFontDownloadComplete, kFontDownloadSubset, kFontDownloadSubsetLrg,
  kTrappingNone = 0, kTrappingBuiltIn, kTrappingInRIP, kDocumentSourceSpace = 0,
  kProofSourceSpace, kPerceptual = 0, kSaturation, kRelativeColorimetric,
  kAbsoluteColorimetric, kLegacy = 0, kSimulatePress, kSimulateScreen,
  kUsePostScriptCMS = 0, kUseDocumentProfile, kUseWorkingProfile, kUseSpecificProfile,
  kUseNoCMS, kUseNoCRD = 0, kUseDocumentCRD, kUseWorkingCRD,
  kUseSpecificCRD, kScopeDocument = 0, kScopeMaster, kMarkLineWeight125pt = 0,
  kMarkLineWeight25pt, kMarkLineWeight50pt, kMarkLineWeight05mm, kMarkLineWeight07mm,
  kMarkLineWeight10mm, kMarkLineWeight15mm, kMarkLineWeight20mm, kMarkLineWeight30mm,
  kBitmapResolution_72 = 0, kBitmapResolution_150, kBitmapResolution_300, kBitmapResolution_600,
  kBitmapResolutionMinimum = 72, kBitmapResolutionMaximum = 1200, kBitmapResolutionDefault_R = 300, kBitmapResolutionDefault_J = 600,
  kDontCare = ((int32)-32767)
}
 

Public Member Functions

virtual void CopyData (IPrintData *copyFromPD, bool16 bCopyPrintRecord=kFalse)=0
 
virtual bool16 VerifyStyle ()=0
 
virtual void InitializeForEPS (IEPSExportPreferences *iEPSExPreferences)=0
 
virtual void Normalize ()=0
 
virtual void Validate (bool16 updateStates=kTrue)=0
 
virtual bool16 Verify ()=0
 
virtual bool16 IsLocked (Id id) const =0
 
virtual bool16 IsRelevant (Id id) const =0
 
virtual void BeginUnvalidatedUpdate () const =0
 
virtual void EndUnvalidatedUpdate (bool16 notify=kTrue, bool16 updateStates=kTrue)=0
 
virtual void Notify (Notification &notification) const =0
 
virtual IXferBytesCreatePrintRecordStream (void)=0
 
virtual IXferBytesGetPrintRecordStream (void)=0
 
virtual void DeletePrintRecordStream (void)=0
 
virtual void SetDeviceType (const int32 deviceType)=0
 
virtual void SetStyleName (const PMString &styleName)=0
 
virtual void SetPrintTo (const int32 printTo)=0
 
virtual void SetPrinter (const PMString &printer)=0
 
virtual void SetFileName (const PMString &fileName)=0
 
virtual void SetPPDName (const PMString &ppdName)=0
 
virtual void SetPPDFile (const PMString &ppdName)=0
 
virtual void SetPSLangLevel (const int32 psLangLevel)=0
 
virtual void SetResolution (const PMReal &resolution)=0
 
virtual void SetPaperSize (const PMRect &paperSize)=0
 
virtual void SetImageablePaperSize (const PMRect &imageablePaperSize)=0
 
virtual void SetPaperSizeSelection (const int32 paperSizeSelection)=0
 
virtual void SetPaperSizeName (const PMString &paperSizeName)=0
 
virtual void SetCustomPaperWidth (const PMReal &customPaperWidth)=0
 
virtual void SetDeviceCustomPaperWidthRange (const PMReal &minWidth, const PMReal &maxWidth)=0
 
virtual void SetCustomPaperHeight (const PMReal &customPaperHeight)=0
 
virtual void SetDeviceCustomPaperHeightRange (const PMReal &minHeight, const PMReal &maxHeight)=0
 
virtual void SetCustomPaperOffset (const PMReal &customPaperOffset)=0
 
virtual void SetDeviceCustomPaperWidthOffsetRange (const PMReal &nOffsetMin, const PMReal &nOffsetMax)=0
 
virtual void SetCustomPaperGap (const PMReal &customPaperGap)=0
 
virtual void SetPaperOrientation (const int32 paperOrientation)=0
 
virtual void SetPageOrientation (const int32 pageOrientation)=0
 
virtual void SetProxyPageSize (const uint32 proxyPageWidth, const uint32 proxyPageHeight)=0
 
virtual void SetProxySpreadSize (const uint32 proxySpreadWidth, const uint32 proxySpreadHeight)=0
 
virtual void SetCopies (const int32 copies)=0
 
virtual void SetCollate (const bool16 collate)=0
 
virtual void SetReverseOrder (const bool16 reverseOrder)=0
 
virtual void SetFlipMode (const int32 flipMode)=0
 
virtual void SetNegative (const bool16 negative)=0
 
virtual void SetPrintBlankPages (const bool16 printBlankPages)=0
 
virtual void SetPrintNonPrintingObjects (const bool16 printNonPrintingObjects)=0
 
virtual void SetWhichPages (const int32 whichPages)=0
 
virtual void SetPageRange (const PMString &pageRange)=0
 
virtual void SetPrintOption (const int32 printOption)=0
 
virtual void SetSpreads (const bool16 spreads)=0
 
virtual void SetOutputMode (const int32 outputMode)=0
 
virtual void SetPrintColorsInBlack (const bool16 printColorsInBlack)=0
 
virtual void SetShowSaveDialog (const bool16 showSaveDialog)=0
 
virtual void SetCompositeAngle (const PMReal &compositeAngle)=0
 
virtual void SetCompositeFrequency (const PMReal &compositeFrequency)=0
 
virtual void SetCompositeScreenText (const PMString &compositeScreenStr)=0
 
virtual void SetSeparationScreenText (const PMString &sepScreenStr)=0
 
virtual void SetScaleMode (const int32 scaleMode)=0
 
virtual void SetProportional (const bool16 proportional)=0
 
virtual void SetXScale (const PMReal &xScale)=0
 
virtual void SetYScale (const PMReal &yScale)=0
 
virtual void SetPagePosition (const int32 pagePosition)=0
 
virtual void SetPrintLayers (const int32 printLayers)=0
 
virtual void SetTileThumbMode (const int32 tileThumbMode)=0
 
virtual void SetTilingMode (const int32 tilingMode)=0
 
virtual void SetTilingOverlap (const PMReal &tilingOverlap)=0
 
virtual void SetNumberOfThumbsPerPage (const int32 numberOfThumbsPerPage)=0
 
virtual void SetImageData (const int32 imageData)=0
 
virtual void SetImageDataFormat (const int32 imageDataFormat)=0
 
virtual void SetBitmapPrinting (const bool16 bitmapPrinting)=0
 
virtual void SetBitmapResolution (const int32 bitmapResolution)=0
 
virtual void SetOPIReplacement (const bool16 opiReplacement)=0
 
virtual void SetOmitEPS (const bool16 omitEPS)=0
 
virtual void SetOmitPDF (const bool16 omitPDF)=0
 
virtual void SetOmitImages (const bool16 omitImages)=0
 
virtual void SetFontDownload (const int32 fontDownload)=0
 
virtual void SetDownloadPPDFonts (const bool16 downloadPPDFonts)=0
 
virtual void SetPageMarkFile (const PMString &pageMarkFile)=0
 
virtual void SetMarkLineWeight (const int32 markLineWeight)=0
 
virtual void SetPageMarkOffset (const PMReal &pageMarkOffset)=0
 
virtual void SetCropMarks (const bool16 cropMarks)=0
 
virtual void SetPageInformation (const bool16 pageInformation)=0
 
virtual void SetColorBars (const bool16 colorBars)=0
 
virtual void SetRegistrationMarks (const bool16 registrationMarks)=0
 
virtual void SetBleedMarks (const bool16 bleedMarks)=0
 
virtual void SetUseDocumentBleed (const bool16 useDocumentBleed)=0
 
virtual void SetBleedTop (const PMReal &bleedTop)=0
 
virtual void SetBleedChain (const bool16 bleedChain)=0
 
virtual void SetBleedInside (const PMReal &bleedInside)=0
 
virtual void SetBleedBottom (const PMReal &bleedBottom)=0
 
virtual void SetBleedOutside (const PMReal &bleedOutside)=0
 
virtual void SetIncludeSlug (const bool16 includeSlug)=0
 
virtual void SetTrappingMode (const int32 trappingMode)=0
 
virtual void SetSourceSpace (const int32 sourceSpace)=0
 
virtual void SetProfileType (const int32 profileType)=0
 
virtual void SetProfileName (const PMString &profileName)=0
 
virtual void SetCRDType (const int32 crdType)=0
 
virtual void SetCRDName (const PMString &crdName)=0
 
virtual void SetIntent (const int32 intent)=0
 
virtual void SetSpotOverPrint (int32 spotOverPrint)=0
 
virtual void SetPrintWYSIWYGGridsGuides (bool16 printWYSIWYGGridsGuides)=0
 
virtual void SetCJKFilterContent (bool16 filter)=0
 
virtual void SetCJKPrintText (bool16 printText)=0
 
virtual void SetCJKPrintPageItems (bool16 printPageItems)=0
 
virtual void SetCJKPrintLayoutGrids (bool16 printLayoutGrids)=0
 
virtual void SetCJKPrintFrameGrids (bool16 printFrameGrids)=0
 
virtual void SetCJKPrintFrameGridView (int32 viewNumber)=0
 
virtual void SetCJKOnlyPrintFrameGridWhenEmpty (bool16 whenEmpty)=0
 
virtual void SetCJKFrameGridStrokeWeight (const PMReal &points)=0
 
virtual void SetCJKLayoutGridStrokeWeight (const PMReal &points)=0
 
virtual void SetCyanPrintInk (bool16 cyanPrintInk)=0
 
virtual void SetCyanFrequency (const PMReal &cyanFrequency)=0
 
virtual void SetCyanAngle (const PMReal &cyanAngle)=0
 
virtual void SetMagentaPrintInk (bool16 magentaPrintInk)=0
 
virtual void SetMagentaFrequency (const PMReal &magentaFrequency)=0
 
virtual void SetMagentaAngle (const PMReal &magentaAngle)=0
 
virtual void SetYellowPrintInk (bool16 yellowPrintInk)=0
 
virtual void SetYellowFrequency (const PMReal &yellowFrequency)=0
 
virtual void SetYellowAngle (const PMReal &yellowAngle)=0
 
virtual void SetBlackPrintInk (bool16 blackPrintInk)=0
 
virtual void SetBlackFrequency (const PMReal &blackFrequency)=0
 
virtual void SetBlackAngle (const PMReal &blackAngle)=0
 
virtual void SetSpotFrequency (const PMReal &spotFrequency)=0
 
virtual void SetSpotAngle (const PMReal &spotAngle)=0
 
virtual void SetFlattenerStyleName (const PMString &strName)=0
 
virtual void SetIgnoreSpreadOverrides (bool16 ignoreSpreadOverrides)=0
 
virtual void SetScope (const int32 scope)=0
 
virtual void SetPaperSizeSelector (uchar *inData, uint32 inSize)=0
 
virtual void SetPreserveColorNumbers (bool16 preserveColorNumbers)=0
 
virtual bool16 GetIsDefaultValues () const =0
 
virtual int32 GetDeviceType () const =0
 
virtual PMString GetStyleName () const =0
 
virtual int32 GetPrintTo () const =0
 
virtual PMString GetPrinter () const =0
 
virtual PMString GetFileName () const =0
 
virtual PMString GetPPDName () const =0
 
virtual PMString GetPPDFile () const =0
 
virtual int32 GetPSLangLevel () const =0
 
virtual PMReal GetResolution () const =0
 
virtual PMRect GetPaperSize () const =0
 
virtual PMRect GetImageablePaperSize () const =0
 
virtual int32 GetPaperSizeSelection () const =0
 
virtual PMString GetPaperSizeName () const =0
 
virtual PMReal GetCustomPaperWidth () const =0
 
virtual void GetDeviceCustomPaperWidthRange (PMReal &outMinWidth, PMReal &outMaxWidth) const =0
 
virtual PMReal GetCustomPaperHeight () const =0
 
virtual void GetDeviceCustomPaperHeightRange (PMReal &outMinHeight, PMReal &outMaxHeight) const =0
 
virtual PMReal GetCustomPaperOffset () const =0
 
virtual void GetDeviceCustomPaperWidthOffsetRange (PMReal &outMin, PMReal &outMax) const =0
 
virtual PMReal GetCustomPaperGap () const =0
 
virtual int32 GetPaperOrientation () const =0
 
virtual int32 GetPageOrientation () const =0
 
virtual bool16 IsPageOrientationLikePortrait () const =0
 
virtual bool16 IsPageOrientationLikePortraitOnDevice () const =0
 
virtual uint32 GetProxyPageWidth () const =0
 
virtual uint32 GetProxyPageHeight () const =0
 
virtual uint32 GetProxySpreadWidth () const =0
 
virtual uint32 GetProxySpreadHeight () const =0
 
virtual int32 GetCopies () const =0
 
virtual bool16 GetCollate () const =0
 
virtual bool16 GetReverseOrder () const =0
 
virtual int32 GetFlipMode () const =0
 
virtual bool16 GetNegative () const =0
 
virtual bool16 GetPrintBlankPages () const =0
 
virtual bool16 GetPrintNonPrintingObjects () const =0
 
virtual int32 GetWhichPages () const =0
 
virtual PMString GetPageRange () const =0
 
virtual int32 GetPrintOption () const =0
 
virtual bool16 GetSpreads () const =0
 
virtual int32 GetOutputMode () const =0
 
virtual bool16 GetPrintColorsInBlack () const =0
 
virtual bool16 GetShowSaveDialog () const =0
 
virtual PMReal GetCompositeAngle () const =0
 
virtual PMReal GetCompositeFrequency () const =0
 
virtual PMString GetCompositeScreenText () const =0
 
virtual PMString GetSeparationScreenText () const =0
 
virtual int32 GetScaleMode () const =0
 
virtual bool16 GetProportional () const =0
 
virtual PMReal GetXScale () const =0
 
virtual PMReal GetYScale () const =0
 
virtual int32 GetPagePosition () const =0
 
virtual int32 GetPrintLayers () const =0
 
virtual int32 GetTileThumbMode () const =0
 
virtual int32 GetTilingMode () const =0
 
virtual PMReal GetTilingOverlap () const =0
 
virtual int32 GetNumberOfThumbsPerPage () const =0
 
virtual int32 GetImageData () const =0
 
virtual int32 GetImageDataFormat () const =0
 
virtual bool16 GetBitmapPrinting () const =0
 
virtual int32 GetBitmapResolution () const =0
 
virtual bool16 GetOPIReplacement () const =0
 
virtual bool16 GetOmitEPS () const =0
 
virtual bool16 GetOmitPDF () const =0
 
virtual bool16 GetOmitImages () const =0
 
virtual int32 GetFontDownload () const =0
 
virtual bool16 GetDownloadPPDFonts () const =0
 
virtual PMString GetPageMarkFile () const =0
 
virtual int32 GetMarkLineWeight () const =0
 
virtual PMReal GetPageMarkOffset () const =0
 
virtual bool16 GetCropMarks () const =0
 
virtual bool16 GetPageInformation () const =0
 
virtual bool16 GetColorBars () const =0
 
virtual bool16 GetRegistrationMarks () const =0
 
virtual bool16 GetBleedMarks () const =0
 
virtual bool16 GetUseDocumentBleed () const =0
 
virtual PMReal GetBleedTop () const =0
 
virtual bool16 GetBleedChain () const =0
 
virtual PMReal GetBleedInside () const =0
 
virtual PMReal GetBleedBottom () const =0
 
virtual PMReal GetBleedOutside () const =0
 
virtual bool16 GetIncludeSlug () const =0
 
virtual int32 GetTrappingMode () const =0
 
virtual int32 GetSourceSpace () const =0
 
virtual int32 GetProfileType () const =0
 
virtual PMString GetProfileName () const =0
 
virtual int32 GetCRDType () const =0
 
virtual PMString GetCRDName () const =0
 
virtual int32 GetIntent () const =0
 
virtual int32 GetSpotOverPrint () const =0
 
virtual bool16 GetPrintWYSIWYGGridsGuides () const =0
 
virtual bool16 GetCJKFilterContent (void) const =0
 
virtual bool16 GetCJKPrintText () const =0
 
virtual bool16 GetCJKPrintPageItems () const =0
 
virtual bool16 GetCJKPrintLayoutGrids () const =0
 
virtual bool16 GetCJKPrintFrameGrids () const =0
 
virtual bool16 GetCJKOnlyPrintFrameGridWhenEmpty () const =0
 
virtual int32 GetCJKPrintFrameGridView () const =0
 
virtual PMReal GetCJKFrameGridStrokeWeight () const =0
 
virtual PMReal GetCJKLayoutGridStrokeWeight () const =0
 
virtual bool16 GetCyanPrintInk () const =0
 
virtual PMReal GetCyanFrequency () const =0
 
virtual PMReal GetCyanAngle () const =0
 
virtual bool16 GetMagentaPrintInk () const =0
 
virtual PMReal GetMagentaFrequency () const =0
 
virtual PMReal GetMagentaAngle () const =0
 
virtual bool16 GetYellowPrintInk () const =0
 
virtual PMReal GetYellowFrequency () const =0
 
virtual PMReal GetYellowAngle () const =0
 
virtual bool16 GetBlackPrintInk () const =0
 
virtual PMReal GetBlackFrequency () const =0
 
virtual PMReal GetBlackAngle () const =0
 
virtual PMReal GetSpotFrequency () const =0
 
virtual PMReal GetSpotAngle () const =0
 
virtual UID GetFlattenerStyleUID () const =0
 
virtual PMString GetFlattenerStyleName (bool16 translateName=kTrue) const =0
 
virtual bool16 GetIgnoreSpreadOverrides () const =0
 
virtual int32 GetScope () const =0
 
virtual uchar * GetPaperSizeSelector (uint32 &outSize) const =0
 
virtual bool16 GetPreserveColorNumbers () const =0
 
virtual IGenericSettings_GetSettings (const IPrintDialogData *pDlgData, bool16 bWorkingOnStyle, int32 nSpreadsPerPage, UIDRef &uidDoc) const =0
 
virtual bool16 GetPDFPassthroughMode () const =0
 
virtual void SetPDFPassthroughMode (bool16 pdfPassthrough)=0
 
virtual bool16 IsIPPPDFPassthroughEnabled () const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Interface that contains data items used to configure InDesign to print documents and books. The interface supports the management of print data item values by provide set and get methods for all the print settings.

In addition to a value, every print data item has two states that affect its behavior and appearance in the InDesign Print UI, and its behavior in InDesign's Print scripting. The locked and relevant states only affect the way a print data item is presented to the user, and do not impose any restrictions on the internal workings of the print data interface.

Locked items are assumed to have a single value that is relevant within the current print data context. The value of a locked item is viewable by a user, but cannot be changed via direct user interaction.

Non-relevant items are assumed to have no relevant value within the current print data context. The value of a non-relevant item is not viewable by a user, and cannot be changed via direct user interaction.

Member Enumeration Documentation

anonymous enum

Valid settings for each print data item.

Identifiers that uniquely identify all print data items. The identifiers are used by IPrintData when notifying clients of item value and state changes. Clients also use the identifiers to get the current locked and relevant state of a print data item.

Member Function Documentation

virtual IGenericSettings* IPrintData::_GetSettings (const IPrintDialogDatapDlgData,
bool16 bWorkingOnStyle,
int32 nSpreadsPerPage,
UIDRefuidDoc 
) const
pure virtual

Convert the print data to a more general form. Used in generating the Summary panel.

Parameters
pDlgDataIN IPrintDialogData pointer
bWorkingOnStyleIN kTrue if working on a printer style, kFalse otherwise
nSpreadsPerPageIN number of spread per page
uidDocIN UIDReference to the document
Returns
IGenericSettings pointer
See Also
ISummaryUtils, IGenericSettings and IPrintDialogData
virtual void IPrintData::BeginUnvalidatedUpdate () const
pure virtual

Suppresses validation and notification of print data value and state changes. Used when several print data items need to be updated simultaneously and the print data may temporarily be in an invalid context. For example, when changing printers.

virtual void IPrintData::CopyData (IPrintDatacopyFromPD,
bool16 bCopyPrintRecord = kFalse 
)
pure virtual

Copy all settings from another PrintData to this one.

Parameters
copyFromPDIN denotes the PrintData to copy from
bCopyPrintRecordIN whether to copy the PrintRecord data as well. Defaults to kFalse, pass kTrue to copy the PrintRecord data.
virtual IXferBytes* IPrintData::CreatePrintRecordStream (void )
pure virtual

Create a new print record stream - an opaque stream

Returns
pointer to IXferBytes of the print record stream
virtual void IPrintData::DeletePrintRecordStream (void )
pure virtual

Delete the print record stream

virtual void IPrintData::EndUnvalidatedUpdate (bool16 notify = kTrue,
bool16 updateStates = kTrue 
)
pure virtual

Stops suppressing the validation and notification of print data value and state changes.

Parameters
notifyIN denotes whether to notify print data clients with an "update all" notification. Pass kTrue to notify, else kFalse.
updateStatesIN denotes whether to update the states of the print data items. Pass kTrue to update states, else kFalse.
virtual bool16 IPrintData::GetBitmapPrinting () const
pure virtual

Get if printing using bitmap

Returns
kTrue if bitmap printing, kFalse otherwise
virtual int32 IPrintData::GetBitmapResolution () const
pure virtual

Get the bitmap printing resolution value

Returns
int32 of the bitmap resolution value. If set using IPrintData::kBitmapResolution_300, this will return the value 300, not kBitmapResolution_300.
virtual PMReal IPrintData::GetBlackAngle () const
pure virtual

Get the Black ink angle value

Returns
PMReal of the Black ink angle value
virtual PMReal IPrintData::GetBlackFrequency () const
pure virtual

Get the Black ink frequency value

Returns
PMReal of the Black ink frequency value
virtual bool16 IPrintData::GetBlackPrintInk () const
pure virtual

Get if printing the Black ink

Returns
kTrue if printing the Black ink, kFalse otherwise
virtual PMReal IPrintData::GetBleedBottom () const
pure virtual

Get the bleed value for the bottom edge

Returns
PMReal of the bottom bleed value.
virtual bool16 IPrintData::GetBleedChain () const
pure virtual

Get if the bleed values are chained together

Returns
kTrue if the bleed values are chained, kFalse otherwise
virtual PMReal IPrintData::GetBleedInside () const
pure virtual

Get the bleed value for the inside edge - that is the edge closest to the binding for facing pages. This is the left side if printing spreads, or if there is not facing pages.

Returns
PMReal of the inside bleed value.
virtual bool16 IPrintData::GetBleedMarks () const
pure virtual

Get if printing bleed marks

Returns
kTrue if printing bleed marks, kFalse otherwise
virtual PMReal IPrintData::GetBleedOutside () const
pure virtual

Get the bleed value for the outside edge - that is the edge farthest from the binding for facing pages. This is the right side if printing spreads, or if there is not facing pages.

Returns
PMReal of the outside bleed value.
virtual PMReal IPrintData::GetBleedTop () const
pure virtual

Get the bleed value for the top edge

Returns
PMReal of the top bleed value.
virtual bool16 IPrintData::GetCJKFilterContent (void ) const
pure virtual

Get if filtering port contents - CJK specific

Returns
kTrue if filtering, kFalse otherwise
See Also
IPrintContentPrefs
virtual PMReal IPrintData::GetCJKFrameGridStrokeWeight () const
pure virtual

Get the frame grid stroke weight - CJK specific

Returns
PMReal of the frame grid stroke weight
See Also
IPrintContentPrefs
virtual PMReal IPrintData::GetCJKLayoutGridStrokeWeight () const
pure virtual

Get the layout grid stroke weight - CJK specific

Returns
PMReal of the layout grid stroke weight
See Also
IPrintContentPrefs
virtual bool16 IPrintData::GetCJKOnlyPrintFrameGridWhenEmpty () const
pure virtual

Get if printing frame grid when empty - CJK specific

Returns
kTrue if printing frame grid when empty, kFalse otherwise
See Also
IPrintContentPrefs
virtual bool16 IPrintData::GetCJKPrintFrameGrids () const
pure virtual

Get if printing frame grids - CJK specific

Returns
kTrue if printing frame grids, kFalse otherwise
See Also
IPrintContentPrefs
virtual int32 IPrintData::GetCJKPrintFrameGridView () const
pure virtual

Get the print frame grid view - CJK specific

Returns
frame grid view
See Also
IPrintContentPrefs GridView
virtual bool16 IPrintData::GetCJKPrintLayoutGrids () const
pure virtual

Get if printing layout grids - CJK specific

Returns
kTrue if printing layout grids, kFalse otherwise
See Also
IPrintContentPrefs
virtual bool16 IPrintData::GetCJKPrintPageItems () const
pure virtual

Get if printing page items - CJK specific

Returns
kTrue if printing page items, kFalse otherwise
See Also
IPrintContentPrefs
virtual bool16 IPrintData::GetCJKPrintText () const
pure virtual

Get if printing text - CJK specific

Returns
kTrue if printing text, kFalse otherwise
See Also
IPrintContentPrefs
virtual bool16 IPrintData::GetCollate () const
pure virtual

Get if collating or not

Returns
kTrue if collate, kFalse otherwise
virtual bool16 IPrintData::GetColorBars () const
pure virtual

Get if printing color bars

Returns
kTrue if printing color bars, kFalse otherwise
virtual PMReal IPrintData::GetCompositeAngle () const
pure virtual

Get the composite angle amount

Returns
PMReal of the composite angle value.
virtual PMReal IPrintData::GetCompositeFrequency () const
pure virtual

Get the composite frequency amount

Returns
PMReal of the composite frequency value.
virtual PMString IPrintData::GetCompositeScreenText () const
pure virtual

Get the composite screening text

Returns
PMString of the composite screening text. This can be "kDefault" or if kCompositeGray is color output mode, "kCustom"
virtual int32 IPrintData::GetCopies () const
pure virtual

Get the number of copies

Returns
number of copies
virtual PMString IPrintData::GetCRDName () const
pure virtual

Get the CRD name for color management - only applicable if CRD type is kUseSpecificCRD

Returns
PMString of the name of the CRD
virtual int32 IPrintData::GetCRDType () const
pure virtual

Get the CRD type for color management

Returns
one of kUseNoCRD, kUseDocumentCRD, kUseWorkingCRD, kUseSpecificCRD
virtual bool16 IPrintData::GetCropMarks () const
pure virtual

Get if printing crop marks

Returns
kTrue if printing crop marks, kFalse otherwise
virtual PMReal IPrintData::GetCustomPaperGap () const
pure virtual

Get the custom paper size gap amount. This is only applicable if the paper size selection is kPaperSizeDefinedByUser

Returns
PMReal of the custom paper size gap.
virtual PMReal IPrintData::GetCustomPaperHeight () const
pure virtual

Get the custom paper size height. This is only applicable if the paper size selection is kPaperSizeDefinedByUser

Returns
PMReal of the custom paper size height. This can be kCustomPaperSizeAuto.
virtual PMReal IPrintData::GetCustomPaperOffset () const
pure virtual

Get the custom paper size offset amount. This is only applicable if the paper size selection is kPaperSizeDefinedByUser

Returns
PMReal of the custom paper size offset.
virtual PMReal IPrintData::GetCustomPaperWidth () const
pure virtual

Get the custom paper size width. This is only applicable if the paper size selection is kPaperSizeDefinedByUser

Returns
PMReal of the custom paper size width. This can be kCustomPaperSizeAuto.
virtual PMReal IPrintData::GetCyanAngle () const
pure virtual

Get the Cyan ink angle value

Returns
PMReal of the Cyan ink angle value
virtual PMReal IPrintData::GetCyanFrequency () const
pure virtual

Get the Cyan ink frequency value

Returns
PMReal of the Cyan ink frequency value
virtual bool16 IPrintData::GetCyanPrintInk () const
pure virtual

Get if printing the Cyan ink

Returns
kTrue if printing the Cyan ink, kFalse otherwise
virtual void IPrintData::GetDeviceCustomPaperHeightRange (PMRealoutMinHeight,
PMRealoutMaxHeight 
) const
pure virtual

Get the custom paper size height range. This is only applicable if the paper size selection is kPaperSizeDefinedByUser

Parameters
outMinHeightOUT PMReal reference to the minimum value for the custom paper size height.
outMaxHeightOUT PMReal reference to the maximum value for the custom paper size height.
virtual void IPrintData::GetDeviceCustomPaperWidthOffsetRange (PMRealoutMin,
PMRealoutMax 
) const
pure virtual

Get the custom paper size offset range. This is only applicable if the paper size selection is kPaperSizeDefinedByUser

Parameters
outMinOUT PMReal reference to the minimum value for the custom paper size offset.
outMaxOUT PMReal reference to the maximum value for the custom paper size offset.
virtual void IPrintData::GetDeviceCustomPaperWidthRange (PMRealoutMinWidth,
PMRealoutMaxWidth 
) const
pure virtual

Get the custom paper size width range. This is only applicable if the paper size selection is kPaperSizeDefinedByUser

Parameters
outMinWidthOUT PMReal reference to the minimum value for the custom paper size width.
outMaxWidthOUT PMReal reference to the maximum value for the custom paper size width.
virtual int32 IPrintData::GetDeviceType () const
pure virtual

Get the device type

Returns
one of kPostScriptDeviceType, kNonPostScriptDeviceType
virtual bool16 IPrintData::GetDownloadPPDFonts () const
pure virtual

Get if downloading PPD fonts

Returns
kTrue if downloading PPD fonts, kFalse otherwise
virtual PMString IPrintData::GetFileName () const
pure virtual

Get the name and path of the file we are printing to

Returns
PMString of the full path name of the file we are printing to.
virtual PMString IPrintData::GetFlattenerStyleName (bool16 translateName = kTrue) const
pure virtual

Get the name of the flattener style in use IN kTrue to translate the string, if possible.

Returns
PMString of the name of the flattener style
virtual UID IPrintData::GetFlattenerStyleUID () const
pure virtual

Get the UID of the flattener style in use

Returns
UID of the name of the flattener style in use
virtual int32 IPrintData::GetFlipMode () const
pure virtual

Get the flip mode

Returns
one of kFlipOff, kFlipHorizontal, kFlipVertical, kFlipBoth
virtual int32 IPrintData::GetFontDownload () const
pure virtual

Get the font download mode

Returns
one of kFontDownloadNone, kFontDownloadComplete, kFontDownloadSubset, kFontDownloadSubsetLrg (deprecated)
virtual bool16 IPrintData::GetIgnoreSpreadOverrides () const
pure virtual

Get if ignoring flattener spread overrides

Returns
kTrue if ignoring spread overrides, kFalse otherwise
virtual PMRect IPrintData::GetImageablePaperSize () const
pure virtual

Get the imageable paper size - the imageable area for the paper

Returns
PMRect of the paper's imageable area size
virtual int32 IPrintData::GetImageData () const
pure virtual

Get how the image data will be printed

Returns
one of kImageDataAll, kImageDataOptimized, kImageDataLoRez, kImageDataProofPrint
virtual int32 IPrintData::GetImageDataFormat () const
pure virtual

Get how the image data will be formatted

Returns
one of kImageDataBinary, kImageDataASCII
virtual bool16 IPrintData::GetIncludeSlug () const
pure virtual

Get if the slug area is included

Returns
kTrue if the slug area is included, kFalse otherwise
virtual int32 IPrintData::GetIntent () const
pure virtual

Get intent type for color management

Returns
one of kPerceptual, kSaturation, kRelativeColorimetric, kAbsoluteColorimetric
virtual bool16 IPrintData::GetIsDefaultValues () const
pure virtual

Determines if any field values have been modified from their original (default) values.

Returns
kTrue - fields modified, kFalse otherwise
virtual PMReal IPrintData::GetMagentaAngle () const
pure virtual

Get the Magenta ink angle value

Returns
PMReal of the Magenta ink angle value
virtual PMReal IPrintData::GetMagentaFrequency () const
pure virtual

Get the Magenta ink frequency value

Returns
PMReal of the Magenta ink frequency value
virtual bool16 IPrintData::GetMagentaPrintInk () const
pure virtual

Get if printing the Magenta ink

Returns
kTrue if printing the Magenta ink, kFalse otherwise
virtual int32 IPrintData::GetMarkLineWeight () const
pure virtual

Get the page mark line weight

Returns
one of kMarkLineWeight125pt, kMarkLineWeight25pt, kMarkLineWeight50pt, OR if Japanese, kMarkLineWeight05mm, kMarkLineWeight07mm, kMarkLineWeight10mm, kMarkLineWeight15mm, kMarkLineWeight20mm, kMarkLineWeight30mm
virtual bool16 IPrintData::GetNegative () const
pure virtual

Get if printing page as negative

Returns
kTrue if printing as negative, kFalse otherwise
virtual int32 IPrintData::GetNumberOfThumbsPerPage () const
pure virtual

Get the number of thumbnails per page - only applicable if tile thumb mode is kThumbnails

Returns
the number of thumbnails on a page
virtual bool16 IPrintData::GetOmitEPS () const
pure virtual

Get if omitting EPS data from output stream

Returns
kTrue if omitting EPS data, kFalse otherwise
virtual bool16 IPrintData::GetOmitImages () const
pure virtual

Get if omitting bitmap data from output stream - not valid if doing OPI replacement

Returns
kTrue if omitting images, kFalse otherwise
virtual bool16 IPrintData::GetOmitPDF () const
pure virtual

Get if omitting PDF data from output stream

Returns
kTrue if omitting PDF data, kFalse otherwise
virtual bool16 IPrintData::GetOPIReplacement () const
pure virtual

Get if performing OPI replacement

Returns
kTrue if doing OPI replacement, kFalse otherwise
virtual int32 IPrintData::GetOutputMode () const
pure virtual

Get the color output mode

Returns
one of kCompositeGray, kCompositeRGB, kCompositeCMYK, kSeparationBuiltIn, kSeparationInRIP, kCompositeLeaveUnchanged
virtual bool16 IPrintData::GetPageInformation () const
pure virtual

Get if printing page information

Returns
kTrue if printing page information, kFalse otherwise
virtual PMString IPrintData::GetPageMarkFile () const
pure virtual

Get the page mark file in use

Returns
PMString of the page mark file. Can be empty string for Default
virtual PMReal IPrintData::GetPageMarkOffset () const
pure virtual

Get the page mark offset amount

Returns
PMReal of the page mark offset value.
virtual int32 IPrintData::GetPageOrientation () const
pure virtual

Get the page orientation

Returns
one of kPortrait, kLandscape (Counterclockwise 90 degrees), kReversePortrait (180 degrees), kReverseLandscape (Counterclockwise 270 degrees)
virtual int32 IPrintData::GetPagePosition () const
pure virtual

Get the page positioning on the paper

Returns
one of kPagePositionUpperLeft, kPagePositionCenterHorizontally, kPagePositionCenterVertically, kPagePositionCentered
virtual PMString IPrintData::GetPageRange () const
pure virtual

Get the page range printing

Returns
PMString of the page range string.
virtual int32 IPrintData::GetPaperOrientation () const
pure virtual

Get the paper orientation

Returns
one of kNormal, kTransverse
virtual PMRect IPrintData::GetPaperSize () const
pure virtual

Get the paper size

Returns
PMRect of the paper size
virtual PMString IPrintData::GetPaperSizeName () const
pure virtual

Get the paper size name. This is only applicable if paper size selection is kPaperSizeDefinedByName

Returns
PMString of the paper size name
virtual int32 IPrintData::GetPaperSizeSelection () const
pure virtual

Get the paper size selection.

Returns
one of kPaperSizeDefinedByUser (Custom paper size), kPaperSizeDefinedByDriver (Defined by Driver), kPaperSizeDefinedByName (see SetPaperSizeName)
virtual uchar* IPrintData::GetPaperSizeSelector (uint32 & outSize) const
pure virtual

Get the paper size selector data - a magic cookie to select paper sizes NOTE - Caller is responsible for delete[]-ing the return value!!!

Parameters
outSizeOUT size of data returned
Returns
opaque data bytes
virtual bool16 IPrintData::GetPDFPassthroughMode () const
pure virtual

Get whether PDF passthrough mode is enabled on the selected printer.

Returns
kTrue if PDF passthrough is on, kFalse otherwise
virtual PMString IPrintData::GetPPDFile () const
pure virtual

Get the path and file name of the PPD we are using

Returns
PMString of the full path and file name of the PPD file.
virtual PMString IPrintData::GetPPDName () const
pure virtual

Get the model name of the PPD we are using

Returns
PMString of the model name of the PPD in use. Will be "kDevice Independent" for Device Independent PostScript file.
virtual bool16 IPrintData::GetPreserveColorNumbers () const
pure virtual

Get whether to preserve the CMYK/RGB color numbers or not

Returns
kTrue if preserving color numbers, kFalse otherwise
virtual bool16 IPrintData::GetPrintBlankPages () const
pure virtual

Get if printing blank pages

Returns
kTrue if printing blank pages, kFalse otherwise
virtual bool16 IPrintData::GetPrintColorsInBlack () const
pure virtual

Get if printing text as black

Returns
kTrue if printing text as black, kFalse otherwise
virtual PMString IPrintData::GetPrinter () const
pure virtual

Get the name of the printer we are printing to

Returns
PMString of the name of the printer, "kPrepress File" if printing to a PostScript file.
virtual int32 IPrintData::GetPrintLayers () const
pure virtual

Get which layers will print

Returns
one of kPrintAllLayers, kPrintVisibleLayers, kPrintVisiblePrintableLayers
virtual bool16 IPrintData::GetPrintNonPrintingObjects () const
pure virtual

Get if printing non printing objects

Returns
kTrue if overriding page item non-printing attribute, kFalse otherwise
virtual int32 IPrintData::GetPrintOption () const
pure virtual

Get which pages are printing, both odd and even, odd only or even only

Returns
one of kBothPages, kEvenPagesOnly, kOddPagesOnly
virtual IXferBytes* IPrintData::GetPrintRecordStream (void )
pure virtual

Gets the print record stream - an opaque stream

Returns
pointer to IXferBytes of the print record stream, or nil if there isn't one
virtual int32 IPrintData::GetPrintTo () const
pure virtual

Get where we are printing to

Returns
one of kPrinter (direct to printer), kVirtualPrinter (PostScript file with PPD selected), kPrepressFile (PostScript file Device Independent), kEPSFile (EPS file)
virtual bool16 IPrintData::GetPrintWYSIWYGGridsGuides () const
pure virtual

Get whether printing visible guides and baseline grids

Returns
kTrue if printing guides and grids, kFalse otherwise
virtual PMString IPrintData::GetProfileName () const
pure virtual

Get the profile name for color management - only applicable if profile type is kUseSpecificProfile

Returns
PMString of the name of the profile
virtual int32 IPrintData::GetProfileType () const
pure virtual

Get the profile type for color management

Returns
one of kUsePostScriptCMS, kUseDocumentProfile, kUseWorkingProfile, kUseSpecificProfile, kUseNoCMS
virtual bool16 IPrintData::GetProportional () const
pure virtual

Get if scaling proportionally

Returns
kTrue to contraining to proportions, kFalse otherwise
virtual uint32 IPrintData::GetProxyPageHeight () const
pure virtual

Get the proxy page height size (only used in the UI)

Returns
uint32 of the proxy page height
virtual uint32 IPrintData::GetProxyPageWidth () const
pure virtual

Get the proxy page width size (only used in the UI)

Returns
uint32 of the proxy page width
virtual uint32 IPrintData::GetProxySpreadHeight () const
pure virtual

Get the proxy spread height size - used for drawing the proxy when spreads are on (only used in the UI)

Returns
uint32 of the proxy spread height
virtual uint32 IPrintData::GetProxySpreadWidth () const
pure virtual

Get the proxy spread width size - used for drawing the proxy when spreads are on (only used in the UI)

Returns
uint32 of the proxy spread width
virtual int32 IPrintData::GetPSLangLevel () const
pure virtual

Get the PostScript language level we will generate

Returns
one of kPSLangLevel_2, kPSLangLevel_3. Note: kPSLangLevel_all is not support any longer.
virtual bool16 IPrintData::GetRegistrationMarks () const
pure virtual

Get if printing registration marks

Returns
kTrue if printing registration marks, kFalse otherwise
virtual PMReal IPrintData::GetResolution () const
pure virtual

Get the output resolution

Returns
PMReal of the output resolution
virtual bool16 IPrintData::GetReverseOrder () const
pure virtual

Get if reverse order turned on

Returns
kTrue if reverse order, kFalse otherwise
virtual int32 IPrintData::GetScaleMode () const
pure virtual

Get the scaling mode, either scale to fit, or scale by X and Y

Returns
one of kScaleToFit, kScaleXAndY
virtual int32 IPrintData::GetScope () const
pure virtual

Get the scope of pages printing - either the document or Master pages

Returns
one of kScopeDocument, kScopeMaster
virtual PMString IPrintData::GetSeparationScreenText () const
pure virtual

Get the separation screening text

Returns
PMString of the separation screening text.
virtual bool16 IPrintData::GetShowSaveDialog () const
pure virtual

Get if showing the file save dialog

Returns
kTrue if showing the file save dialog, kFalse otherwise
virtual int32 IPrintData::GetSourceSpace () const
pure virtual

Get the source space for color management

Returns
one of kDocumentSourceSpace, kProofSourceSpace
virtual PMReal IPrintData::GetSpotAngle () const
pure virtual

Get the spot ink angle value

Returns
PMReal of the spot ink angle value
virtual PMReal IPrintData::GetSpotFrequency () const
pure virtual

Get the spot ink frequency value

Returns
PMReal of the spot ink frequency value
virtual int32 IPrintData::GetSpotOverPrint () const
pure virtual

Get the Simulate Overprint type.

Returns
one of kLegacy (SimOP off), kSimulatePress (SimOP on), kSimulateScreen (deprecated)
virtual bool16 IPrintData::GetSpreads () const
pure virtual

Get if printing spreads

Returns
kTrue if printing spreads, kFalse otherwise
virtual PMString IPrintData::GetStyleName () const
pure virtual

Get the Printer Style Name - will be "kPrSt_DefaultName" if default

Returns
PMString of the name of the style
virtual int32 IPrintData::GetTileThumbMode () const
pure virtual

Get the tiling and thumbnail mode

Returns
one of kTileThumbOff, kTiling, kThumbnails
virtual int32 IPrintData::GetTilingMode () const
pure virtual

Get the tiling mode - only applicable if tile thumb mode is kTiling

Returns
one of kTilingAutomatic, kTilingManual, kTilingAutoJustified
virtual PMReal IPrintData::GetTilingOverlap () const
pure virtual

Get the tiling overlap amount - only applicable if tile thumb mode is kTiling

Returns
PMReal of the tiling overlap value.
virtual int32 IPrintData::GetTrappingMode () const
pure virtual

Get the trapping mode

Returns
one of kTrappingNone, kTrappingBuiltIn, kTrappingInRIP
virtual bool16 IPrintData::GetUseDocumentBleed () const
pure virtual

Get if using the document bleed values

Returns
kTrue if using the document bleed values, kFalse otherwise
virtual int32 IPrintData::GetWhichPages () const
pure virtual

Get which pages are printing, all pages or page range

Returns
one of kAllPages, kPageRange
virtual PMReal IPrintData::GetXScale () const
pure virtual

Get the X scale amount - only applicable if scale mode is kScaleXAndY

Returns
PMReal of the X scale value.
virtual PMReal IPrintData::GetYellowAngle () const
pure virtual

Get the Yellow ink angle value

Returns
PMReal of the Yellow ink angle value
virtual PMReal IPrintData::GetYellowFrequency () const
pure virtual

Get the Yellow ink frequency value

Returns
PMReal of the Yellow ink frequency value
virtual bool16 IPrintData::GetYellowPrintInk () const
pure virtual

Get if printing the Yellow ink

Returns
kTrue if printing the Yellow ink, kFalse otherwise
virtual PMReal IPrintData::GetYScale () const
pure virtual

Get the Y scale amount - only applicable if scale mode is kScaleXAndY

Returns
PMReal of the Y scale value.
virtual void IPrintData::InitializeForEPS (IEPSExportPreferencesiEPSExPreferences)
pure virtual

Initialize this PrintData using the settings from IEPSExportPreferences.

Parameters
iEPSExPreferencesIN pointer to IEPSExportPreferences from which to get the settings.
See Also
IEPSExportPreferences
virtual bool16 IPrintData::IsIPPPDFPassthroughEnabled () const
pure virtual

Checks whether IPP PDF Passthrough Printing is supported or not.

Returns
kTrue if IsIPPPDFPassthroughEnabled is on, kFalse otherwise.
virtual bool16 IPrintData::IsLocked (Id id) const
pure virtual

Returns a boolean value denoting whether the print data item identified by the given identifier is currently in a locked state. Locked print data items cannot be changed by the user, but are visible to the user.

Parameters
idIN identifier of the print data item
Returns
kTrue if the item is locked, else kFalse
virtual bool16 IPrintData::IsPageOrientationLikePortrait () const
pure virtual

Get if page orientation is up and down (portrait or reverse portrait)

Returns
kTrue if page orientation is either kPortrait or kReversePortrait, kFalse otherwise
virtual bool16 IPrintData::IsPageOrientationLikePortraitOnDevice () const
pure virtual

Get if page orientation is the same as paper orientation - i.e. landscape and tranverse selected

Returns
kTrue if page and paper orientation are the same, kFalse otherwise
virtual bool16 IPrintData::IsRelevant (Id id) const
pure virtual

Returns a boolean value denoting whether the print data item identified by the given identifier is in a relevant state. Print data items that are not relevant cannot be changed by the user, and are not visible to the user.

Parameters
idIN identifier of the print data item
Returns
kTrue if the item is relevant, else kFalse
virtual void IPrintData::Normalize ()
pure virtual

Normalizes print data items that aren't relevant and thus may contain values that can cause processing errors during the printing process.

virtual void IPrintData::Notify (Notificationnotification) const
pure virtual

Notifys print data clients that all or a specific print data item experienced a change in value or state.

Parameters
notificationIN notification class object denoting which print data items changed and need to be updated.
virtual void IPrintData::SetBitmapPrinting (const bool16 bitmapPrinting)
pure virtual

Set to print as bitmap or not. Bitmap printing required on Mac OSX < 10.3.

Parameters
bitmapPrintingIN kTrue if printing using bitmap, kFalse otherwise
virtual void IPrintData::SetBitmapResolution (const int32 bitmapResolution)
pure virtual

Set the bitmap printing resolution

Parameters
bitmapResolutionIN either an IPrintData enum kBitmapResolution_72, kBitmapResolution_150, etc. or a resolution >= 72 and <= 1200.
virtual void IPrintData::SetBlackAngle (const PMRealblackAngle)
pure virtual

Set the Black ink angle value

Parameters
blackAngleIN PMReal reference to the Black ink angle value
virtual void IPrintData::SetBlackFrequency (const PMRealblackFrequency)
pure virtual

Set the Black ink frequency value

Parameters
blackFrequencyIN PMReal reference to the Black ink frequency value
virtual void IPrintData::SetBlackPrintInk (bool16 blackPrintInk)
pure virtual

Set whether to print the Black ink or not

Parameters
blackPrintInkIN kTrue if printing the Black ink, kFalse otherwise
virtual void IPrintData::SetBleedBottom (const PMRealbleedBottom)
pure virtual

Set the bleed value for the bottom edge

Parameters
bleedBottomIN PMReal reference to the bottom bleed value.
virtual void IPrintData::SetBleedChain (const bool16 bleedChain)
pure virtual

Set if the bleed values are chained together or not

Parameters
bleedChainIN kTrue if the bleed values are chained, kFalse otherwise
virtual void IPrintData::SetBleedInside (const PMRealbleedInside)
pure virtual

Set the bleed value for the inside edge - that is the edge closest to the binding for facing pages. This is the left side if printing spreads, or if there is not facing pages.

Parameters
bleedInsideIN PMReal reference to the inside bleed value.
virtual void IPrintData::SetBleedMarks (const bool16 bleedMarks)
pure virtual

Set to print bleed marks or not

Parameters
bleedMarksIN kTrue if printing bleed marks, kFalse otherwise
virtual void IPrintData::SetBleedOutside (const PMRealbleedOutside)
pure virtual

Set the bleed value for the outside edge - that is the edge farthest from the binding for facing pages. This is the right side if printing spreads, or if there is not facing pages.

Parameters
bleedOutsideIN PMReal reference to the outside bleed value.
virtual void IPrintData::SetBleedTop (const PMRealbleedTop)
pure virtual

Set the bleed value for the top edge

Parameters
bleedTopIN PMReal reference to the top bleed value.
virtual void IPrintData::SetCJKFilterContent (bool16 filter)
pure virtual

Set whether to filter port contents or not - CJK specific

Parameters
filterIN kTrue if filtering, kFalse otherwise
See Also
IPrintContentPrefs
virtual void IPrintData::SetCJKFrameGridStrokeWeight (const PMRealpoints)
pure virtual

Set the frame grid stroke weight - CJK specific

Parameters
pointsIN PMReal reference to the frame grid stroke weight
See Also
IPrintContentPrefs
virtual void IPrintData::SetCJKLayoutGridStrokeWeight (const PMRealpoints)
pure virtual

Set the layout grid stroke weight - CJK specific

Parameters
pointsIN PMReal reference to the layout grid stroke weight
See Also
IPrintContentPrefs
virtual void IPrintData::SetCJKOnlyPrintFrameGridWhenEmpty (bool16 whenEmpty)
pure virtual

Set whether to print frame grid when empty or not - CJK specific

Parameters
whenEmptyIN kTrue if printing frame grid when empty, kFalse otherwise
See Also
IPrintContentPrefs
virtual void IPrintData::SetCJKPrintFrameGrids (bool16 printFrameGrids)
pure virtual

Set whether to print frame grids or not - CJK specific

Parameters
printFrameGridsIN kTrue if printing frame grids, kFalse otherwise
See Also
IPrintContentPrefs
virtual void IPrintData::SetCJKPrintFrameGridView (int32 viewNumber)
pure virtual

Set the print frame grid view - CJK specific

Parameters
viewNumberIN frame grid view
See Also
IPrintContentPrefs GridView
virtual void IPrintData::SetCJKPrintLayoutGrids (bool16 printLayoutGrids)
pure virtual

Set whether to print layout grids or not - CJK specific

Parameters
printLayoutGridsIN kTrue if printing layout grids, kFalse otherwise
See Also
IPrintContentPrefs
virtual void IPrintData::SetCJKPrintPageItems (bool16 printPageItems)
pure virtual

Set whether to print page items or not - CJK specific

Parameters
printPageItemsIN kTrue if printing page items, kFalse otherwise
See Also
IPrintContentPrefs
virtual void IPrintData::SetCJKPrintText (bool16 printText)
pure virtual

Set whether to print text or not - CJK specific

Parameters
printTextIN kTrue if printing text, kFalse otherwise
See Also
IPrintContentPrefs
virtual void IPrintData::SetCollate (const bool16 collate)
pure virtual

Set to collate or not

Parameters
collateIN kTrue to collate, kFalse otherwise
virtual void IPrintData::SetColorBars (const bool16 colorBars)
pure virtual

Set to print color bars or not

Parameters
colorBarsIN kTrue if printing color bars, kFalse otherwise
virtual void IPrintData::SetCompositeAngle (const PMRealcompositeAngle)
pure virtual

Set the composite angle amount

Parameters
compositeAngleIN PMReal reference to the composite angle value.
See Also
IPrintDeviceInfo GetDeviceCompositeAngle
virtual void IPrintData::SetCompositeFrequency (const PMRealcompositeFrequency)
pure virtual

Set the composite frequency amount

Parameters
compositeFrequencyIN PMReal reference to the composite frequency value.
See Also
IPrintDeviceInfo GetDeviceCompositeFrequency
virtual void IPrintData::SetCompositeScreenText (const PMStringcompositeScreenStr)
pure virtual

Set the composite screening text

Parameters
compositeScreenStrIN PMString reference to the composite screening text. This can be "kDefault" or "kCustom" if kCompositeGray is color output mode
virtual void IPrintData::SetCopies (const int32 copies)
pure virtual

Set the number of copies

Parameters
copiesIN number of copies
virtual void IPrintData::SetCRDName (const PMStringcrdName)
pure virtual

Set the CRD name for color management - only applicable if CRD type is kUseSpecificCRD

Parameters
crdNameIN PMString reference to the name of the CRD
virtual void IPrintData::SetCRDType (const int32 crdType)
pure virtual

Set the CRD type for color management

Parameters
crdTypeIN one of kUseNoCRD, kUseDocumentCRD, kUseWorkingCRD, kUseSpecificCRD
virtual void IPrintData::SetCropMarks (const bool16 cropMarks)
pure virtual

Set to print crop marks or not

Parameters
cropMarksIN kTrue if printing crop marks, kFalse otherwise
virtual void IPrintData::SetCustomPaperGap (const PMRealcustomPaperGap)
pure virtual

Set the custom paper size gap amount. This is only applicable if the paper size selection is kPaperSizeDefinedByUser

Parameters
customPaperGapIN PMReal reference to the custom paper size gap.
virtual void IPrintData::SetCustomPaperHeight (const PMRealcustomPaperHeight)
pure virtual

Set the custom paper size height. This is only applicable if the paper size selection is kPaperSizeDefinedByUser

Parameters
customPaperHeightIN PMReal reference to the custom paper size height. This can be kCustomPaperSizeAuto.
virtual void IPrintData::SetCustomPaperOffset (const PMRealcustomPaperOffset)
pure virtual

Set the custom paper size offset amount. This is only applicable if the paper size selection is kPaperSizeDefinedByUser

Parameters
customPaperOffsetIN PMReal reference to the custom paper size offset.
virtual void IPrintData::SetCustomPaperWidth (const PMRealcustomPaperWidth)
pure virtual

Set the custom paper size width. This is only applicable if the paper size selection is kPaperSizeDefinedByUser

Parameters
customPaperWidthIN PMReal reference to the custom paper size width. This can be kCustomPaperSizeAuto.
virtual void IPrintData::SetCyanAngle (const PMRealcyanAngle)
pure virtual

Set the Cyan ink angle value

Parameters
cyanAngleIN PMReal reference to the Cyan ink angle value
virtual void IPrintData::SetCyanFrequency (const PMRealcyanFrequency)
pure virtual

Set the Cyan ink frequency value

Parameters
cyanFrequencyIN PMReal reference to the Cyan ink frequency value
virtual void IPrintData::SetCyanPrintInk (bool16 cyanPrintInk)
pure virtual

Set whether to print the Cyan ink or not

Parameters
cyanPrintInkIN kTrue if printing the Cyan ink, kFalse otherwise
virtual void IPrintData::SetDeviceCustomPaperHeightRange (const PMRealminHeight,
const PMRealmaxHeight 
)
pure virtual

Set the custom paper size height range. This is only applicable if the paper size selection is kPaperSizeDefinedByUser

Parameters
minHeightIN PMReal reference to the minimum value for the custom paper size height.
maxHeightIN PMReal reference to the maximum value for the custom paper size height.
virtual void IPrintData::SetDeviceCustomPaperWidthOffsetRange (const PMRealnOffsetMin,
const PMRealnOffsetMax 
)
pure virtual

Set the custom paper size offset range. This is only applicable if the paper size selection is kPaperSizeDefinedByUser

Parameters
nOffsetMinIN PMReal reference to the minimum value for the custom paper size offset.
nOffsetMaxIN PMReal reference to the maximum value for the custom paper size offset.
virtual void IPrintData::SetDeviceCustomPaperWidthRange (const PMRealminWidth,
const PMRealmaxWidth 
)
pure virtual

Set the custom paper size width range. This is only applicable if the paper size selection is kPaperSizeDefinedByUser

Parameters
minWidthIN PMReal reference to the minimum value for the custom paper size width.
maxWidthIN PMReal reference to the maximum value for the custom paper size width.
virtual void IPrintData::SetDeviceType (const int32 deviceType)
pure virtual

Set the device type

Parameters
deviceTypeIN one of kPostScriptDeviceType, kNonPostScriptDeviceType
virtual void IPrintData::SetDownloadPPDFonts (const bool16 downloadPPDFonts)
pure virtual

Set to download PPD fonts or not

Parameters
downloadPPDFontsIN kTrue if downloading PPD fonts, kFalse otherwise
virtual void IPrintData::SetFileName (const PMStringfileName)
pure virtual

Set the name and path of the file we are printing to

Parameters
fileNameIN PMString reference to the full path name of the file we are printing to.
virtual void IPrintData::SetFlattenerStyleName (const PMStringstrName)
pure virtual

Set the name of the flattener style to use

Parameters
spstrNameotAngleIN PMString reference to the name of the flattener style
virtual void IPrintData::SetFlipMode (const int32 flipMode)
pure virtual

Set the flip mode

Parameters
flipModeIN one of kFlipOff, kFlipHorizontal, kFlipVertical, kFlipBoth
virtual void IPrintData::SetFontDownload (const int32 fontDownload)
pure virtual

Set the font download mode

Parameters
fontDownloadIN one of kFontDownloadNone, kFontDownloadComplete, kFontDownloadSubset, kFontDownloadSubsetLrg (deprecated)
virtual void IPrintData::SetIgnoreSpreadOverrides (bool16 ignoreSpreadOverrides)
pure virtual

Set whether to ignore flattener spread overrides or not

Parameters
ignoreSpreadOverridesIN kTrue to ignore spread overrides, kFalse otherwise
virtual void IPrintData::SetImageablePaperSize (const PMRectimageablePaperSize)
pure virtual

Set the imageable paper size - the imageable area for the paper

Parameters
imageablePaperSizeIN PMRect reference to the paper's imageable area size
See Also
IPrintDeviceInfo GetImageablePaperSize
virtual void IPrintData::SetImageData (const int32 imageData)
pure virtual

Set how the image data will be printed

Parameters
imageDataIN one of kImageDataAll, kImageDataOptimized, kImageDataLoRez, kImageDataProofPrint
virtual void IPrintData::SetImageDataFormat (const int32 imageDataFormat)
pure virtual

Set how the image data will be formatted

Parameters
imageDataFormatIN one of kImageDataBinary, kImageDataASCII
virtual void IPrintData::SetIncludeSlug (const bool16 includeSlug)
pure virtual

Set if the slug area is included or not

Parameters
includeSlugIN kTrue if the slug area is included, kFalse otherwise
virtual void IPrintData::SetIntent (const int32 intent)
pure virtual

Set intent type for color management

Parameters
intentIN one of kPerceptual, kSaturation, kRelativeColorimetric, kAbsoluteColorimetric
virtual void IPrintData::SetMagentaAngle (const PMRealmagentaAngle)
pure virtual

Set the Magenta ink angle value

Parameters
magentaAngleIN PMReal reference to the Magenta ink angle value
virtual void IPrintData::SetMagentaFrequency (const PMRealmagentaFrequency)
pure virtual

Set the Magenta ink frequency value

Parameters
magentaFrequencyIN PMReal reference to the Magenta ink frequency value
virtual void IPrintData::SetMagentaPrintInk (bool16 magentaPrintInk)
pure virtual

Set whether to print the Magenta ink or not

Parameters
magentaPrintInkIN kTrue if printing the Magenta ink, kFalse otherwise
virtual void IPrintData::SetMarkLineWeight (const int32 markLineWeight)
pure virtual

Set the page mark line weight

Parameters
markLineWeightIN one of kMarkLineWeight125pt, kMarkLineWeight25pt, kMarkLineWeight50pt, OR if Japanese, kMarkLineWeight05mm, kMarkLineWeight07mm, kMarkLineWeight10mm, kMarkLineWeight15mm, kMarkLineWeight20mm, kMarkLineWeight30mm
virtual void IPrintData::SetNegative (const bool16 negative)
pure virtual

Set to print page as negative or not

Parameters
negativeIN kTrue to print as negative, kFalse otherwise
virtual void IPrintData::SetNumberOfThumbsPerPage (const int32 numberOfThumbsPerPage)
pure virtual

Set the number of thumbnails per page - only applicable if tile thumb mode is kThumbnails

Parameters
numberOfThumbsPerPageIN the number of thumbnails on a page. Should be 2, 4, 9, 16, 25, 36 or 49
virtual void IPrintData::SetOmitEPS (const bool16 omitEPS)
pure virtual

Set to omit EPS data from output stream or not

Parameters
omitEPSIN kTrue if omitting EPS data, kFalse otherwise
virtual void IPrintData::SetOmitImages (const bool16 omitImages)
pure virtual

Set to omit bitmap data from output stream or not - not valid if doing OPI replacement

Parameters
omitImagesIN kTrue if omitting images, kFalse otherwise
virtual void IPrintData::SetOmitPDF (const bool16 omitPDF)
pure virtual

Set to omit PDF data from output stream or not

Parameters
omitPDFIN kTrue if omitting PDF data, kFalse otherwise
virtual void IPrintData::SetOPIReplacement (const bool16 opiReplacement)
pure virtual

Set to perform OPI replacement or not

Parameters
opiReplacementIN kTrue if OPI replacement, kFalse otherwise
virtual void IPrintData::SetOutputMode (const int32 outputMode)
pure virtual

Set the color output mode

Parameters
outputModeIN one of kCompositeGray, kCompositeRGB, kCompositeCMYK, kSeparationBuiltIn, kSeparationInRIP, kCompositeLeaveUnchanged
virtual void IPrintData::SetPageInformation (const bool16 pageInformation)
pure virtual

Set to print page information or not

Parameters
pageInformationIN kTrue if printing page information, kFalse otherwise
virtual void IPrintData::SetPageMarkFile (const PMStringpageMarkFile)
pure virtual

Set the page mark file to use

Parameters
tilingOverlapIN PMString reference to the page mark file. Can be empty string for Default
virtual void IPrintData::SetPageMarkOffset (const PMRealpageMarkOffset)
pure virtual

Set the page mark offset amount

Parameters
pageMarkOffsetIN PMReal reference to the page mark offset value.
virtual void IPrintData::SetPageOrientation (const int32 pageOrientation)
pure virtual

Set the page orientation

Parameters
pageOrientationIN one of kPortrait, kLandscape (Counterclockwise 90 degrees), kReversePortrait (180 degrees), kReverseLandscape (Counterclockwise 270 degrees)
virtual void IPrintData::SetPagePosition (const int32 pagePosition)
pure virtual

Set the page positioning on the paper

Parameters
pagePositionIN one of kPagePositionUpperLeft, kPagePositionCenterHorizontally, kPagePositionCenterVertically, kPagePositionCentered
virtual void IPrintData::SetPageRange (const PMStringpageRange)
pure virtual

Set the page range to print

Parameters
pageRangeIN PMString reference to page range string.
See Also
IPageList PageRangeStringToUIDList regarding valid page range strings
virtual void IPrintData::SetPaperOrientation (const int32 paperOrientation)
pure virtual

Set the paper orientation

Parameters
paperOrientationIN one of kNormal, kTransverse
virtual void IPrintData::SetPaperSize (const PMRectpaperSize)
pure virtual

Set the paper size

Parameters
paperSizeIN PMRect reference to the paper size
See Also
IPrintDeviceInfo GetPaperSize
virtual void IPrintData::SetPaperSizeName (const PMStringpaperSizeName)
pure virtual

Set the paper size name. This is only applicable if paper size selection is kPaperSizeDefinedByName

Parameters
paperSizeNameIN PMString reference to the paper size name, as defined in the PPD
See Also
IPrintDeviceInfo GetPaperSizeName
virtual void IPrintData::SetPaperSizeSelection (const int32 paperSizeSelection)
pure virtual

Set the paper size selection.

Parameters
paperSizeSelectionIN one of kPaperSizeDefinedByUser (Custom paper size), kPaperSizeDefinedByDriver (Defined by Driver), kPaperSizeDefinedByName (see SetPaperSizeName)
virtual void IPrintData::SetPaperSizeSelector (uchar * inData,
uint32 inSize 
)
pure virtual

Set the paper size selector data - a magic cookie to select paper sizes

Parameters
inDataIN opaque data bytes
inSizeIN size of data in inData
See Also
IPrintDeviceInfo GetPaperSizeSelector
virtual void IPrintData::SetPDFPassthroughMode (bool16 pdfPassthrough)
pure virtual

Set whether PDF passthrough mode should be enabled on the selected printer.

Parameters
pdfPassthroughIN kTrue if passthrough should be enabled, kFalse otherwise
virtual void IPrintData::SetPPDFile (const PMStringppdName)
pure virtual

Set the path and file name of the PPD we are using

Parameters
ppdFileIN PMString reference to the full path and file name of the PPD file.
virtual void IPrintData::SetPPDName (const PMStringppdName)
pure virtual

Set the model name of the PPD we are using

Parameters
ppdNameIN PMString reference to the model name of the PPD in use. Can be "kDevice Independent" for Device Independent PostScript file.
virtual void IPrintData::SetPreserveColorNumbers (bool16 preserveColorNumbers)
pure virtual

Set whether to preserve the CMYK/RGB color numbers or not

Parameters
preserveColorNumbersIN kTrue if preserving color numbers, kFalse otherwise
virtual void IPrintData::SetPrintBlankPages (const bool16 printBlankPages)
pure virtual

Set to print blank pages or not

Parameters
printBlankPagesIN kTrue to print blank pages, kFalse otherwise
virtual void IPrintData::SetPrintColorsInBlack (const bool16 printColorsInBlack)
pure virtual

Set to print text as black or not

Parameters
printColorsInBlackIN kTrue to print text as black, kFalse otherwise
virtual void IPrintData::SetPrinter (const PMStringprinter)
pure virtual

Set the name of the printer we are printing to

Parameters
printerIN PMString reference to the name of the printer, "kPrepress File" if printing to a PostScript file.
virtual void IPrintData::SetPrintLayers (const int32 printLayers)
pure virtual

Set which layers will print

Parameters
printLayersIN one of kPrintAllLayers, kPrintVisibleLayers, kPrintVisiblePrintableLayers
virtual void IPrintData::SetPrintNonPrintingObjects (const bool16 printNonPrintingObjects)
pure virtual

Set to print non printing objects or not

Parameters
printNonPrintingObjectsIN kTrue to override page item non-printing attribute, kFalse otherwise
virtual void IPrintData::SetPrintOption (const int32 printOption)
pure virtual

Set which pages to print, both odd and even, odd only or even only

Parameters
printOptionIN one of kBothPages, kEvenPagesOnly, kOddPagesOnly
virtual void IPrintData::SetPrintTo (const int32 printTo)
pure virtual

Set where we are printing to

Parameters
printToIN one of kPrinter (direct to printer), kVirtualPrinter (PostScript file with PPD selected), kPrepressFile (PostScript file Device Independent), kEPSFile (EPS file)
virtual void IPrintData::SetPrintWYSIWYGGridsGuides (bool16 printWYSIWYGGridsGuides)
pure virtual

Set whether to print visible guides and baseline grids or not

Parameters
printWYSIWYGGridsGuidesIN kTrue if printing guides and grids, kFalse otherwise
virtual void IPrintData::SetProfileName (const PMStringprofileName)
pure virtual

Set the profile name for color management - only applicable if profile type is kUseSpecificProfile

Parameters
profileTypeIN PMString reference to the name of the profile
virtual void IPrintData::SetProfileType (const int32 profileType)
pure virtual

Set the profile type for color management

Parameters
profileTypeIN one of kUsePostScriptCMS, kUseDocumentProfile, kUseWorkingProfile, kUseSpecificProfile, kUseNoCMS
virtual void IPrintData::SetProportional (const bool16 proportional)
pure virtual

Set if to scale proportionally or not

Parameters
proportionalIN kTrue to contrain proportions, kFalse otherwise
virtual void IPrintData::SetProxyPageSize (const uint32 proxyPageWidth,
const uint32 proxyPageHeight 
)
pure virtual

Set the proxy page size - used in drawing the proxy page preview (only used in the UI)

Parameters
proxyPageWidthIN uint32 of the proxy page width
proxyPageHeightIN uint32 of the proxy page height
virtual void IPrintData::SetProxySpreadSize (const uint32 proxySpreadWidth,
const uint32 proxySpreadHeight 
)
pure virtual

Set the proxy spread size - used in drawing the proxy preview when spreads is on (only used in the UI)

Parameters
proxySpreadWidthIN uint32 of the proxy spread width
proxySpreadHeightIN uint32 of the proxy spread height
virtual void IPrintData::SetPSLangLevel (const int32 psLangLevel)
pure virtual

Set the PostScript language level we will generate

Parameters
psLangLevelIN one of kPSLangLevel_2, kPSLangLevel_3. Note: kPSLangLevel_all is not support any longer.
virtual void IPrintData::SetRegistrationMarks (const bool16 registrationMarks)
pure virtual

Set to print registration marks or not

Parameters
registrationMarksIN kTrue if printing registration marks, kFalse otherwise
virtual void IPrintData::SetResolution (const PMRealresolution)
pure virtual

Set the output resolution

Parameters
resolutionIN PMReal reference to the output resolution
virtual void IPrintData::SetReverseOrder (const bool16 reverseOrder)
pure virtual

Set to reverse order or not

Parameters
reverseOrderIN kTrue to reverse order, kFalse otherwise
virtual void IPrintData::SetScaleMode (const int32 scaleMode)
pure virtual

Set the scaling mode, either scale to fit, or scale by X and Y

Parameters
scaleModeIN one of kScaleToFit, kScaleXAndY
virtual void IPrintData::SetScope (const int32 scope)
pure virtual

Set the scope of pages to print - either the document or Master pages

Parameters
scopeIN one of kScopeDocument, kScopeMaster
virtual void IPrintData::SetSeparationScreenText (const PMStringsepScreenStr)
pure virtual

Set the separation screening text

Parameters
sepScreenStrIN PMString reference to the separation screening text. This is a string from the PPD.
See Also
IPrintDeviceInfo GetNthSeparationFrequency and GetDefaultSeparationFrequencyIndex
virtual void IPrintData::SetShowSaveDialog (const bool16 showSaveDialog)
pure virtual

Set to show the file save dialog or not

Parameters
showSaveDialogIN kTrue to show the file save dialog, kFalse otherwise
virtual void IPrintData::SetSourceSpace (const int32 sourceSpace)
pure virtual

Set the source space for color management

Parameters
sourceSpaceIN one of kDocumentSourceSpace, kProofSourceSpace
virtual void IPrintData::SetSpotAngle (const PMRealspotAngle)
pure virtual

Set the spot ink angle value

Parameters
spotAngleIN PMReal reference to the spot ink angle value
virtual void IPrintData::SetSpotFrequency (const PMRealspotFrequency)
pure virtual

Set the spot ink frequency value

Parameters
spotFrequencyIN PMReal reference to the spot ink frequency value
virtual void IPrintData::SetSpotOverPrint (int32 spotOverPrint)
pure virtual

Set the Simulate Overprint type.

Parameters
spotOverPrintIN one of kLegacy (SimOP off), kSimulatePress (SimOP on), kSimulateScreen (deprecated)
virtual void IPrintData::SetSpreads (const bool16 spreads)
pure virtual

Set to print spreads or not

Parameters
spreadsIN kTrue to print spreads, kFalse otherwise
virtual void IPrintData::SetStyleName (const PMStringstyleName)
pure virtual

Set the Printer Style Name

Parameters
styleNameIN PMString reference to the name of the style
virtual void IPrintData::SetTileThumbMode (const int32 tileThumbMode)
pure virtual

Set the tiling and thumbnail mode

Parameters
tileThumbModeIN one of kTileThumbOff, kTiling, kThumbnails
virtual void IPrintData::SetTilingMode (const int32 tilingMode)
pure virtual

Set the tiling mode - only applicable if tile thumb mode is kTiling

Parameters
tilingModeIN one of kTilingAutomatic, kTilingManual, kTilingAutoJustified
virtual void IPrintData::SetTilingOverlap (const PMRealtilingOverlap)
pure virtual

Set the tiling overlap amount - only applicable if tile thumb mode is kTiling

Parameters
tilingOverlapIN PMReal reference to the tiling overlap value.
virtual void IPrintData::SetTrappingMode (const int32 trappingMode)
pure virtual

Set the trapping mode

Parameters
trappingModeIN one of kTrappingNone, kTrappingBuiltIn, kTrappingInRIP
virtual void IPrintData::SetUseDocumentBleed (const bool16 useDocumentBleed)
pure virtual

Set to use the document bleed amount or not

Parameters
useDocumentBleedIN kTrue if using the document bleed values, kFalse otherwise
virtual void IPrintData::SetWhichPages (const int32 whichPages)
pure virtual

Set which pages to print, all pages or page range

Parameters
whichPagesIN one of kAllPages, kPageRange
virtual void IPrintData::SetXScale (const PMRealxScale)
pure virtual

Set the X scale amount - only applicable if scale mode is kScaleXAndY

Parameters
xScaleIN PMReal reference to the X scale value.
virtual void IPrintData::SetYellowAngle (const PMRealyellowAngle)
pure virtual

Set the Yellow ink angle value

Parameters
yellowAngleIN PMReal reference to the Yellow ink angle value
virtual void IPrintData::SetYellowFrequency (const PMRealyellowFrequency)
pure virtual

Set the Yellow ink frequency value

Parameters
yellowFrequencyIN PMReal reference to the Yellow ink frequency value
virtual void IPrintData::SetYellowPrintInk (bool16 yellowPrintInk)
pure virtual

Set whether to print the Yellow ink or not

Parameters
yellowPrintInkIN kTrue if printing the Yellow ink, kFalse otherwise
virtual void IPrintData::SetYScale (const PMRealyScale)
pure virtual

Set the Y scale amount - only applicable if scale mode is kScaleXAndY

Parameters
yScaleIN PMReal reference to the Y scale value.
virtual void IPrintData::Validate (bool16 updateStates = kTrue)
pure virtual

Validates print data and updates item values necessary to a ensure a consistent and valid context. Optionally updates the locked and relevant states of print data items. Differs from Normalize() by only updating items that are necessary for the Print UI to function properly. Most non-relevant items are not changed.

Parameters
updateStatesIN denotes whether to update the states of the print data items. Pass kTrue to update states, else kFalse.
virtual bool16 IPrintData::Verify ()
pure virtual

Verifies whether the print data is in a consistent and valid context.

Returns
kTrue print data is in a valid context, else kFalse
virtual bool16 IPrintData::VerifyStyle ()
pure virtual

Verify that the Printer Style name that is saved in this PrintData (in GetStyleName) is indeed a valid Printer Style and that all the settings are the same as this PrintData. If the PrinterStyle does not exist, is not valid, or does not verify, VerifyStyle will put an empty string into SetStyleName for this PrintData. There are some fields that are not compared. They are: GetFileName, GetPPDFile, GetDeviceCustomPaperWidthRange, GetDeviceCustomPaperHeightRange, GetDeviceCustomPaperWidthOffsetRange, GetWhichPages, and GetPageRange.

Returns
kTrue if the style verifies, kFalse if it is different