Click here to Skip to main content
15,949,746 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have an app to make and the basic idea is that a client sits on the master computer whilst a server on the other. You drag and drop a file from one of the child computers, enter the number of copies and send it. (VIA TCP) it is received on the other end and printed.

The problem I am facing is that HOW TO send the FILE (.docx, .pdf, .png, .pptx, etc. ANY FORMAT) for printing.

What I have tried:

i have tried php_printer but it has loads of issues and it cant print all the files
Posted
Updated 23-Feb-16 4:13am

1 solution

The machine that's going to do the printing needs to have every piece of software installed that created every file type you want to support. No, there is no way to do this without that. The software that created the file type, or some other software that can understand and render the file format, is the only piece of software that can print it.

Windows alone does not know how to handle these file types and therefore cannot print them.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 23-Feb-16 10:19am    
5ed. It's important to understand that the Web client works on many systems using different platforms, not just Windows, and even with Windows, in general case, no software can be installed to "know" all those files. Moreover, nothing should be triggered by a Web application without the user consent. And the user knows better what to do with the files delivered.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900