Skip to content

Using QZ Tray

klabarge edited this page Dec 16, 2015 · 38 revisions

QZ Tray is a desktop version of the QZ Print application. In anticipation of changes in Google Chrome (dropping support of NPAPI), the QZ Print plugin now offers desktop support via the QZ Tray desktop application.

This tutorial goes over installing, running, and testing QZ Tray. Navigate to one of the following links if you already have QZ Tray installed and working with the sample.html page.

Certificate Tutorials

Code Examples

###Installing QZ Tray (Windows)

  1. Install Java 7 or higher from Oracle's website.

  2. Download the appropriate version of QZ Tray for your operating system from the qz website.

  3. Install, taking the defaults.

image

Note to Firefox users:

  • Currently, in order for HTTPS to work with Firefox, QZ Tray must be installed (or reinstalled) AFTER Firefox.
  • The certificate installation is performed when Firefox is opened, so closing all running versions of Firefox is required for HTTPS support.
  • Mac users will need to fully quit Firefox via Command (⌘) + Q.
  • PortableFirefox users will have to follow special instructions via the PortableFirefox Support page.
  • These steps are required for Windows, Linux and Mac versions of QZ Tray.

###Running QZ Tray (Windows)

  1. If QZ Tray is installed correctly, an icon will appear in the System Tray.

image

Note: The install dialogue box will not close on its own.

image

  1. A desktop icon is not created by default. To create one, right click the QZ Tray icon down in the tray. Then, go to Advanced > Create Desktop shortcut

###Testing QZ Tray

  1. Open install folder via Tray Icon > Advanced > Open File Location

image

  1. Open sample.html from the demo folder.

image

image

  1. When prompted to allow access, click Allow

image

  1. Click Allow to allow the web page to interact with QZ Tray. The page should turn from yellow to gray.

image

  1. Click Detect Printer

  2. Test a print button:

Note: For security reasons, all print requests must be digitally signed. If they are not, a warning will appear on each print. For silent printing, a new signing method must be used. This is further explained in the Technical Signing Details page.

image

Clone this wiki locally