Ignacio Machin ( .NET/ C# MVP ) wrote:
Quote:
Hi,
>
Apparentely your problem is that you aer tryig to use the serial port
and the printer is connected to USB.
Can you connect your printer using serial cable?
Is this a Zebra printer?
Hi Ignacio,
Than you for the reply!
You are correct, the printer is connected to the USB. I had it in my
head that although it was using a USB port, this was somehow "really a
COM port" behind the scenes. I know nothing about ports, USB, etc.
I can connect the printer via serial but would consider it a last
resort. We have 8 of these printers deployed around our office and
warehouse, the cable needed to connect via serial requires drivers to be
installed, etc. Actually, the more I think about this... no, I don't
think I can make a true serial connection - the cable I refer to is a
Serial -USB converter or it may even be a Parallel -USB (it has the
2.5" wide connector on one end and USB on the other.
I'm pretty sure my problem is 100% due to a lack of understanding of how
ports work and the different kinds of ports.
For example, we use a web based ERP/CRM application called "NetSuite" -
In the NetSuite help they have a section on "Thermal Printing"
The instructions say to create a *.bat file with the text:
"copy %1 LPT1"
then to associate the file extension EPL2 with this bat file.
To me this means that when NetSuite serves up an EPL2 file and the
browser Open/Save dialog is presented I will choose "Open" which in turn
will pass the file to the bat file which in turn will copy the printer
commands contained to the LPT1 port.
So in a way, I think I just answered part of my question ;0)
(I just found this help section in NetSuite before responding to your post)
What I'm looking to do is find a way to "write" to the printer from my
C# application. The postage web service that I'm preparing to use can
return the postage in several formats falling into two categories: image
or printer commands. The printer commands are much smaller and print
faster so they were my first choice.
Oh, to answer your question: Yes, these are Zebra printers, we have
both 3844-Z and 2844 (cheapos).
Hopefully this additional information will give you a better idea of
what I'm after.
Thanks again for the reply!
-Steve