import { AriaPrintCommon } from './common';
import * as application from '@nativescript/core/application';
export class AriaPrint extends AriaPrintCommon {
    /**
     * Print Text & QRCode on printer
     * @param Printer printer
     * @param PrintData data
     */
    print(printer, data) {
        const ariaPrint = new me.ariapos.print.AriaPrint(application.android.context, printer.width, printer.charsPerLine, printer.dpi, printer.ipAddress, printer.qrCodeSize);
        ariaPrint.print(data.text, data.qrCode);
    }
    /**
     * Feed Paper
     * @param Printer printer
     */
    feedPaper(printer) {
        const ariaPrint = new me.ariapos.print.AriaPrint(application.android.context, printer.width, printer.charsPerLine, printer.dpi, printer.ipAddress, printer.qrCodeSize);
        ariaPrint.feedPaper();
    }
}
//# sourceMappingURL=index.android.js.map