473,287 Members | 1,741 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

zebra lp 2824 termal printer?

I have mentioned printer but how to print on him from code? I tried like POS
printer copy .txt to LPT port but don't work. I tried print test page- still
nothing. Any ideas?
thx

--
-----------------------------------------------------------------------------------------------------------------------
Dzemal Tipura (Dzemo) - MCP
Nov 21 '05 #1
6 8732
Set the printer up as a generic/text only and send raw zpl

There's a bug in a Win2000 pre SP? G/T Driver where the first character is
truncated. I don't have a link, but you should be able to find on the MS
website

"dzemo" <dz***@wizard.ba> wrote in message
news:uW*************@TK2MSFTNGP11.phx.gbl...
I have mentioned printer but how to print on him from code? I tried like POS printer copy .txt to LPT port but don't work. I tried print test page- still nothing. Any ideas?
thx

--
-------------------------------------------------------------------------- --------------------------------------------- Dzemal Tipura (Dzemo) - MCP

Nov 21 '05 #2
i'm new here so what is "raw zpl" i don't know
thx
"Eric" <em******@comcast.net> wrote in message
news:a_p2d.203794$mD.61124@attbi_s02...
Set the printer up as a generic/text only and send raw zpl

There's a bug in a Win2000 pre SP? G/T Driver where the first character is
truncated. I don't have a link, but you should be able to find on the MS
website

"dzemo" <dz***@wizard.ba> wrote in message
news:uW*************@TK2MSFTNGP11.phx.gbl...
I have mentioned printer but how to print on him from code? I tried like

POS
printer copy .txt to LPT port but don't work. I tried print test page-

still
nothing. Any ideas?
thx

--
--------------------------------------------------------------------------

---------------------------------------------
Dzemal Tipura (Dzemo) - MCP


Nov 21 '05 #3
zpl is zebra's language for printing barcode labels on their printers.

You can't simply print "AAAA" on a label. You have to send the command to
print "AAAA" on the label.

You can buy a zpl manual from Zebra or try to find one on there site. I
have seen a downloadable manual. Not the easiest to find, but it's
there....

"Dzemo" <dz***@wizard.ba> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
i'm new here so what is "raw zpl" i don't know
thx
"Eric" <em******@comcast.net> wrote in message
news:a_p2d.203794$mD.61124@attbi_s02...
Set the printer up as a generic/text only and send raw zpl

There's a bug in a Win2000 pre SP? G/T Driver where the first character is truncated. I don't have a link, but you should be able to find on the MS website

"dzemo" <dz***@wizard.ba> wrote in message
news:uW*************@TK2MSFTNGP11.phx.gbl...
I have mentioned printer but how to print on him from code? I tried
like POS
printer copy .txt to LPT port but don't work. I tried print test page-

still
nothing. Any ideas?
thx

--
-------------------------------------------------------------------------

- ---------------------------------------------
Dzemal Tipura (Dzemo) - MCP



Nov 21 '05 #4
Here's the code I use for printing Bar Codes to our Zebra LP2844 printers.
It uses direct ZPL. According to Zebra's tech support, this is the only way
to print to their printers, even with the Zebra drivers installed.

Mike Ober.

=====================================
Option Explicit
Option Compare Text

Public Property Get BarCodePort() As String
Dim p As Printer
BarCodePort = ""

For Each p In Printers
If p.DeviceName = "Zebra LP2844" Then
BarCodePort = p.Port
Exit For
End If
Next p
End Property

Public Sub PrintBarCode128A(s As String)
Dim Port As String
Dim fnum As Long

On Error GoTo errHandler
Port = BarCodePort
If Port <> "" Then
fnum = FreeFile(1)
Open Port For Output As fnum

' "" Send an initial string to prepare the printer
Print #fnum, ""
' N = Clear image buffer
Print #fnum, "N"
' Bp1,p2,p3,p4,p5,p6,p7,p8,"DATA" is a bar code
' p1 = Horizontal Start Position
' p2 = Vertical Start Position
' p3 = Rotation; 0 = no Rotation
' p4 = Bar Code Selection; 1A = Code 128A
' p5 = Narrow bar width in dots; p4=1A: 1-10
' p6 = Wide bar width in dots; 2-30; value doesn't matter for Code 128
' p7 = Bar Code Height in dots
' p8 = Print Human Readable code; B = yes; N = no
' "DATA" is the string to print
Print #fnum, "B190,30,0,1A,3,4,55,B,""" & s & """"
Print #fnum, "P1"
End If
Sleep 1000

errHandler:
On Error Resume Next
If fnum <> 0 Then Close #fnum
End Sub
====================================

"Dzemo" <dz***@wizard.ba> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
i'm new here so what is "raw zpl" i don't know
thx
"Eric" <em******@comcast.net> wrote in message
news:a_p2d.203794$mD.61124@attbi_s02...
Set the printer up as a generic/text only and send raw zpl

There's a bug in a Win2000 pre SP? G/T Driver where the first character is truncated. I don't have a link, but you should be able to find on the MS website

"dzemo" <dz***@wizard.ba> wrote in message
news:uW*************@TK2MSFTNGP11.phx.gbl...
I have mentioned printer but how to print on him from code? I tried
like POS
printer copy .txt to LPT port but don't work. I tried print test page-

still
nothing. Any ideas?
thx

--
-------------------------------------------------------------------------

- ---------------------------------------------
Dzemal Tipura (Dzemo) - MCP



Nov 21 '05 #5
Try either of 2 on command prompt
copy ../../../file.txt lpt1 ( Check which local port your printer is
attached to .)

print file.txt

and give the absolute path of the file if u are not at the location where
the file is.

you may try changin the file name by .zpl or .epl as is the type.


"dzemo" wrote:
I have mentioned printer but how to print on him from code? I tried like POS
printer copy .txt to LPT port but don't work. I tried print test page- still
nothing. Any ideas?
thx

--
-----------------------------------------------------------------------------------------------------------------------
Dzemal Tipura (Dzemo) - MCP

Nov 21 '05 #6
Try either of 2 on command prompt
copy ../../../file.txt lpt1 ( Check which local port your printer is
attached to .)

print file.txt

and give the absolute path of the file if u are not at the location where
the file is.

you may try changin the file name by .zpl or .epl as is the type.


"dzemo" wrote:
I have mentioned printer but how to print on him from code? I tried like POS
printer copy .txt to LPT port but don't work. I tried print test page- still
nothing. Any ideas?
thx

--
-----------------------------------------------------------------------------------------------------------------------
Dzemal Tipura (Dzemo) - MCP

Nov 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Twist Around | last post by:
We have to use a zebra printer to print some specialty labels. I was wondering if anyone had used python to output text to these. I know they use the Zebra Printing Language and before we got into...
0
by: G.Esmeijer | last post by:
Friends, I would like to print to a Zebra 4M printer. This printer expects REAL text. Defining it at an IP address as a generic Text printer does not help. How do I send REAL text to that...
2
by: anniec | last post by:
Hi, I've got a Zebra 110XIIIPlus and I've made a barcode software in A2K. I need to be able to print 4 different size of barcode... all in 4'' widht. My problem is that all label are being...
13
by: ATJaguarX | last post by:
I have a Zebra S500 and multiple S600 label printers. http://www.zebra.com/id/zebra/na/en/index/products/printers/industrial_commercial/s600.html They are currently being used in our legacy...
2
by: Crazyhorse | last post by:
Hi, I am trying to print labels to a zebra printer using the print document object in vb.net. Printing works fine to my local printer but with the Zebra, the data light indicator just flickers a...
4
by: =?Utf-8?B?UGF1bCBCdXp6YSwgb2xkc3RlciB1c2luZyBuZXcg | last post by:
I have developed a web-based inventory system for my estate jewelry business using ASP.Net 2.0 and Microsoft SQLServer. The inventory database is also the basis of my website...
9
by: id10t error | last post by:
Hello, I am going to be using a Symbol WT4090 to scan items. I need to printer a tag from the Zebra ql320 plus. I am trying to do this is Visual basic 2005. Does anyone know and good site to...
0
by: Charles Crawford | last post by:
Hi, This apparently is a common problem and I've yet to read a solution that actually works for my specific situation. I have a Zebra RW220 printer that I connect to via Bluetooth connection...
2
by: Flying Kite | last post by:
Hi All, I want to know how to print chinese characters on Zebra Printer, following code working fine with English string, but it's not working for Chinese string. It shows ASCII characters instead...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.