xxxxxx
ソースコードが利用可能で、メールを送信するためにメールを送ります!
xxxxxx
1分のコードで数分で印刷できます。それはあなたの意図を作成するのと同じくらい簡単で、Escフォーマット文字列を追加して(サービス)の意図を起動します。
https://bitbucket.org/fidelier/posprinterdrivertest/src
今すぐSI可能なDirect Logo印刷Proバージョンでは、ロゴを選択してください。 configとそれはすべての文書の上に印刷されます。
AndroidデバイスWebのWebから印刷します。リンクを作る:
href = "com.fidalier.printfromweb:// $ biguhw $ $ printから$ intro $$小さな$印刷小さい文字$ intro $
- > $ intro $
- > $ intro $
- > $ intro $$ intro $$ intro $$ intro $$ cut $$ intro $ "webからのテストプリント
サーバーからの印刷!
webでの指示を読む
タグを開いて閉じる
$ small $
$ small $
$ smallh $ $ smallh $ダブルハイト
$二重幅の小さいサイズの小さいサイズのための小さいサイズ
ダブルハイトと幅の小さいサイズのための$ smallhw $
$ smallu $
$ smalluh $ $ smalluh $二重Hightの小さいサイズ二重幅が下線を伴う小さいサイズの$
$ smalluhw $
$ big $
$ BIG $
$ BIG $
$ bigh $
ダブルハイトと幅を持つ大きなサイズの大きいサイズの$ bigw $
$ cut $を追加するには引き出し
ejemplo
intent intentprint =新しい意図();
intentprint.setAction(intent.action_send);
intentprint.putextra(intent.extra_text、datatoprint);
intentprint.settype( "text / plain");
this.startActivity( IntEntprint);
enlace director:
string dataToprint = "$ big $ this $ intro $ posprinterdriver.com $ intro $$ intro $$ cut $$ intro $";;
IntentPrint = New Intent();
intentprint.putAction(intent.action_send);
IntentPrint.putExtra(intent.extra_text、datatoprint);
IntentPrint.putExtra( "printer_type_id"、 "1"); // for ip
intentprint.utextra( "printer_ip"、printeripaddress);
intentprint.putextra( "printer_port"、プリンタポート);
// Link USB:Port Direct
IntentPrint.utExtra( "printer_type_id"、 "3");//
intentprint.putextra( "printer_u SB_PRODUCT_ID "、USBProductid);
IntentPrint.putExtra(" printer_usb_vendor_id "、usbvendorid);
intentprint.putextra(" printer_usb_device_id "、usbdeviceID);
// link bt:port direct
intentprint.utextra ( "printer_type_id"、 "4"); // Bluetooth用
intentprint.putextra( "printer_bt_adress"、btdevice);
intentprint.settype( "text / plain");
Intentprint。 SetType( "text / plain");
log.i(internalclassname、 "sendDataTobtPrinter Start Intent");
posibilidad de envio de intent especial
Intent intentPrint = new Intent();
intentPrint.setAction("com.fidelier.posprinterdriver.PrintActivity");
intentPrint.putExtra(Intent.EXTRA_TEXT, "$intro$PRINT FROM VIRTUAPOS$intro$");
intentPrint.setType("text/plain");
Log.i(internalClassName, "sendDataToIPPrinter Start Intent");
activity.startActivity(intentPrint);