Forums

This topic is locked

"printable view" or "printable version" specs

Posted 13 Feb 2003 11:30:30
1
has voted
13 Feb 2003 11:30:30 james crellin posted:
My question is about "printable view" or "printable version".
I guess what i want to know what the correct way to set up a web page is when you want the person to be able to print the form or page. I ask because i have set up a page and tested it and it almost always gets cut off when it is printed. Is there specific dimensions for a table or frame to be when trying to do this?

-- Thanks in advance

Replies

Replied 13 Feb 2003 15:51:28
13 Feb 2003 15:51:28 Brent Colflesh replied:
Dear Saleblitz,
Personally, I use percentage-based widths and a function to strip out all graphics - read about this issue at:

www.webmasterworld.com/forum21/1599.htm

Regards,
Brent

Replied 13 Feb 2003 19:08:18
13 Feb 2003 19:08:18 Jeremy Conn replied:
How I have been able to achive 'Print View' type on my sites is using the default DW behavior 'Go To Detail Page' to send the user to a simple page showing only the content they want to print out. To do this, you need to create the following:

1.) A 'print_version.asp' page, with a recordset grabbing info from whatever table you are using, and being filtered on the ID in the URL. To add the print functionality, one way is to simply put this code towards the top:
<form>
<input name="Print" onClick="window.print();return false" type="button" value="Print Page">
</form>

2.) Then, on your main page create a 'View Printable Version' button or link, then apply the 'Go To Detail Page' behavior to it, with the ID being passed through the URL.

Hope this gets you started...

(DWMX|IIS5|Access2K|XP|ASP/VB)
*Connman21*
www.conncreativemedia.com
Replied 14 Feb 2003 03:36:19
14 Feb 2003 03:36:19 Jeremy Conn replied:
I just created a full tutorial on creating a 'Print-Ready Version' for content. I submitted it today, so be looking for it soon.

(DWMX|IIS5|Access2K|XP|ASP/VB)
*Connman21*
www.conncreativemedia.com
Replied 14 Feb 2003 05:26:31
14 Feb 2003 05:26:31 james crellin replied:
Very Nice -- I will look out for it. Thanks
Replied 16 Feb 2003 21:13:33
16 Feb 2003 21:13:33 Dennis van Galen replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Very Nice -- I will look out for it. Thanks
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I missed this thread :-/
I approved the print ready version tutorial last friday, it is located here:
www.dmxzone.com/go?4404

With regards,

Dennis van Galen
DMXzone Manager
Tutorial, FAQ and Extension Manager

Reply to this topic