001package com.pax.dal; 002import com.pax.dal.exceptions.PrinterDevException; 003 004/** 005 * <div class="zh">启动打印机函数Start(IPrnListener listener)的回调接口</div> 006 * <div class="en">Start the callback interface of the printer function Start(IPrnListener listener)</div> 007 */ 008public interface IPrinListener { 009 /** 010 * <div class="zh"> 获取当前打印行数的索引 </div> <div class="en"> Gets an index of the number of lines currently printed </div> 011 * 012 * @throws PrinterDevException 013 */ 014 public void getIndex(int index); 015}