XP P323B printer cannot print text

printer(XP P323B) i correctly print images and barcode but when i print text it prints nothing here is my code in javascript:

import escpos from 'escpos';
import escposUsb from 'escpos-usb';
const device = new escposUsb(0x2D37, 0xCBB4); // Replace with your printer's Vendor ID and Product ID
const options = { encoding: "GB18030" /* default */ }
const printer = new escpos.Printer(device,options);

// Open the device and print a sample text
device.open(() => {
  printer
  
    .text("Hello, World!")
    .cut()
    .close();
});

no text printed but only the printer ejected and prints nothing
i need your help