*
The moose likes Java in General and the fly likes Print on A4 scaned File data from input Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Print on A4 scaned File data from input " Watch "Print on A4 scaned File data from input " New topic
Author

Print on A4 scaned File data from input

Georgios Chatziefstratiou
Ranch Hand

Joined: May 26, 2012
Posts: 83
Hi there ,

how can i print data to a scanned file.

What i mean is i have scanned one A4 File (application form ) and i want to fill this with input from the user and then print it.

Any help is most welcome.
Georgios Chatziefstratiou
Ranch Hand

Joined: May 26, 2012
Posts: 83
Horche Gratsias wrote:Hi there ,

how can i print data to a scanned file.

What i mean is i have scanned one A4 File (application form ) and i want to fill this with input from the user and then print it.

Any help is most welcome.


anyone?
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11175
    
  16

Horche ,

My guess as to why you're not getting any responses is that your question is not terribly clear. I, for one, am not sure what you mean by an "A4 File (application form)".

And by "scanned', do you mean you have scanned it in as (say) a .jpg?

Part of the deal is that for you to get help, you need to make it as simple as possible for folk to help you. And remember, you are dealing with an international audience.

So I would suggest your read our FAQ on HowToAskQuestionsOnJavaRanch (<--that is a link). Give us more information on what EXACTLY you have done, and what you are trying to do.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Georgios Chatziefstratiou
Ranch Hand

Joined: May 26, 2012
Posts: 83
fred rosenberger wrote:Horche ,

My guess as to why you're not getting any responses is that your question is not terribly clear. I, for one, am not sure what you mean by an "A4 File (application form)".

And by "scanned', do you mean you have scanned it in as (say) a .jpg?

Part of the deal is that for you to get help, you need to make it as simple as possible for folk to help you. And remember, you are dealing with an international audience.

So I would suggest your read our FAQ on HowToAskQuestionsOnJavaRanch (<--that is a link). Give us more information on what EXACTLY you have done, and what you are trying to do.


Hi fred

thanks for your response

i think you have a point.I will try to make it as clear as i can .

I have scanned one application Form A4 size (normal application Form registration Form)and i am trying to use it with one application.That means that i want to make the scanned form ready to accept input from keyboard when i open it from a java web application


example the application form has name:_____________ <---- i want this to be ready to accept data and save the data with the file together
last name:____________ <---- i want this to be ready to accept data and save the data with the file together

so when i open the form i want to load the form but also to be able to input data on the fields i said before.I have other fields but thats the idea of what i want to do.

I hope it's clear enough.

Any ideas are most welcome.
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 7554
    
  18

Horche Gratsias wrote:so when i open the form i want to load the form but also to be able to input data on the fields i said before.I have other fields but thats the idea of what i want to do.

I think you're confusing the business of collecting the details with printing the form; and I'm still not quite certain what any of this has to do with scanning an image.

Suppose, for sake of argument, this is a Tax form:
  • You're going to need to have some way of collecting Tax details from a customer.
  • You're going to need some way of printing those details out in a predefined format.

  • but neither activity is related to the other, except possibly via a TaxDetails object; and the latter has absolutely nothing to do with scanning - unless you're talking about a pre-printed form; in which case it's use would probably be controlled by selecting a tray on the printer.

    On the other hand, if you actually want the details to be part of the print image, you'd probably be better off using something like a PDF or PostScript generator; but again, this has nothing to do with scanning.

    Winston

    Isn't it funny how there's always time and money enough to do it WRONG?
    Articles by Winston can be found here
    Georgios Chatziefstratiou
    Ranch Hand

    Joined: May 26, 2012
    Posts: 83
    Winston Gutkowski wrote:
    Horche Gratsias wrote:so when i open the form i want to load the form but also to be able to input data on the fields i said before.I have other fields but thats the idea of what i want to do.

    I think you're confusing the business of collecting the details with printing the form; and I'm still not quite certain what any of this has to do with scanning an image.

    Suppose, for sake of argument, this is a Tax form:
  • You're going to need to have some way of collecting Tax details from a customer.
  • You're going to need some way of printing those details out in a predefined format.

  • but neither activity is related to the other, except possibly via a TaxDetails object; and the latter has absolutely nothing to do with scanning - unless you're talking about a pre-printed form; in which case it's use would probably be controlled by selecting a tray on the printer.

    On the other hand, if you actually want the details to be part of the print image, you'd probably be better off using something like a PDF or PostScript generator; but again, this has nothing to do with scanning.

    Winston


    Hi Winston


    I think you're confusing the business of collecting the details with printing the form; and I'm still not quite certain what any of this has to do with scanning an image.

    no that the result of this
    first i have to fill the form with user input (the form is scanned so that i can use it at once it has .doc format i can also create a .pdf then when i call the form if i want i can input data to this form name address so on

    then i have to print it .


    With scanning i mean that i have the Form scanned so that i use at once .Because it it takes to much time to create a new one from word.


  • You're going to need to have some way of collecting Tax details from a customer.




  • yes i will make the input.
  • You're going to need some way of printing those details out in a predefined format.



  • yes how can i do that any idea where to look?Is it clear now?
    fred rosenberger
    lowercase baba
    Bartender

    Joined: Oct 02, 2003
    Posts: 11175
        
      16

    Horche Gratsias wrote:
    Hi Winston


    I think you're confusing the business of collecting the details with printing the form; and I'm still not quite certain what any of this has to do with scanning an image.

    no that the result of this
    first i have to fill the form with user input

    No, you don't. Getting the data has nothing to do with 'filling in the form'. Perhaps the form tells you what data you need to get, but you should separate out the logic.

    For example, getting a person's first name.

    You may want to get it so you can print "Hello, Fred". You may want to get it to store it in a database. You may want to get it to print it out eventually. But it doesn't matter what you want to do with it once you have it - you just need to get it.

    Now, eventually, you may want to make the 'getting it' LOOK like the person is filling out a form - but again, that is a separate issue.

    Good code keeps unrelated things separated. Getting the data should not be tied to printing the data or displaying the data.
    Georgios Chatziefstratiou
    Ranch Hand

    Joined: May 26, 2012
    Posts: 83
    fred rosenberger wrote:
    Horche Gratsias wrote:
    Hi Winston


    I think you're confusing the business of collecting the details with printing the form; and I'm still not quite certain what any of this has to do with scanning an image.

    no that the result of this
    first i have to fill the form with user input

    No, you don't. Getting the data has nothing to do with 'filling in the form'. Perhaps the form tells you what data you need to get, but you should separate out the logic.

    For example, getting a person's first name.

    You may want to get it so you can print "Hello, Fred". You may want to get it to store it in a database. You may want to get it to print it out eventually. But it doesn't matter what you want to do with it once you have it - you just need to get it.

    Now, eventually, you may want to make the 'getting it' LOOK like the person is filling out a form - but again, that is a separate issue.

    Good code keeps unrelated things separated. Getting the data should not be tied to printing the data or displaying the data.

    some more details
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Print on A4 scaned File data from input
     
    Similar Threads
    java printing - printing a pdf
    Application for Bar Code Reader/Scanner
    Accessing data from database
    how to crop an image file
    getting scanner data from comm api