Java to printer ?
I am not sure exactly where to post as I am new here. I have been looking for a good Java forum and I believe I am in the right place to help me learn as I continue my journey through college.
Well, my parents own a business and I want to create a form and implement it onto their website where individuals can place orders and I will build the form from the ground up. The order would be for "cakes" as they own a bakery and I am going to create a pricing guideline depending on options they choice. I was wondering if for a beginner (I am currently leaving the beginner stage but in comparison to many I still am a beginner) will it be possible for me to create this form with little trouble. The main thing I would have trouble with is I want the order form to print out from a local printer every time someone submits a form.
Re: Java to printer ?
You haven't provided us with enough information, or really asked a specific question that is easy to answer. You mention the words website and form...how does this involve java?
Re: Java to printer ?
Do you want the order form to print to a local printer in your parent's business, or a local printer for the user (the user's personal printer)?
One thing you have to consider when programming an applet in java (which is what this would be) is that the applet is ran locally on the user's computer, not the website's server. So if you wanted to notify your parents in some way when an order is submitted, you would have to somehow send a notification to the web server (possibly via a servlet). Now, just because the applet is ran on the user's machine, doesn't mean you cannot modify files on the web server (provided you have the correct permissions). You would probably update files via an FTP query.
Think of this more as a message system. The user inputs a message, then send it. The message goes through the server and notifies the user receiving the message. And then the message being recieved is displayed to the user. You need to figure out how to notify the recieving user (in this case, your parent's business) that a message (or order) has been sent/submitted. I personally do not know how to do this, but other people on this forum may have some additional advice.