rclabso
9th March 2012, 14:35
Hi Ln Guru,

I have tried to print barcode using zebra printer but i got an error. here is the setup in device data

device: ZEBRA
Description: ZEBRA barcode printing
Device Type: Direct
Locale:ISO-8859-1
Driver:lc_asc
device queue: /usr/bin/lp -dzebra -o nb -n%d -s %s
paper type: A4
left margin: 0

error: /usr/bin/lp -dzebra -o nb -n1 -s/apps/baanvi/bse/tmp/tmp044307469

I hope that someone can help me to solve this problem.

thanks in advance

mark_h
9th March 2012, 16:04
What I have is /usr/bin/lp -dzebra99 -c -s -n%d %s. Of course we use RMCis Label generator to actually generate labels or bar code tags. I am not familiar enough with the unix lp command to comment on the all of the options.

rclabso
9th March 2012, 16:37
Thank you mark_h

actually, i dont think so that the problem were the device queue command or in baan itself. i hope someone could help me with this regards

bdittmar
9th March 2012, 16:43
Hi Ln Guru,

I have tried to print barcode using zebra printer but i got an error. here is the setup in device data

device: ZEBRA
Description: ZEBRA barcode printing
Device Type: Direct
Locale:ISO-8859-1
Driver:lc_asc
device queue: /usr/bin/lp -dzebra -o nb -n%d -s %s
paper type: A4
left margin: 0

error: /usr/bin/lp -dzebra -o nb -n1 -s/apps/baanvi/bse/tmp/tmp044307469

I hope that someone can help me to solve this problem.

thanks in advance

Hello,

create a file at OS level like:

^XA
^MD15
^FO 45, 15^AE^FDPlease Call^FS
^FO 45, 45^AE^FDPhone^FS
^FO 45, 75^AE^FDYour Name^FS
^FO 45,105^AE^FDFON. 123456^FS
^XZ

and print directly to zebra queue like:

/usr/bin/lp -dzebra file

Do you have driver lc_asc present ?
Check the user rights at $BSE/tmp..... !
a.s.o.

Regards

rclabso
9th March 2012, 16:48
Thanks Bernd,
I will try your suggestions and will let you know the result.

rclabso
10th March 2012, 07:37
Hi Bernd

Following to your advice, we tried to print the file with zpl language in OS level and it works, i've checked also my authorization in tmp dir and found out that i have a full rights.

i attached some 2 files, maybe you can help me to analyse what is the problem.

1. the devise data setup and the error during running of session. Note that the sessions were generated 2 files one is empty and the other 1 is not but its generated not exactly the same that zpl language. please see attached.

2. a file with the zpl command with unecessary characters

bdittmar
10th March 2012, 13:52
Hello,
the file doesn't contain a proper ZPL II sequence.

Attached youl find a LN report layout that works well in my LN6.1 environment since nearly 2 years and worked in a BaaN IV environment for years.

This report layout prints goods receive label at our warehouses dirctly to S600 or S4M ZEBRA printers.

Hope it will help.

Regards