T
T
twiniii2020-01-23 10:48:25
css
twiniii, 2020-01-23 10:48:25

Can I print to a network printer from a browser?

I wonder if it is possible to make a page for printing on a network device? The functionality is simple, I went to the page, uploaded a file, chose a printer, printed it out. The network printer must not be connected, otherwise you can print using the browser's built-in printing. If this can be done, then by what means?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
O
OTCOcity, 2019-04-19
@pet1987

You can draw a rectangle under the menu with and use the property to distort And display the menu above it

T
Troodi Larson, 2019-04-19
@troodi

I think you can see how it's done right from the element's code.

R
res2001, 2020-01-23
@res2001

If you use regular OS printing, then the printer will have to be installed. The OS cannot print to an unknown printer. The printer can be installed, printed and removed.
Because network printer, then no one bothers to implement printing at a low level. But you are unlikely to want to do this - this is a long time, you don’t need to, and you will have to support all the different devices available yourself. From ready-made similar solutions - OS spooler :)

R
Roman Molchanov, 2020-01-23
@Dobryak88

1) Organize the download page on the server.
2) Depending on the selected printer, the document is saved to a specific directory.
3) On the server, connect all the necessary printers.
4) According to the scheduler every minute, for example, send a task to the printer for all documents from the corresponding directory.
Don't forget to clean up the directory after printing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question