IntentPrint.putExtra("printer_usb_vendor_id", usbVendorId) IntentPrint.putExtra("printer_usb_product_id", usbProductID) IntentPrint.putExtra("printer_type_id", "3") // For USB IntentPrint.putExtra("printer_port", printerPort) ![]() IntentPrint.putExtra("printer_ip", printerIpAddress) IntentPrint.putExtra("printer_type_id", "1") // For IP IntentPrint.putExtra(Intent.EXTRA_TEXT, dataToPrint) String dataToPrint="$big$This is a printer test$intro$$intro$$intro$$cut$$intro$" $bighw$ For big size with double hight and width $smalluhw$ For small size with double hight and width underline $smalluw$ For small size with double width underline $smalluh$ For small size with double hight underline $smallhw$ For small size with double hight and width $smallw$ For small size with double width $smallh$ For small size with double hight ![]() Just make a link:Ī href="://$biguhw$Print From Web$intro$$small$Print small letter$intro$->$intro$->$intro$->$intro$$intro$$intro$$intro$$cut$$intro$"Test print from web/a ![]() Now it si possible direct logo printing on pro version, just choose a logo on config, and it will be printed on top of every document. It's as simple as creating your intent, adding your ESC formatted string and start the (service) intent. You can be printing in minutes with just a couple lines of code. Source Code now avaliable, send mail to ask for it!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |