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