Web form when submitted prints to a printer

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
SParikh
Forum Newbie
Posts: 5
Joined: Fri Oct 03, 2008 7:26 am

Web form when submitted prints to a printer

Post by SParikh »

Hello,

I have an online application for scheduling appointments for a hospital. Now I want to have it printed to a printer in the call center. What I want to accomplish is that when a user fills out the form and submits, the data goes to a printer and prints it in real time. The web server is apache. The server and the call center printer are not located in the same place, but are on the same network. Is this doable, please advise and suggest any alternatives that any of you may think of.

Thanks
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: Web form when submitted prints to a printer

Post by jayshields »

It'd be easier and better to just use a Javascript function to print out the form contents on click, rather than having a form submit. Look into Javascript printing.
SParikh
Forum Newbie
Posts: 5
Joined: Fri Oct 03, 2008 7:26 am

Re: Web form when submitted prints to a printer

Post by SParikh »

What I want is the form from the internet is filled out by the client and that is printed on my printer on real time. It is more like ordering a pizza online, I believe the order is printed out on the other end, I am not sure.

Thanks
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Web form when submitted prints to a printer

Post by VladSun »

There are 10 types of people in this world, those who understand binary and those who don't
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: Web form when submitted prints to a printer

Post by jayshields »

Sorry, didn't read your whole post. Follow Vlad's link.
Post Reply