Printing Outlook Custom Form Message/To/From Fields

  • Thread starter Annette Simmons
  • Start date
A

Annette Simmons

I'm a frustrated novice . . . I have to slap together a quick Outlook
form. I've added Xprint and ActiveX to print the form as it looks
online, but found out that the message, to, from . . ., fields won't
print. I've searched everywhere online and in Sue Mosher's book for
sample code but haven't had any luck. I've looked at
http://www.outlookcode.com/d/customprint.htm that refers me to
http://support.microsoft.com/?kbid=238778 - which is the XPrint/ActiveX
info page. What am I missing?

Does anyone have a link or sample code they're willing to share to print
the message/to/from fields on an Outlook custom form? All help is truly
appreciated.


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
S

Sue Mosher [MVP-Outlook]

XPrint is a lousy solution. A Word template, as described on the
customprint.htm page, is a much better solution. The sample code for my
book, which you can download from that site, has complete samples.
 
A

Annette Simmons

Thanks. I was hoping for something easier - like using the print icon
within Outlook - period. I did get my form working with the printcmd
button. Now the problem is once the form's been mailed, and if that
recipient needs to forward it to someone else, the printcmd button no
longer works. The form can be printed using the Outlook print icon, but
this lists all the fields in alpha order.

Am I mixing apples and oranges?

Is there a way to order the fields when the "outlook icon" is used to
print -- or how to I keep the printcmd button working when a form gets
forwarded?

Thanks Again,
als


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
S

Sue Mosher [MVP-Outlook]

I don't know what you mean by "the printcmd button." If it's a custom form
command button running code, then you must make sure that the form is
published where everyone can get to it and that the Forward action on the
(Actions) tab of the form has the published form set as the form for the
Forward action. Otherwise, no code will run on the forwarded item.
 

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

Top