Here's a real strange one...
If I print a thread that contains code, most of the code is invisible. I typically see blank space and then maybe a few of the final lines of the code at the bottom. I've tried printing to my local laser printer and to acrobat writer. Even in writer the space is blank.
I'm forced to copy the thread, paste it into textpad and then print it as purely plain text. Ugly!
Have you ever seen or heard of this?
ummmm.... thanks. I guess. sorry to bother you.
I'd suggest just copy and paste into Word and print it from there (if you are having problems printing directly from the site).
tbeaulieu said: That prints just fine.But this one does not!
Right! On my printout of that page, I see a lot of white space, and then the last four lines of your code. On my screen, just before the last four lines, I see some kind of horizontal bar running across the post space. It's a lot dimmer than what a <hr> tag usually gives me.
Not that I'm in a position to do anything about it, but you might want to:
That way, we could all look for something wierd in the HTML.
OOPS! Joe Dour is the author of that post, so he would have to do that. But since he's IG staff, he'll probably just fix the problem. ;-)
Hi Ed.
That prints just fine.
But this one does not!
The last bit of code is blank. I get a big empty box, then a page break, followed by the remaining box and a few lines of code, resuming at "DataRowView drv = e.Item as DataRowView;" and then "//do your initialization on the FieldLayot", finally two closing brackets.
[Re-Editing ths post] I put some markup and some VB in this post, and after posting, I printed it with no problem. Using a Color LaserJet 4700dn, IE 7, WinXP Pro.
[Trying it out]
Here's some markup:
<Items>
<ignav1:Item TargetUrl="" TagString="" Text="Funding" TargetFrame="" CssClass="">
<items>
<ignav1:Item TagString="" TargetUrl="AgencyBalanceSheet.aspx" Text="Funding Request" CssClass="" TargetFrame=""></ignav1:Item>
<ignav1:Item TagString="" TargetUrl="AgencyBalanceSheet.aspx" Text="Project Balances" CssClass="" TargetFrame=""></ignav1:Item>
<ignav1:Item TagString="" TargetUrl="viewpayments.aspx" Text="Payment History" CssClass="" TargetFrame=""></ignav1:Item>
<ignav1:Item TargetUrl="PerformanceReport.aspx" Text="Performance Policy Report"></ignav1:Item>
</items>
</ignav1:Item>
And here's some VB:
Dim lResult As SqlDataReader = Nothing
'Dim ContractIO As EP_CDBG_Contract
cmd.CommandType = CommandType.StoredProcedure
Try
cmd.Parameters("@DAYRANGE").Value = Date.Now.AddDays(-7)
cn.Open()
lResult = cmd.ExecuteReader(CommandBehavior.CloseConnection)
cn.Close()
'ignore second exception, report first
End Try
End Function