Printing Articles Problem
-
I printed out an article to read over the weekend and when reading it noticed that all code blocks longer than a page are truncated at the end of the page. This is the same issue that was discussed in this post[^], but I am not using Adobe to save the articles as pdf. I have a Dell Laser Printer here, but I can't imagine that the printer would affect the way the page looks in the print preview so long as the page size is the same. The article I was trying to print is WPF : If Carlsberg did MVVM Frameworks Part 2 of n[^]. The problem can be seen on Page 6 where the code snippet is stopped at the end of the page in print preview. Looking at the HTML it appears to be a problem where the PRE tag contents are not wrapped to a new page and I found a blog post here[^] that has a section on making PRE tags print across pages if that helps at all. Thanks
-
I printed out an article to read over the weekend and when reading it noticed that all code blocks longer than a page are truncated at the end of the page. This is the same issue that was discussed in this post[^], but I am not using Adobe to save the articles as pdf. I have a Dell Laser Printer here, but I can't imagine that the printer would affect the way the page looks in the print preview so long as the page size is the same. The article I was trying to print is WPF : If Carlsberg did MVVM Frameworks Part 2 of n[^]. The problem can be seen on Page 6 where the code snippet is stopped at the end of the page in print preview. Looking at the HTML it appears to be a problem where the PRE tag contents are not wrapped to a new page and I found a blog post here[^] that has a section on making PRE tags print across pages if that helps at all. Thanks
Waw. Quite a post. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
[The QA section does it automatically now, I hope we soon get it on regular forums as well]
-
I printed out an article to read over the weekend and when reading it noticed that all code blocks longer than a page are truncated at the end of the page. This is the same issue that was discussed in this post[^], but I am not using Adobe to save the articles as pdf. I have a Dell Laser Printer here, but I can't imagine that the printer would affect the way the page looks in the print preview so long as the page size is the same. The article I was trying to print is WPF : If Carlsberg did MVVM Frameworks Part 2 of n[^]. The problem can be seen on Page 6 where the code snippet is stopped at the end of the page in print preview. Looking at the HTML it appears to be a problem where the PRE tag contents are not wrapped to a new page and I found a blog post here[^] that has a section on making PRE tags print across pages if that helps at all. Thanks
Excellent suggestion. It will be in place today.
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP