MKI_PRINT_ENTRY (Basic Classes) Changed in Version 2024.0

www.CAD6.com

C++ Syntax

class MKI_PRINT_ENTRY

{

  public:

 

  MKI_COMMENTLONG m_szHeaderL,

                  m_szHeaderC,

                  m_szHeaderR,

                  m_szHeaderL,

                  m_szHeaderC,

                  m_szHeaderR;

 

  double m_dScale,

         m_dOffset;

  MKI_RECT m_cBorder;

 

  __int32 m_nCopyNum,

          m_nOptions,

          m_nPrintMode,

          m_nPageOrient,

          m_nPageRangeMode;

  MKI_COMMENTLONG m_szPageRangeText;

 

  __int32 m_nSerialMin,

          m_nSerialMax,

          m_nSerialPerJob,

          m_nSerialFileMode;

  MKI_COLUMNNAME m_szSerialEntry;

 

  void

  Init( void );

};

 

This structure contains the settings for one printer.

 

Element Description

HeaderL Changed in Version 2019.1

[MKI_COMMENTLONG] Left-aligned header text for each printed sheet.

HeaderC Changed in Version 2019.1

[MKI_COMMENTLONG] Left-aligned header text for each printed sheet.

HeaderR Changed in Version 2019.1

[MKI_COMMENTLONG] Left-aligned header text for each printed sheet.

FooterL Changed in Version 2019.1

[MKI_COMMENTLONG] Left-aligned footer text for each printed sheet.

FooterC Changed in Version 2019.1

[MKI_COMMENTLONG] Left-aligned footer text for each printed sheet.

FooterR Changed in Version 2019.1

[MKI_COMMENTLONG] Left-aligned footer text for each printed sheet.

Scaling

[double] Scaling of the print-out. Must be a non-zero, positive value.

Offset

[double] Additional page size (horizontal and vertical) in [mm]. Will be added to each page's size when setting the paper size based on the page. Must be a positive value.

Border

[MKI_RECT] Printing borders in [mm]. Must contain positive values.

CopyNum

[__int32] Number of copies to be printed. Allowed range is: 1 <= CopyNum <= 10000.

Options New in Version 2024.0

[__int32] Print page scaling mode (see MKI_PRINTOPTION_*).

PrintMode

[__int32] Print page scaling mode (see MKI_PRINTMODE_*).

PageOrient

[__int32] Orientation of the printer page (see MKI_PRINTORIENT_*).

PageRangeMode

[__int32] Determines the output scope (see MKI_PRINTRANGE_*).

PageRangeText Changed in Version 2019.1

[MKI_COMMENTLONG] Contains the page range definition in text form (e.g. "1 - 8, 10, 12").

SerialMin

[__int32] One-based index of the first database record to be printed during serial printing.

SerialMax

[__int32] One-based index of the last database record to be printed during serial printing. Use 0 to indicate the last record available.

SerialPerJob

[__int32] Number of database records after which a new print job will be started. When performing a serial printing to files, this value should usually be set to 1, and SerialSplit should be set to true.

SerialFileMode

[__int32] Determines what information shall be added in brackets to the output filenames if the serial printing goes to files (see MKI_PRINTSERIAL_*).

SerialEntry Changed in Version 2019.1

[MKI_COLUMNNAME] If SerialFileMode contains the MKI_PRINTSERIAL_ENTRY flag, the content of the print job's first record with this name will be added. If such an entry cannot be found, the phrase "(undefined)" will be added.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH