I know you can write files using PHP, but I was wondering if it was possible to print these files directly to a printer, on a Windows machine. Are there any pre-built functions to do this?
EDIT: I’m on localhost by the way
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are asking about whether it is possible to print from the server to a machine the server happens to connect to, then the answer is, Yes. (With CUPS it is possible to get this working with Linux/Mac).
If you’re trying to get something to print on a user’s printer, you will need to use JavaScript