printing problem in infopath

X

Xin Chen

I create a infopath form and it looks ok when I preview and "print preview"
the form. However when I print it out
to a printer, It appears the forma is much narrower, and the words got
wrapped all over the place.... I try to adjust the left and right margin on
the page setup but that doesn't help.

Any one has idea on what this problem maybe and a solution to it? thanks

--Xin Chen
 
S

Scott L. Heim [MSFT]

Hi Xin,

Keep in mind that InfoPath uses Internet Explorer's rendering engine and
what you are printing is basically HTML. As such, if you have not designed
your form using layout tables and items such as this, the printing may not
be what you expect.

As an example, let's say you have a field where you want the user to enter
a customer ID. If you simply type the text: "Enter Customer ID" on the form
and place a text box next to this, you will have a more difficult time
getting this lined up for printing that if you used a "layout table" with 2
columns and 1 row. In the first column you would type your text and the
second column would hold your text box. Obviously this is a very simplistic
example but hopefully it helps in regard to your issue.

Best regards,

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 
X

Xin Chen

Scott, thanks for the reply to my questions.

I think there is indeed a problem with printing. I finally have a solution
to my problem, but not through table layout since I have already used it to
restrain the layout of the form.

My fix is to change the font from size 8 to size 7. Both font result in a
correct layout in "print preview" but only size 7 results in correct layout
in "paper print".

I think the correct behavior should be that the print preview is WYSIWYG,
but that doesn't seem to be the case for certain font size.

Another thing I hope to achieve is to add page break inside a table layout.
It doesn't seem to allow that. Since no one know where the page break is
until after complete the form(which is often constrcuted via layout table),
I often find myself create new table and move the controls to the new table
only to add a page break between the tables.... am I missing something here.
pleaes advise. thanks


--Xin Chen
 
S

Scott L. Heim [MSFT]

Hi Xin,

You are correct - you cannot add a page break in a custom table. You can
add them between your tables but not within the table itself.

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Top