MicroController Pros Home Page My Account  Cart Contents  Checkout  

****Note: We no longer process and ship international orders. Only orders from USA and Canada are now accepted.****
You can place international orders for our products on E-Bay. Just copy the item's title description from our website and paste it into the search box on E-Bay and place your order there.

  Store » SER2USB My Account  |  Cart Contents  |  Checkout   
Quick Find
 
Enter keywords to find the product you are looking for in the Quick Find field above

or use
Advanced Search
Categories
Accessory Boards->
8051->
ADI Blackfin
Arduino->
ARM->
Atmel AVR->
Cypress PSoC
Freescale->
FTDI->
Locktronics
Microchip PIC->
MIPS
Parallax->
Renesas
Silicon Labs
ST Microelectronics->
Texas Instruments->
Tibbo->
Books->
Displays->
E-Blocks->
EEPROM/EPROM/FLASH
Embedded Ethernet->
Embedded Software->
I/O Modules->
Parts & Components->
Pick & Place Tools
Programmable Logic (PLD)
Prototype PCBs->
Robotics
ROM/Flash Emulators
Test & Measurement->
Tutorial Software
Universal Programmers->
Wireless->
Information
Intro to Embedded Tools
Embedded News Digest
Useful Resources
Shipping & Returns
Warranty & Liability
Privacy Notice
Conditions of Use
Contact Us
RS232 to USB Adapter: Connect USB printer to Serial port US$119.00

SER2USB
RS232 to USB Adapter: Connect USB printer to Serial port


Adapter to connect the DB9 serial port of computers or microcontroller systems to the USB port of printers.

This 1.8m adapter cable has a female 9-pin Sub-D connector to connect to the serial port of computers on one end and a USB-B connector to connect to the USB port of printers on the other end. It requires no drivers or software (in most cases), and converts the RS232 printing protocols to USB.

This adapter allows you to replace your old printer without having to replace your established system. Use it to connect modern printers and multifunction printers that have a USB connection to the DB9 serial interface of legacy PCs, measuring devices, laboratory and diagnostic devices, control panels, medical devices as well as all other products that were designed with a serial port interface. Note however that only printing is supported; scanners, PC-Fax and Software Toolboxes are not supported.

GDI printers (without their own emulation) are not supported. (Look at the specs of a printer on the manufacturer's web site and see if there is a section about emulation, PostScript or HP PCL. If there isn't one, then it is a GDI printer. You also can recognize a GDI printer by the fact that it won't have Linux listed as a supported operating system.)

The adapter cable comes with its own 100-240V, 50/60Hz power supply with interchangeable U.S., UK and European power plugs.

Serial-to-USB Adapter Features

Connectors

  • 1x DB9-F
  • 1x USB-B

Power Supply

  • Input: 110-240V @ 50/60Hz
  • Output: 5V / ~100 mA
  • Cable: ~1.8m

USB Interface

  • USB1.0 Low-Speed (1.5 MBit/sec)
  • USB1.1 Low/Full-Speed (12 MBit/sec)
  • USB2.0 Low/Full-Speed
  • Class: Printer / Hub

Serial Interface

  • Speed: 2400 to 115200 baud
  • Protocol: None, RTS/CTS, XON/XOFF
  • Parity: None, Odd, Even
  • Data bits: 7, 8
  • Stop bits: 1, 2

The SER2USB comes programmed in an automatic configuration mode. Just send it an initial print job of at least 1000 characters and it should determine the correct serial settings and configure itself accordingly, printing a status page. If the automatic configuration should fail or you ever need to change the serial settings, you can use a terminal program like HyperTerminal or the XT-ADMIN-XXL Tool. This tool and the instructions are included on the CD-ROM shipped with SER2USB also.

Usage with a Microcontroller System

The SER2USB adapter works transparently, which means that what you send in on the serial side will be sent out on the USB side.

Print formatting like bold, larger text, etc. is done typically via printer drivers. Those normally are part of an operating system such as Linux that runs on 32-bit microcontrollers.

For a microcontroller that does not run its own O/S with printer drivers, you can take the following approaches to print:

  • 1. The easiest way to send something to the printer is simply to transmit ASCII characters. This gives you limited formatting capability. You can, for example, control line break by sending an ASCII new line and carriage return character. You can eject a page by sending an ASCII form-feed character (0xC in hexadecimal).

  • 2. If you need more formatting control, you must implement a printer language (or the needed subset thereof) such as HP PCL5 or PostScript in your microcontroller code (for this to work, you will then of course need a printer that supports HP PCL5 or PostScript). This sounds complicated, but is in fact relatively easy, as each formatting control code is just a string of specific ASCII characters.

In HP's Reference Manual for PCL5, you can find the definition of the PCL5 printer protocol and the control codes used to do formatting.

For more info on PCL codes, see also this third-party PCL Escape Sequence Reference Page.

This then would work as follows, for example:

[control code for printer to enter PCL mode]
[control code for bold printing on]
Text that you want to print in bold
[control code for bold printing off]
More text
[more controls]

Please note that you will need a USB printer that has its own built-in emulation (PostScript, HP's PCL, or a variant thereof). Many cheap USB printers on the market are what is called GDI (Windows Graphics Display Interface) printers, i.e. they depend on the Windows Graphics Display Interface component to do the rendering of the characters. These GDI printers will not work with the SER2USB adapter.

Look at the specs of a printer on the manufacturer's web site and see if it has a section about emulation, PostScript or HP PCL. If it does not, then it is a GDI printer. You also can recognize a GDI printer by the fact that it won't have Linux listed as a supported O/S.


This product was added to our catalog on Thursday 14 June, 2012.

Reviews

Customers who bought this product also purchased
Serial Cable, 6ft., DB9 M/FSerial Cable, 6ft., DB9 M/FUS$6.00

USB to RS232 Adapter Cable, 2m (6 feet)USB to RS232 Adapter Cable, 2m (6 feet)US$12.50

2x10 (20-pin) 0.1" pitch IDC Connector Flat Ribbon Cable, 15cm2x10 (20-pin) 0.1" pitch IDC Connector Flat Ribbon Cable, 15cmUS$2.00

Ethernet Cable, CAT5E 350MHz UTP, 10 feetEthernet Cable, CAT5E 350MHz UTP, 10 feetUS$2.10

Parallel to USB Adapter: Connect USB printer to LPT portParallel to USB Adapter: Connect USB printer to LPT portUS$119.00

Shopping Cart more
0 items
What's New? more
2-pin Female Connector Harnesses, Pack of 4, with 4 Wires
2-pin Female Connector Harnesses, Pack of 4, with 4 Wires
US$5.00
Tell A Friend
 

Tell someone you know about this product.
Notifications more
NotificationsNotify me of updates to RS232 to USB Adapter: Connect USB printer to Serial port
Reviews more
Write ReviewWrite a review on this product!
  Tuesday 19 March, 2024   List of all our Products

Copyright © 2003-2017 MicroController Pros LLC
Powered by osCommerce