World: r3wp
[View] discuss view related issues
older newer | first last |
Graham 21-Sep-2006 [5548] | So, how then to prepopulate the form ? |
Henrik 21-Sep-2006 [5549] | I haven't played too much with that, but I think it's possible. |
Graham 21-Sep-2006 [5550] | So, you create an xml form which acrobat can read?? |
Henrik 21-Sep-2006 [5551x3] | yes |
if you export it as PDF | |
http://www.openoffice.org/dev_docs/features/2.0/images/xforms.jpg | |
Graham 21-Sep-2006 [5554x2] | Say you scan an existing paper form into jpg. |
how to go from there ? | |
Henrik 21-Sep-2006 [5556] | you'd place it as a background image on the document page and then place the text fields where you want them. |
Graham 21-Sep-2006 [5557x2] | How to print it though? |
save as PNG and print? | |
Henrik 21-Sep-2006 [5559x2] | no, you'd export it as PDF, open it in adobe reader and print it there |
you can fill the form inside adobe reader | |
Graham 21-Sep-2006 [5561] | So, if you export as pdf... you can then do a search and replace for the prepopulated text and then present this to acrobat? |
Henrik 21-Sep-2006 [5562x2] | I'm not sure I follow you there... |
is the form not meant to be populated manually by a user? | |
Graham 21-Sep-2006 [5564] | I want to take an existing paper form .. prefill it with some default values that vary for each user... get the user to fill in the rest and then print. |
Henrik 21-Sep-2006 [5565] | those default values will vary with the user? |
Graham 21-Sep-2006 [5566] | yes .. taken from a database |
Henrik 21-Sep-2006 [5567x2] | I'm not certain if you can do that... |
OO.o is capable of taking values from a database and put it in a document, but I'm not sure if those values can be transferred to a PDF form. | |
Graham 21-Sep-2006 [5569x3] | Starting with Rebol .. I can create a VID form using the scanned jpg as the background. |
I can overlay some VID text boxes over the form areas. | |
I can then save the completed form as a PNG and print it ... sort of .. | |
Henrik 21-Sep-2006 [5572x2] | yeah, there is something missing there... |
if we had the possibility of using bitmaps in postscript or pdf-maker, then you could solve it in rebol | |
Graham 21-Sep-2006 [5574x2] | pdf-maker doesn't support pdf forms yet. |
Gabriele doesn't have any current plans to do so either. | |
Henrik 21-Sep-2006 [5576] | that wouldn't be necessary if you used a VID app to fill out the form, right? |
Graham 21-Sep-2006 [5577] | so, VID => pdf using pdf-maker? |
Henrik 21-Sep-2006 [5578] | you could do that if pdf-maker supported bitmaps properly |
Graham 21-Sep-2006 [5579] | and it doesn't ?? |
Henrik 21-Sep-2006 [5580x2] | well I have not had any success with it |
and it only supports uncompressed bitmaps | |
Graham 21-Sep-2006 [5582x3] | Oh, an alternative idea then. |
Scan in as whatever .. turn it into an eps. | |
take the vid data and write it over the eps .... where you want the data ..and send to postscript printer. | |
Henrik 21-Sep-2006 [5585] | that might work |
Graham 21-Sep-2006 [5586x6] | Actually, what I am doing for infant growth charts is to take the pdf forms ... turn them into postscript ... add some growth data as postscript lines and then print them |
I guess I can do the same for electronic forms. | |
Yes, that's what I can do .. it's the same thing. | |
But the end users won't be able to do this ... | |
So, it would be good to find a solution suitable for an enduser. | |
So, the eps idea might be the better way to do it. | |
yeksoon 21-Sep-2006 [5592] | quick question about images. eg. == i1: load %image.jpg i2: i1 i2/size: 300x300 save/png %a.png i2 === why does the image comes out distorted? what is the correct way to 'resize' an image and save it in a different format? |
Henrik 21-Sep-2006 [5593x2] | i1: load %image.jpg save/png %a.png layout/tight [image 300x300 i1] |
unfortunately you can only do nearest neighbor scaling | |
yeksoon 21-Sep-2006 [5595] | layout/tight? is there such a refinement? |
Henrik 21-Sep-2006 [5596] | yes in rebol/view 1.3.x. not in 1.2.x |
yeksoon 21-Sep-2006 [5597] | I am on /view 1.3.x ....but have an error.. === ** Script Error: Invalid argument: type: face offset: 0x0 size: 300x300 span: none pane: [make object! [ type: 'face offs... ** Where: halt-view ** Near: save/png %a.png layout/tight [image 300x300 i1] == |
older newer | first last |