to show the behavior, I’ve outlined herein an example. The Form has a single RTF. On PostOpen this form will import an HTML file into the Richtextfield. V5 Notes Client:
I can print the new document before it's saved and the hardcopy presents the table just as it's displayed on the form.
V6.0.2 CF2 Notes Client
I can print the new document before it's saved BUT the hardcopy doesn't display the table as it's seen on the form.
- has distorted HTML table column widths, appears to ignore the <td width="xx"> settings.
- print preview shows same as UI, looks good.
V6.3 Notes Client
Same behavior as V6.0.2 cf2
Seems to me that the printing funtion in Client V6 is causing the printer to reflect the 'width="xx"' attributes literally?
Here’s the PostOpen:
If source.IsNewDoc Then
Dim HTMLFile As String
HTMLFile = “C:\temp\tableTmp_786.html”
If FileName=“” And Dir(HTMLFile)<>“” Then
HTMLFile= HtmlFile
Else
HTMLFile=“”
End If
Call source.gotofield(“actionTable”)
If HTMLFile<>“” Then
source.import “html”, HTMLFile
End If
Here’s the contents of “C:\temp\tableTmp_786.html”
| Type | Contact_nm | Title | Phone |
| Primary | Sponge Bob | V.P. MIS / Technolgy | 123-123-1234 |
Note: I’ve tried setting the table cell width to % to no avail. Your suggestions are most welcomed. thank you.