I understand that you can use the printer_write function to print out text with PHP on a printer attached to the server. But can you use this function to print a pdf file that is located on the server?
Thanks in advance!
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.
It took alot of tinkering but I finally came up with:
I couldn’t get Foxit to use a smaller label size with the Brother printer, it would default to a 4×6″ label and result in errors. (Using Brother QL-1060N). –Though, I must note that it would work fine with the default label size.
I got around this using Adobe Reader 9 and leaving it always open on the server computer, with appropriate print settings. I use 9 because for some reason Adobe Reader X, on every label after the first one, will be 1 ACSII character off. (EG. 1=2, 8=9, =!).
Thanks Karl. I hope this is of great use to future readers! =)
Happy coding