[英]How to print image or Pdf file using TSC DA200 Printer?
我已經成功打印了位圖,但是無法在4 * 4頁面上打印圖像,並且想要打印pdf文件。 但找不到任何可打印pdf文件的內容。
我正在使用此代碼
TscUSB.openport(mUsbManager,device);
TscUSB.setup(101 , 101 , 4, 15, 0, 3 , 0);
TscUSB.clearbuffer();
TscUSB.sendcommand("TEXT 0,0,\"1\",0,1,1,\"\"\r\n");
Bitmap myLogo = BitmapFactory.decodeResource(MainActivity.this.getResources(), R.drawable.qr);
TscUSB.sendpicture(250,250,myLogo);
TscUSB.sendcommand("PRINT 1\r\n");
TscUSB.closeport(3000);
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.