Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

printing - Print Multiple HTML files automatically using a printer/Network Printer

I looking for a solution to print multiple HTML files/URLs to print automatically from the printer with Just one click from my custom android app.

So earlier I use to print these multiple files using Google Cloud API. So using that API we use to add those files to the Google cloud and then Google Cloud automatically prints those HTML files from the printer which is configured. Since Google cloud is no more available to use so I am looking for an automatic solution.

Is there any solution for printing multiple HTML files using EPSON printer tm-t20 by using some API OR some android code which I can integrate to print these HTML automatically?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

This is a very broad question. I suggest asking a series of more focussed questions to get specific answers to the various problems you are faced with. Anyway here are some ideas for you...

There are a few things going on here. You need to process a URL, convert that URL into something printable (probably a PDF file) and then automate the printing of it on your Epson printer.

Software is available to automatically print documents that appear in a folder on your network, so you can use that kind of thing to print PDFs. Google "automatically print pdf files in folder" and find something that will work with your printer.

For the other problem of getting something printable from a URL, I presume you do not wish to code up your own solution, so perhaps you can find an App to render HTML to PDF and save the file to a folder or network location. Have a look at IFTT, there is an app there called Pocket, that can convert a URL to PDF and save it to Google Drive. If you link Google Drive to the folder on your network that automatically prints documents, perhaps you will have a solution!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...