Skip to main content

Add Printer Button or Link to Blogger Blogspot

Today's article will show you how to add a print button or printer link to your Blogger Blogspot blog. The facility to print a hard copy of a post may be important to some visitors especially if you are like me and publish lengthy posts. Adding a printer button or link will add to your blog's functionality and user friendliness.

The reason I am writing this article is in response to a reader who asked me how to print out posts without the sidebar showing up. All the suggested buttons and links print out the post only and not the sidebar, header or footer.

This tutorial involves changing the template code but is not difficult as long as you follow these step by step instructions.

How to Add a Custom Print Button to Your Blogger Blogspot Blog
The following instructions will place a printer button on each individual page of your blog below the post. Only the blog article itself will be printed along with any comments. The sidebar will not be printed.

Example of the printer button to be added: icons

1. Log in to Blogger if not already logged in

2. Navigate to Layout > Edit HTML

3. Back up your template by downloading full template to your computer

4. Check Expand Widgets Template

5. Bring up the search toolbar by using CTRL + F

6. Find this line by typing it into the search box:

<p><data:post.body/></p>

7. Now replace that line with the following code block:


<!-- Add Printer Button by http://blogknowhow.blogspot.com/-->
<span class='noprint'><p><data:post.body/></p></span>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<a href='javascript:window.print()'>
<img src='http://i1020.photobucket.com/albums/af326/bookwise77/printer-button.gif'/></a></b:if>
<!-- End Add Printer Button by http://blogknowhow.blogspot.com/-->


8. Click on Save Template to save changes

9. Click View Blog to see your button in action

Note: If you want to change the printer icon to your own icon upload your image to a photo storage service like Photobucket and note the URL address of the icon. Now substitute the URL address of the existing image for your image by changing the line beginning with <img src='
Change printer icon to this alternative printer icon icons

So to change the printer image to another printer image the code would look like:

<!-- Add Printer Button by http://blogknowhow.blogspot.com/-->
<span class='noprint'><p><data:post.body/></p></span>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<a href='javascript:window.print()'><img src='http://i1020.photobucket.com/albums/af326/bookwise77/printer-button-2.gif'/></a></b:if>
<!-- End Add Printer Button by http://blogknowhow.blogspot.com/-->


How to Add a Printer Link to a Blogger Blogspot Blog
You may not want a button and prefer to add a printer link instead. To do this you would follow steps 1 to 6 and then insert the following code instead of the code contained in step 7


<!-- Add Printer Link by http://blogknowhow.blogspot.com/-->
<p><span class='noprint'><data:post.body/></p></span>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<a href='javascript:window.print()'>Print this post</a>
</b:if>
<!-- End Add Printer Link by http://blogknowhow.blogspot.com/-->

Save the changes to your template and then navigate to an individual post to see your link at the bottom of the post.


How To Add a Combination of Printer Button and Link
If you would like to display a printer button along with a link follow steps 1 to 6 and then insert the following code instead of the code contained in step 7


<!-- Add Combined Printer Button and link by http://blogknowhow.blogspot.com/-->
<span class='noprint'><p><data:post.body/></p></span>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<span style='background: url(http://i1020.photobucket.com/albums/af326/bookwise77/printer-button.gif) left no-repeat; padding-left: 28px;'>
<a href='javascript:window.print()'>Print this post</a></span>
</b:if>
<!-- End Add Combined Printer Button and link by http://blogknowhow.blogspot.com/-->


In this article I have shown you how to add a print button, a print link and a combined button and link to the bottom of your Blogger Blogspot posts. Enjoy!


Related Articles
List of Blog Know How Tutorials for Blogger Blogs

Comments

Popular posts from this blog

Free Social Bookmark Buttons for Blogger

One way to get your blog to grow is add social bookmarking buttons to your Blogger Blogspot blog . In an earlier article I wrote about the simplest way to place social media on a Blogger blog - that is to add an all-in-one Add This social bookmarking button . However, as one size doesn't fit all situations there may be lots of times when you would prefer to add individual social bookmark buttons to your Blogger blog . That's why I have put together this list of useful free social bookmarking button sets. All are free to use on a personal blog and most have no restrictions for commercial use either but please do double check the license when you download them if you want to use the buttons commercially. Best Sources of Social Bookmarking Buttons for Blogger Blogspot 128 Completely Free Icons Set 128 Icons available in 48×48px. Includes Social Media Icons such as: Design Float, Digg, Delicious, Furl, Technorati, Flickr, Stumble Upon, Twitter & more… Web 2.0 Icons (23 icons...

Cara Membuat Blog dan Website dengan Blogger Blogspot

Cara Membuat Blog dan Website dengan Blogger Blogspot Tentukan Niche/Topik Utama Website Tentukan nama domain Buat Daftar Menu Navigasi/Daftar Isi Buat Daftar keyword penting/niche turunan Mulai buat artikel dengan cara pakai 1, 2 atau 3 keyword gabungan Susun Point-point utama keyword yang kita pilih Uraikan dan kembangkan point-point keyword tersebut menjadi sebuah paragraf Jadilah Artikel, Masukkan 2-3 keyword gabungan

Cara Mengetahui Kekuatan Sinyal Tower dekat Lokasi Kota Daerah Anda

Cara mengetahui tower sinyal di daerah Beberapa dari kita asal memilih operator karena harga paketnya dikatakan tergolong murah. Ingat "Ada Harga, Ada Kualitas". Mungkin anda pernah membeli paket internet yang murah tapi sinyalnya kurang memadai dan kecepatanya kurang. itu dikarenakan tepat anda jauh dari Tower BTS (Tower Sinyal). Untuk dari itu Glory akan mengshare cara mengetahui tower sinyal di daerah anda. 1. Buka Search Engine anda, Lalu ketik " Open Signal " 2. Jika sudah maka klik website yang paling atas 3. Pada menu kotak di kanan bawah pilih " Towers " 4. Lalu geser peta ke daerah tempat anda tinggal, lalu lihat operator yang paling banyak towernya Saya di lampung menggunakan operator telkomsel, di lampung sinyal operator telkomsel sangat baik sekali. Walau Saya menggunakan sinyal 3G Tapi upload dan download lumayan cepat.   Pililah opertator yang anda sukai dan stabil, saya tidak bermaksud me...