A_Clear_MemoryEx method

void A_Clear_MemoryEx(
  1. int nMode
)

A_Clear_MemoryEx()

PURPOSE Clear resident memory - RAM or Flash memory. PARAMETER nMode; 0 --> Printer Default 1 --> RAM 2 --> Flash EXAMPLE A_Clear_MemoryEx(1); REMARK The A_Clear_MemoryEx function will clear all the graphics and soft fonts which stored in the printers memory(RAM or flash memory). Normally this function is sent before the A_PrintOut(). Otherwise the graphics and fonts will be accumulated, and cause memory overflow. When "memory full" occurs, the printer will erase the first-in graphics or fonts. To avoid memory full and save processing time, you may send this function before the A_PrintOut().

Implementation

void A_Clear_MemoryEx(
  int nMode,
) {
  assert(nMode >= 0 && nMode <= 2, 'Input a value between 0 and 2');
  return _A_Clear_MemoryEx(
    nMode,
  );
}