rclabso
10th March 2012, 09:38
Hi Guru,

I have a sample zpl code created in report layout in LN and tried to print in ZEBRA printer. the problem it is not able to print and when i checked the tmp files in $BSE/tmp i found out there are some special characters supposed to be not included in the layout, may be those character was the culfrit.

Could you please advise what is wrong and how to remove those stuff.

attached is the file where is the temp is open in vi.

thank you in advance.

rclabso

bdittmar
10th March 2012, 14:02
Hi Guru,

I have a sample zpl code created in report layout in LN and tried to print in ZEBRA printer. the problem it is not able to print and when i checked the tmp files in $BSE/tmp i found out there are some special characters supposed to be not included in the layout, may be those character was the culfrit.

Could you please advise what is wrong and how to remove those stuff.

attached is the file where is the temp is open in vi.

thank you in advance.

rclabso

Hello,
as shown at the attachement, it's not a proper ZPL sequence.
Where does ^[^T!" come from ?

Do you use a proper printerdriver. Must be a RAW ASCII driver.
As shown in your other thread, check the lc_asc driver you use.
Must be at : $BSE/lib/printinf/l

I guess the problem is there. Some years ago, i've written such a driver for our BIV systems.

lc_asc ther was a synonym for :

LTi character ascii

Maybe your LN takes an other driver.
The ZPL II solution yorks, if all ZPL sequences are streamed as raw ascii to the ZEBRA printer.

Regards

rclabso
10th March 2012, 15:11
Hi Bernd,

thank you for your patience to help me.

the screenshot that i was posted before has taken in $BSE/tmp directory, since the zebra printer was not printing i curiously checked the temporary files on the said dir. in found out that format with the special character.

about the driver, in directory $BSE/lib/printinf i created a sub folder "z" and created a file with empty and named it lc_asc then put into said directory.

could you help me to know on how to get the correct driver? maybe and hope that this could be the problem.

thanks a lot

rclabso

rclabso
10th March 2012, 15:50
Hi Bernd,

It is now working, thanks for your big help. what i did is to create a new folder folder "l" in $BSE/lib/printinf and put the driver in the said folder.

thanks a lot and regards,

rclabso

bdittmar
10th March 2012, 15:52
Hello,
what you descripe can't work.

The drivers are located in $BSE/lib/printinf/...

There are subdirs like e = epson , i = ibm h = hp a.s.o

In LN device the 1st character defines where the driver is located.

So i propose to use a generic epson driver like epson_fx.
This driver should be on your system by default.

I attach the lc_asc driver.
For upload the file is named lc_asc.txt.

To use them, it must be located at $BSE/lib/printinf/l directory as lc_asc.

Regards

Sorry, i saw you last post too late (After answering).