How do I print an outlook form exactly how it appears on the Scree

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I created an outlook form and everything works. I can fill it out and send
it, and it comes out fine. But when I try to print it, it doesn't appear on
paper as it does on the screen. It appears vertical, with all the information
in that order. What can I do to make it come out exactly how it is on the
screen?
 
See http://www.outlookcode.com/d/customprint.htm for various solutions to the limitation that Outlook forms don't support WYSIWYG printing. The Word template technique is the most flexible and highly recommended.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Thanks for the link, and everything works fine except. This statement is for
Textboxes:
' If the form contains user-defined fields, you can use
' the following syntax to transfer the contents of a
' user-defined field (FieldName) to Word:
' strMyField = Item.UserProperties.Find("FieldName")
' oDoc.FormFields("Text3").Result = strMyField

What do I use for checkboxes?
 
oDoc.FormFields("Check3").CheckBox.Value = <value from your property>

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Thanks for everythig, it's been helping me out. I just have 1 last question;
when I finished the form and printed it out, it worked perfectly, but when i
send it through email, the print button doesn't show up, unless i save it
first. Can this be fixed?
 
Hi again, was just wondering if you got my last question and if there's a way
to fix that.
 
Sorry, I missed that.

The print button doesn't show up *where*?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
When I'm done filling the print for, i can print and see what I'm done. But
when I send it to someone, the person does not see the print button unless
they save it.
 
A received message is already saved. Saving it again shouldn't make any difference. I don't think you're giving us the complete details of your scenario. Where is the form published, for example?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Sorry it took so long to reply. I saved the form in my personal forms
library,filled the form and sent it to myself. After i got it, I clicked the
print button and nothing happens. Then I go to tools and design this form.
The info I put in is still there, then i click on run this form, click print,
then it prints.
 
Made a mistake with the last reply, after I send it the print command button
doesn't appear. I go to tools and design this form, then i click on run this
form, the print command is now there - click print, then it prints.
 
Sounds like you need to click the Edit Read Page button and modify the read layout to a button to call the printing code.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
I added the print button to the edit read page and now when I fill the form
and sent it to myself it appears, but when i click the print button; nothing
happens. But after i click design this form, then i click on run this form,
click print, then it prints. I'd like to be able to send it to someone's
computer then make it in such a way that, that person can print it without
having to go to all that stress. This is the last part of this project, I
just want to make sure it works on my computer before publishing it in the
organizational forms library.
 
If the form runs code when you use Run This Form in design mode, but doesn't run code after you have sent or saved an item using the published form, you probably have done something to "one-off" the form. Outlook 2003, Outlook 2002, Outlook 2000 SP2 and Outlook 2000 or 98 with the Email Security Update will not run code on one-off forms; see http://www.outlookcode.com/d/secforms.htm for more information on this issue.

To ensure that a form does not one-off:

-- Make sure the "Send form definition with item" box on the (Properties) tab of the form is *not* checked. [1]

-- For in-house corporate use with Exchange Server, publish the form to the Organization Forms library or a public folder's forms library, as appropriate for your application.

-- For collaboration via the Internet, publish your form to your Personal Forms library. Save it as an .oft file and send it to other people who need to use it with instructions to publish it with the same form name that you used.

Many other things can cause one-off forms. If the above steps don't work on a new item created with your form, see http://www.outlookcode.com/d/formpub.htm#oneoff for other possible causes.

[1] Whenever you publish a message form, Outlook will suggest that you may want to check the "Send form definition with item" box to ensure that the recipient will have the form, especially if you're sending to someone via the Internet. In the current Outlook security environment, this suggestion is obsolete. Ignore it unless your form has no code behind it.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top