A_Print_Out method

int A_Print_Out(
  1. int width,
  2. int height,
  3. int copies,
  4. int amount,
)

A_PrintOut()

PURPOSE Perform printing function.

SYNTAX int A_PrintOut(int width, int height, int copies, int amount);

PARAMETER width; Width - 1 or 2. height; Height - 1, 2 or 3. copies; Specifes the label quantity. Value:1 ~ 9999. amount; Specifies the number of labels to be generated before incrementing/decrementing the fields. Value:1 ~ 99.

RETURN 0 -> OK. Reference AW-Error.txt file.

EXAMPLE A_PrintOut(1, 1, 3, 1);

REMARK The A_PrintOut function access data of all commands. This command has to be placed after all function and before aClosePrn().The width and height parameter is setting width and height pixel size. You can set the pixel size except the smallest one by this function. Reducing the resolution will causes the image pixel to be amplified and generate the zigzag output. The amount parameter can be used to incrementing or decrementing field values more than one label which can be set only once during label formatting mode.

Implementation

int A_Print_Out(
  int width,
  int height,
  int copies,
  int amount,
) {
  assert(width == 1 || width == 2, 'width value must be 1 or 2.');
  assert(height == 1 || height == 2 || height == 3,
      'height value must be 1, 2 or 3.');
  assert(copies >= 1 && copies <= 9999, 'copies must be between 1 and 9999');
  assert(amount >= 1 && amount <= 99, 'amount must be between 1 and 99');
  return _A_Print_Out(
    width,
    height,
    copies,
    amount,
  );
}