Description

The jQuery Print module provides a library to access the jQuery Print plugin. This module doesn't do very much by itself, but serves as a way for other modules to easily use the jQuery Print plugin without having to define their own libraries.

Requirements

This module requires the following modules:

Installation

  1. Download the jQuery Print library.
  2. Put the jQuery Print library into your libraries folder. The path file should be at the path sites/all/libraries/jquery.print.js
  3. Install this module as you would normally install a contributed Drupal module. See: https://drupal.org/documentation/install/modules-themes/modules-7 for further information.

Usage

In order to have access to jQuery Print functions, you must load the library.

Example 1, using libraries_load:

libraries_load('jquery-print');

Example 2, using the form API:

$form['#attached']['libraries_load'][] = array('jquery-print');

For the actual jQuery print functionality, please refer to the jQuery Print Github page:
https://github.com/DoersGuild/jQuery.print

Supporting organizations: 

Project information

Releases