1.

Solve : lpr command?

Answer»

Hello,

I do not have very much KNOWLEDGE about DOS, but I have been reading. I am trying to use the lpr command to print a pdf document, but is there a WAY I could incorporate the lpr command in my webpage so when the user clicks print it will execute that command? Or do you have a better recommendation to use the lpr command with a more user friendly than command prompt?
Do you WANT a visitor to go to a web PAGE and print that page?
If so, you can not just use a DOS command. You don't know what OS he has. Maybe he is using an APPLE, not DOS.
In JavaScript you can print a page.
Print a Web Page Using JavaScript
Of course, that is not for a PDF file.



Discussion

No Comment Found