Updating a register and print only the updated portion

Hi,
I have a scenario where I need to update a register. The register is a pdf form (Acro Form) and I am updating it via a swing application that I have developed.
When I first create the register, the user will print it and file it for his records. Subsequently, the user might need to update the register. I fill up more fields programmatically on the pdf and now when he prints it, he will supply the already the existent register sheet that he had printed and filed earlier, to the printer, and only the line that was updated should be printed on the correct slot.
Is this possible in java? I don't mind replacing the pdf with say an excel sheet or html if that can solve this problem.
Can anyone provide me with any links that I can read up on for this?
Thanks
Sethu

Hi,
No I cannot expect the clients to have that sort of a printer, unfortunately. A thought struck me yesterday, I am basically using a pdf that has fillable fields (Acro Forms). This I am programtically filling in JAVA. That is simple enough to do using the itext library.
Initially, the first time I print that sheet, I am basically printing a table. What if I have 2 sets of this pdf, once that has the table border, header, etc and the other pdf will only have the form textfields. The textfields in the second pdf will be in the same position and have the same dimension as the original. Only that the second pdf will be devoid of all other printable characters like table borders, etc and will only have the text fields. I will now populate only the form fields that pertain to the entries that need to be added, so that only that gets printed out.
Since its a pdf, the specification says it looks exactly like how its going get printed. So I am guessing, this should work. If I make the textfield dimension a bit bigger, so that even if the printer during feeding doesn't align it perfectly, it wouldn't be too bad. Again, if the user feeds it incorrectly, nothing can be done about it. He will need to issue a fresh print of the sheet.
Any thoughts on this? Its a bit tedious to do.. but what the hell.. give it a shot?
Sethu

Similar Messages

  • How to remove unnecessary data and print only the required data in JSP

    Hi all
    The following output is from TCP/IP connection of RFID Reader.
    Connected to: /192.168.0.3
    EVT:DCE DCEVERSION 3.2.0.0
    EVT:DCE READER IM5 RFID Reader Ver 3.29
    EVT:DCE READERINFO Basic Reader Interface Version Q
    EVT:DCE READERINFO FCC 915Mhz
    EVT:DCE READERINFO Copyright (C) 2002-2006 Intermec Technologies Corp.
    EVT:DCE FIXEDATTRIB CHKSUM=OFF
    EVT:DCE FIXEDATTRIB TTY=OFF
    EVT:DCE FIXEDATTRIB ECHO=OFF
    OK>
    EVT:TAG H02000031323334000151E62B 1 1
    EVT:TAG H02000031323334000151B775 1 1
    For my JSP case I have converted above output's program in javabean I want to print only tagID and other values in a table in my JSP page. Could anybody let me know how to ignore the unnecessary data and print only values after EVT:TAG in three columns and rows, besically rows are not fixed because it depends on reader how many tags it detects?
    Thanx
    kvijai

    Hi,
    Try this
    private function doFilter(item:Object):Boolean
         var searchString:String = myTextIp.text.toLowerCase();
         if (item.name.search(searchString) == 0)
         return true;
              else
         return false

  • How do I create a form field ONLY template in Acrobat 9 Pro that will let the user enter and print only the form field data on a pre-printed form?

    This template will be used to type in information that will then be printed on an agency's official, barcoded form loaded in a printer (instead of blank paper.)  Only the user-entered info should print on the pre-printed form.  Users will use Adobe Reader to complete their templates; they do not have Acrobat.  Thank you!

    Use the template as non-printable background and add the form fields.

  • How to record and plot only the zoomed portion of a Graph or Chart?

    I'm using LabVIEW 8.6 and have problem plotting only zoomed part of a graph or chart onto other. Please help.

    Sorry, your VI makes absolutely no sense. First you slowly generate chart data, then you write it to a file, read it back from a file, do some exceedingly elaborate while loop that could be done with almost no code at all, then chart all data at once again. The stop button in the while loop makes no sense, because the while loop executes so fast that it is not possible to actually stop it while it is running, only if the button has already been pressed during the first FOR loop.
    What is the purpose of the two arrays? They don't seem to serve any purpose. Why are you getting the array size with every iteration of the loop? Once, right before the loop should be enough. Index array is resizable, so only one instance is enough. Instead, array to cluster is probably all you need.
    The sequence structure is only needed because you write, and then immediately read from the file. All you probably need is to write to the file and wire the 2D array to the seconds structure. Now we have a data dependency and the sequence structure is no longer needed.
    Can you tell us a little more how you are zooming. Do you want to zoom any of the two graphs and automatically zoom the other accordingly?
    As it currently stands, only the first chart gets data, so zooming the other one seems useless. Once the second chart has data, the VI stops and you can't do much either programmatically. Please explain how you are zooming.
    LabVIEW Champion . Do more with less code and in less time .

  • How do I print only the text on the monitor screen?

    I would like to be able to print only that portion of a text that is on the monitor screen. How do I do that?
    I have an Epson Workforce 325 printer, and an HP desktop computer PC

    Please see the following to print only the text portion of the web page. I am assuming you wish to print just the text & not the ads or additional irrelevant items to avoid wasting ink.
    See:
    [[Printing a web page]]
    '''If this solved your issue, please select ''solved ''& chose the appropriate ''solution'' to close this ticket/question posting'''.

  • How can I print ONLY the active document?

    Whenever I go to File/Print the darn PSE 9 program sends all of the working files in the bin to the printer. I've searched online for 2 hours now looking for an answer.
    I like to work with having several to many files in the 'bin' and prefer to only print the active file I'm currently working on without having to close the 'working files' before I can print. How can I print ONLY the active document or file in the project bin? Please help, I've upgraded from PSE 3 to PSE 9 and really like the updated features, but this one pain in the neck default is getting the best of me.

    Thanks for your help, that works nicely. It is good to have control of the printer again.

  • HT5048 Hi, 1.34 is too much for me ... can I deselect Catalan, Croatian, Greek, Hebrew, Romanian, Slovak, Thai, and Ukrainian languages and download only the OS with less GB?

    Hi,
    1.34 GB is too much for me to download ...
    Can I deselect Catalan, Croatian, Greek, Hebrew, Romanian, Slovak, Thai, and Ukrainian languages and download only the OS with less GB?
    I tried several times but not successfull ...
    please help me to update my OS.
    thanks

    Are you asking why those non-ASCII characters are printing incorrectly? It's because the console is still treating the output as ASCII. The JVM is encoding each character as two bytes according to the UTF-8 spec, but the console is treating each byte as a separate, ASCII-encoded character. Changing the locale of the OS or the "file.encoding" property of the JVM doesn't affect the behavior of the console.
    When I run your code on my WinXP machine (leaving "file.encoding" at its default setting), I get this output: // __ System.getProperty("file.encoding"): |Cp1252|
    // __ |en_US|
    // __ |225|�|
    // __ |233|Θ|
    // __ |237|φ|
    // __ |243|≤|
    // __ |250|�|
    // __ |252|ⁿ|
    // __ |241|�|
    // __ |191|┐|
    // __ |161|�|
    // __ |251|√|
    // __ |224|α|
    // __ |223|▀|
    // __ |232|Φ|
    // __ |235|δ| The JVM is outputting the text as cp1252, but the console is treating it as cp437, its default codepage (encoding). When I change the console's encoding with the command "CHCP 1252" and run the code again, I get: // __ System.getProperty("file.encoding"): |Cp1252|
    // __ |en_US|
    // __ |225|�|
    // __ |233|�|
    // __ |237|�|
    // __ |243|�|
    // __ |250|�|
    // __ |252|�|
    // __ |241|�|
    // __ |191|�|
    // __ |161|�|
    // __ |251|�|
    // __ |224|�|
    // __ |223|�|
    // __ |232|�|
    // __ |235|�| I don't know if it's possible to change the encoding of the console in your OS, but that's not a showstopper. Just write the output to a file, then use a reasonably capable text editor to view the result. And there's no need to change all those OS/JVM settings; just specify the encoding when you open the file for writing: FileOutputStream fos = new FileOutputStream("out.txt");
    OutputStreamWriter osw = new OutputStreamWriter(fos, "UTF-8");

  • Please assist. How can I make all the photos on my Iphone visible? and not only the recently added ones? I'm using IOS 8

    Please assist. How can I make all the photos on my Iphone visible? and not only the recently added ones? I'm using IOS 8

    Did you move to iOS 8 via iTunes?  Your photos should all be on your iPhone 5s without any issues even if you updated via WiFi.  The update should have no impact on your photos other than to have moved any photos in your former Camera Roll to your Photos.  When opening the Photo App you should see Photos and Albums available at the bottom of the screen.  You can also look at Settings>General>About and looking down the list your should see the word Photos and a Count at the right.  This count should represent all of the photos in your iPhone.

  • Why cant I highlight part of a document and print only what is selected in safari?

    Why is it not possible to highlight and print the selection in Safari, thought the imac was supposed to do everything,  WRONG.
    I also have I.pad 2 and because it does not support adobe flash, I cannot open a magazine that I have each week, I have to do this on the imac, so when away from home it again doesnt do what I want it to.  Does everything people say.  WRONG AGAIN.
    Should have stuck with the laptop, it actually does do these things mentioned above.

    I purchased the iPad first and waited a year HOPING Apple would fix this problem OR at the least provide something comparable to WINDOWS!
    WRONG....and yes it is hard to believe for how ADVANCED Apple is.....that they don't have a simple easy program that allows you to HIGHLIGHT and PRINT ONLY what you highlight!
    But....they are making leaps and bounds.....at least you can now cut & paste....thats a good thing!?
    HOPEFULLY.......in the VERY,VERY NEAR FUTURE Apple will supply us with the simple software to do these simple time saving chores!
    (highlight and print ONLY what you highlight)
    Until then we have to cut and paste to several different apps or programs....hoping it will allow you to print ONLY WHAT THE USER WANTS TO PRINT!

  • How do you print only the first ten rows in a table?

    Hi everyone:
    I am trying to print only the first ten records by using <?for-each: <group name>?> and <?end for-each?>. Is there any stop tag that I could use to stop printing after the printing the first ten records without modify the XML data file? I am using XMLP Desktop 5.6.2. Thanks for your help!

    You are right kkretser. However, if your report have 2 or more layouts pages. You may want to output the necessary records to each page like the first 10 records to the first page the next the to the second page. Like you said I figure out now that you can use <?if:position()<10?> print out the rows and then on the second page layout, you can do <?if:position()>=10?>. Thanks to all of your replys, guys!

  • How do I print only the first page of multiple PDF documents?

    I have about 1,500 PDF files (scientific papers) that I need to print only the first page of... Any suggestions on how to do this as a single job or as a few jobs? The files are organized in a bunch of different folders, so if there was some way to do this folder by folder, that would be ok too. Thanks!

    Make sure that in System Preferences Printing & Fax pane you set the default printer to the one you want to use, then put all of these PDF files into their own folder, then open terminal and type the following (without hitting return afterward):
    lpr -o page-ranges="1-1"
    Then drag one of the PDF files into the terminal window (it will add it's path to the end of your command) and replace the file name with *.pdf, so it will look like this:
    lpr -o page-ranges="1-1" /Users/todd/Documents/My\ Folder/*.pdf
    Then hit return.

  • I have a DVD Acrobat Pro 9. I upgraded laptops and trying to install but the DVD is not readable. How can I get a new DVD or Download Acrobat Pro 1. The product is registered and I have the serial number. PS: Contacting Adobe on this issue is impossible..

    I have a DVD Acrobat Pro 9. I upgraded laptops and trying to install but the DVD is not readable. How can I get a new DVD or Download Acrobat Pro 1. The product is registered and I have the serial number. PS: Contacting Adobe on this issue is impossible... direct support stinks.

    Download AA 9 Pro from http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html. Make a new backup for your archive. You might also take the DVD to your library to see if it is a drive problem. You might also carefully clean the DVD with water and soap (do not use anything that would scratch the surface or you have destroyed it for sure) and see if that solves the problem. This is particularly an issue if you have finger prints or other crud on the DVD. However, it could also be a bad drive as I mentioned. Hopefully the download solves your problem in any case (I would backup the download to CD and/or backup HD).

  • HT2506 I am trying to fill out a PDF form from an internet site, but when I go to print it, none of the content prints, only the header of the document.  Help!

    I am trying to fill out a PDF form from an internet site, but when I go to print it, none of the content prints, only the header of the document.  Help!

    Instead of printing it, try saving it as a pdf from the print menu, and then printing the pdf out.

  • Sapscript printing only the last value

    Hello,
    Im currently coding subroutine for medruck.. My problem is sapscript is only printing the last value of the item for all items.. For example:
    Item # 1    10 pcs  10,000.00
    Item # 2     5 pcs   10,000.00
    Item # 3     5 Pad  10,000.00
    where actually the value of item 1 and item 2 is not 10,000.. sapscript prints only the price of item # 3 for the  first two items.. here is my code..
      TABLES: konv, ekko, ekpo.
      DATA: BEGIN OF tab OCCURS 0,
          brtwr LIKE ekpo-brtwr,
          ebelp LIKE konv-kposn,
          ebeln LIKE ekko-ebeln,
          knumv LIKE ekko-knumv,
          kbetr LIKE konv-kwert,
    END OF tab.
      DATA: sum TYPE p DECIMALS 2, gross TYPE p DECIMALS 2, val(16) TYPE c, d_knumv LIKE ekko-knumv, tab1 LIKE tab, val1(20) TYPE c,
            ext TYPE p DECIMALS 2, val2(20) TYPE c, extend TYPE p DECIMALS 2.
      REFRESH: tab.
      READ TABLE in_tab INDEX 1.
      CHECK sy-subrc = 0.
      SELECT brtwr ebelp ebeln FROM ekpo INTO TABLE tab WHERE ebeln = in_tab-value.
      LOOP AT tab.
        AT NEW ebelp.
          tab-kbetr = 0.
          ext = 0.
        ENDAT.
        SELECT SINGLE knumv FROM ekko INTO tab-knumv WHERE ebeln = tab-ebeln.
        SELECT SINGLE kbetr FROM konv INTO tab-kbetr WHERE knumv = tab-knumv AND kposn = tab-ebelp                                AND kschl = 'ZDEL'.
        ext = tab-brtwr + tab-kbetr.
        AT END OF ebelp.
          READ TABLE out_tab INDEX 1.
          WRITE ext TO val.
          out_tab-value = val.
          MODIFY out_tab INDEX 1.
        ENDAT.
        CLEAR: tab.
      ENDLOOP.
    i used this code using abap only and it work. there seems to be a problem in sapscript.. Thank u for the help guys..
    Thanks,
    JP

    put ur write_form with in loop...
    loop at itab.
      write_form..
          element = 'ddd'
    endloop.
    in script check ...
    check wheather element is specified there r not
    /e  ddd.
         &itab-   &  &itab-  &

  • Print only the Triplicate copy of an invoice

    Hi,
    We have a smarform that prints the text "Original Copy" if the variable SFSY-COPYCOUNT = 001, and "Duplicate Copy" if the variable SFSY-COPYCOUNT = 002 and "Triplicate Copy" it the variable SFSY-COPYCOUNT = 003.
    My Question is, is there any way (SAP transaction or another) that we can mass print only the Triplicate Copy of the invoices?
    Thanks in advance
    Hugo

    Hugo,
    Number of copies to be printed is configured in the message output type. There we can specify the number fo copies. If message output is configured for 3 copies then you have to develop a custom print program and smartform where in when you pass the output message, control the printing of the smartform with the condition of SFSY-COPYCOUNT = 003 so that only third copy is printied.
    As far as the mass printing you can have the select option for the invoice number in the selection screen of the print program and then control the triggering of the smartform in the loop - endloop.
    regards..

Maybe you are looking for

  • Special Characters in text files

    I'm working on trying the evdev driver with my Microsoft Explorer mouse.  The info that I found says to pay particular attention to the name result of egrep /proc/bus/input/devices The name of the mouse there contains an unprintable character on my c

  • Slow keyboard and mouse moving erratically after update

    After the 10.5.3 update my imac is showing some strange behavior. Ive noticed that my mouse every few minutes moves erratically across my screen. I'm also having problems with my keyboard, where it often doesn't type a letter that i press - very anno

  • Help! I have to cope with shadow directories on my Zen

    I have copied music in the Music directory of my Zen 32GB. However, some directories that appear full when I connect the Zen to my PC (say a directory with twelve mp3 inside) show up as empty, or with only one tune on the Zen itself. How come what I

  • Error when trying to do updates

    im getting errors when trying to update photoshop for the past month

  • Mouse Drag Box & get coordinates

    Hi, is there a API to do this. If you click the mouse button and drag it I want a box to appear on the screen. When they release I want to get the coordinates of the box. I have seen it commonly done in programs like Photoshop and even in java applet