Print CodBar in Zebra LP 2824 Printer

This forum is for eXpress++ general support.
Message
Author
User avatar
digitsoft
Posts: 451
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: Print CodBar in Zebra LP 2824 Printer

#11 Post by digitsoft »

Hi Bruce
This is the code I have to print CodBar
^ but the commands are not working, making
print to text.

Hits Ascending Descending Tes am sending a code and this is the

NPort local: = "GenericText"
oPrinter: = XbpPrinter (): New ()
oPrinter: Create (NPort) / / windows printer name

SET PRINTER TO OBJECT oPrinter
set console off
set print on

? "^ XA"
? "^ B3o, e, h, f, g"
? "^ LH30, 30"
? "^ FO20, 10 ^ AD ^ FD" + "ZEBRA" + "^ FS"
? "^ FO20, 60 ^ B3 ^ FD" + "AAA001" + "^ FS"
? "^ XZ"

Printer to September
set console on
set print off
Attachments
IMG00003-20110308-1330.jpg
IMG00003-20110308-1330.jpg (38.24 KiB) Viewed 8729 times
IMG00002-20110308-1330.jpg
IMG00002-20110308-1330.jpg (41.47 KiB) Viewed 8729 times
Nolberto Paulino
Regards

BruceN
Posts: 280
Joined: Thu Jan 28, 2010 7:46 am
Location: Slidell, LA

Re: Print CodBar in Zebra LP 2824 Printer

#12 Post by BruceN »

did you initialize the printer properly? With the power OFF. Hod down the green feed button then turn it on. Asecond or so after it is on, release the green button. It will spit out a few albels with crap on them as it senses the size. Once that is done, press the green button one more time and it should feed 1 label.

After that, then try printing to it.
There are only 10 kinds of people - those who understand binary and those who don't :)

BruceN
Posts: 280
Joined: Thu Jan 28, 2010 7:46 am
Location: Slidell, LA

Re: Print CodBar in Zebra LP 2824 Printer

#13 Post by BruceN »

Here's a text file to try printing... just send this to the printer port and see if it prints.

As a test, you may want to set the printer to an lpt port via net use and then send this to the port (it's been a while since I used an lpt port for this I think you need to 'type' the file to the port if that doesn't work try 'echo')

make printer sharable:

save the text below as a file (say 'test.txt')

net use lpt3: \\{computername}\{printer name}
type test.txt > lpt3
or
echo test.txt > lpt3

Once you can get the printer to work straight form a file, then dealwith sendibng file from within xase app.

You may have to edit the position settings for it to print on the label (not sure what size you're using).

SAMPLE FILE:

N
A300,5,0,3,1,1,N,"ACC6107"
A300,40,0,2,1,1,N,"1000 COLOR BUSI"
B300,70,0,9,2,3,60,N,"30000037"
A345,159,0,4,1,1,N,"$ 39.95"
A335,126,0,2,1,1,N,""
A335,159,0,2,1,1,N,""
P3
There are only 10 kinds of people - those who understand binary and those who don't :)

User avatar
digitsoft
Posts: 451
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: Print CodBar in Zebra LP 2824 Printer

#14 Post by digitsoft »

Hi Bruce
Reset the Printer as you told me
and now come the hieroglyph that came out
but I printed label or anything, just leave
the command that sent him through the port

I have a curiosity this comand ^ is equal to chr (27)
printer using the Matrix,

because if if the printer is not ignoring the
commands.
Nolberto Paulino
Regards

BruceN
Posts: 280
Joined: Thu Jan 28, 2010 7:46 am
Location: Slidell, LA

Re: Print CodBar in Zebra LP 2824 Printer

#15 Post by BruceN »

I'm not sure I follow you. I'm guessing English is a second language for you (and I only know about 2 words of spanish).

email me or call me and I can log into yuor computer remotely and try to get it to print from the text file. If we can't do that, then there's likely somethnig wrong with your printer. I can get my printer set on my machine and try what we do on yours to confirm we're not overlooking some stupid little thing.

Call me (813) 968-7195 before 5 (est) today if you can, or email me bossman@ezpos.com and we'll setup a time.

bruce
There are only 10 kinds of people - those who understand binary and those who don't :)

BruceN
Posts: 280
Joined: Thu Jan 28, 2010 7:46 am
Location: Slidell, LA

Re: Print CodBar in Zebra LP 2824 Printer

#16 Post by BruceN »

I hooked up my zebra printer. I set it as lpt3 with the net use and then ' type filename.txt > lpt3 ' printe the labels just fine (using 1 x 1.25 inch labels).

bruce
There are only 10 kinds of people - those who understand binary and those who don't :)

Post Reply