I have managed to successfully install and use a printer-friendly mod that I found here by adding a new html_printable subroutine and adding the print command:
## print view of record ##
if ($in{'view_printable'}) {
&html_printable (&array_to_hash(0, @hits));
return;
}
### end print record code ###
into view_success and then:
[ <A HREF="$db_script_link_url&view_records=1&view_printable=1&$db_key=$rec{$db_key}&ww=1">Printable Format</A> ]
into html_record_long...however....when I use the printable format link, it just opens up the printable format in the same window, so I still have my background and all the graphics on the page. What I want it to do is pop open a new window that is totally blank except for the text of my record. Can anyone tell me how to modify this mod to open and print from a new window with nothing but the text? Thanks!
## print view of record ##
if ($in{'view_printable'}) {
&html_printable (&array_to_hash(0, @hits));
return;
}
### end print record code ###
into view_success and then:
[ <A HREF="$db_script_link_url&view_records=1&view_printable=1&$db_key=$rec{$db_key}&ww=1">Printable Format</A> ]
into html_record_long...however....when I use the printable format link, it just opens up the printable format in the same window, so I still have my background and all the graphics on the page. What I want it to do is pop open a new window that is totally blank except for the text of my record. Can anyone tell me how to modify this mod to open and print from a new window with nothing but the text? Thanks!