Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Setting Up A Raw Printer in Windows

Tres Finocchiaro edited this page Feb 9, 2016 · 22 revisions

Compatibility

  • ✅ 2.0 | ✅ 1.9 | ...

This tutorial is for raw printers only. If unsure please see What is Raw Printing?

Background

These steps will allow a USB, Network, Serial or Parallel attached printer to receive raw commands through a WebSocket capable web browser on Windows. If your web browser does not support websockets, see legacy applet instructions below.

Note: This tutorial also applies to Windows XP, Vista, Windows 8, and Windows 10, but some steps will differ slightly.


Steps

  1. Open Control Panel > View Devices and Printers > Add Printer.

Note: On Windows 8 use "Advanced Printer Setup"

![image](https://cloud.githubusercontent.com/assets/12505463/7741529/bdc20d3a-ff4d-11e4-9a2e-15acd60f02d9.png)
  1. Click "Add a local printer." Ignore the USB message.

For Network Printer:

  • Click Create New Port > Standard TCP/IP Port > Next.

  • Enter the IP address and uncheck "Query the Printer..."

    DO NOT click "Add a Wireless, Bluetooth or Network Printer." Always use the local port option for Network Printers.

For Serial or Parallel Printer (COM or LPT):

  • Click Use Existing Port. Then, Select the appropriate COM or LPT port.

For USB Printer:

  • Click Use Existing Port. Find the matching USB00x port that was installed with the device driver.

  • If unsure of the port, cancel the Wizard. Right Click the USB Printer > Printer Properties > Port. (Reminder: In Windows 7, it's called "Printer Properties, not "Properties").

    Note: For USB to operate properly, the device driver should already be installed. This is [automatic in Windows 7 when connected to the internet] (https://cloud.githubusercontent.com/assets/12505463/7741647/d2dd09d4-ff4f-11e4-8c7c-0851d69edbeb.png) . Windows XP may need a device driver installed manually. Download from manufacturer if needed.

  1. For printer driver, select Generic > Generic/Text Only > Next.

    image

    Note: Some print drivers, such as Zebra ZDesigner or CUPS Zebra driver have dual-mode drivers capable of accepting Raw commands as well as PostScript commands. If Raw printing works with the vendor supplied driver, chose that over the Generic/Raw driver.

  2. If prompted to replace the current drive, click "Replace the Current Driver."

  3. Name the printer (ie. "zebra") > Next.

  4. Uncheck "Set as Default Printer" Recommended as to not override default printer settings.


To learn how to print from a webpage continue to:


Legacy Applet Version

Applies to applet version only:

The below instructions are only relevant to QZ Print, and do not pertain to QZ Tray 1.9 or QZ Tray 2.0

These instructions will also work for any 32-bit or 64-bit browser with a matching Java Runetime. Java is available in 32-bit and 64-bit versions. Make sure to use the correct Java version for your browser.

The sample.html provided with qz-print is intended to run from the local file system, however Safari and Firefox will not run the applet unless it is hosted from a web server. If you are using one of these browsers, XAMPP is recommended, which will run a portable web server on your Windows Desktop. Installing and configuring XAMPP is outside the scope of this tutorial. (IIS and IIS Express will also work. Some versions of IIS need a workaround for JNLP to be detected.)

  1. Legacy Applet Version ONLY
  • Visit http://java.com/verify/ to confirm Java is installed and running properly.

  • Optional: Enable the Java Console from System Preferences > Java > Advanced > Java Console > Show Console (This is highly recommended for web developers.)