We are having difficulty finding the combination of the numbers in the mendor.addImage call that will insert a vertical barcode to the upper left margin of the pdf file attached (w9taxform.pdf and w8bentaxform.pdf). The java source code (with .txt extention) and the resulting pdf (w9taxform-verticalOffPosition.pdf) using the following call are also attached.
mendor.addImage(inImgStream, pages, 0, 570, 70, 780);
The barcode shouldn't overlay any text, it should be top aligned with text "W-9" or "W-8". Please advise what numbers to use in addImage to achieve that, is there a way to know where default "0,0" position is, what kind of tool we need to use to find the postion combination. In addition, is there a way to change the font size of barcode caption meaning make "123456789" in a smaller size?