Build component to connect Java Application to device printer - java

Some idea about how can I connect a Java Application to a printer device (and thermal printers too ) and print the information that I want?
My idea is connect from LPT, COM and TCP.
If you have links to some manual it would be appreciate I do not find so much clear information about this and I am so interested in that.
Thanks.
PD: Sorry for my english skills.

Related

Print pdf using usb printer

I have pdf file and I want to print it via usb printer but I did not find any thing helpful
I try this github repand it doesn't help me do what I want
I also search on other stackoverflow questions and nothing.
Anything for doing that please.
I think supporting thermal printers would be nice for the first step. This library looks well elaborated: Android library for ESC/POS Thermal Printer
In addition, there is an article on medium.com about this library with a sample project.

Chat in local area network in android

I am trying to building a LAN messenger application in android.
I searching on internet for reference project but while reading their code i am not able to understand what actually going on.
Can anyone help me or point me to some other good resources that can help me in my project will be great.
It is enough for me if some one told me key points(what are the things required for this kind of project) and just give me little push so that i can start.
An idea would be to use the open source Alljoyn framework to exchange messages on the LAN. There is also a chat example that you can download, run and examine.
More info here:
https://allseenalliance.org/framework/documentation/develop/run-sample-apps/chat

Java lan video chatting

I want to build a project of video chatting + messaging by java without internet connection through *lan*. But i can't get any idea about what to do and how to do? I am beginner in java GUI. So I want to know the topics that i have to learn and from where?
well, you will need to look up data streaming, showing video stream on panel and socket and protocol manipulation in the java docs and other online guides. those are the foundation you will need for the project. as for the GUI, it is not hard.. there are many tutorials out there.
if you face a problem we will help, but we will NOT do it for you... start something first.
examples:
GUI
Network basics
Video streaming
do your research... that is the way to learn
also, research steps of making (analyzing) a project

Phonegap - Printing bluetooth

I have the following problem:
I have a MZ320 printer Zebra works by bluetooth, but application is under develop phonegap.
I found this plugin (https://github.com/EionRobb/phonegap-print-plugins), but do not know how to implement it (and install).
I am a neophyte at this, please help.
My English sucks, sorry
I pushed on Github a simple cordova/phonegap plugin to send ZPL data to printer. Use it is very simple. Visit project page for more infos.
I am not familiar with the plugin you referenced. I can suggest two ways: (1) Embed Zebra SDK in your app and use it to implement printer discovery, connection and printing to MZ320. (2) Use centvia app to handle printer discovery, connection, and communications and invoke it from your app to send your print data to the MZ320.

Integrate a USB connected scale to a web app with java or some other framework?

I am trying to integrate any kind of a postage scale with my web app so that I can get the current weight from my application. Most computer connected scales seem to use USB but I am not finding anything promising for web integration.
Any advice is appreciated, thank you!
You could use something like this:
https://github.com/JaggedJax/CIO_Scale
You probably want a Java Applet though as there is no way for JS to access the USB devices on your host machine.

Categories