Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using a Windows XP machine and I'm printing to a Zebra Printer using the "Generic / Text Only" driver.

I have a printer setup, in the Windows, Printers and Faxes area. It is called "Generic / Text Only", and is driven by the generic text driver. All the settings are set to default, except for the port. I have it set to a Standard TCP/IP Port with the IP of the printer.

I'm able to ping and print to the printer just fine. Unless, I change the name of the printer in anyway. If I change the name and then try to print, the formatting gets thrown off. It will either insert random blank spaces within the text or only prints within a 1 inch area. Printing characters over top of each other.

I have 3 different Zebra printers I would like to setup on my PC and have each named accordingly for ease of selection. Instead of having to go in and updated the IP each time. I even tried setting up a new printer and just using the default name supplied by the Print Wizard, "Generic / Text only (Copy 1)", and I still got the incorrect format.

Has this been seen by anyone else? Is it a driver bug that has been resolved and can be fixed with an update? Any suggestions?

share|improve this question

migrated from Mar 10 '11 at 19:37

This question came from our site for professional and enthusiast programmers.

What model Zebra printer are you using? Have you tried the Zebra drivers? – Ovi Tisler Mar 10 '11 at 19:33
up vote 1 down vote accepted

The generic text driver adds line feeds and other control characters into the stream. OTisler has the right idea to use the Zebra driver. Use that driver with the WritePrinter API. That API will send the data unchanged to the printer.

share|improve this answer
Thanks that worked. I'm taking over an old project, and the previous programmer used the generic driver. It worked well for the most part, would go out of alignment every so often. The issue I'm coming accross now is getting the printer to convert the ID to a barcode. – Nathan H. Mar 14 '11 at 20:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .