Hi,
We are using Eltron printers for barcode printing. We use EPL (Eltron Printing Language) to build the layout and send it direct to the printer (installed as 'General text' printer).
set printer to Eltron
set printer on
lcBarcode=FileToStr('test.epl')
lcBarcode=strtran(lcBarcode, '< % ERROR: HEADER % >', 'YourHeader')
lcBarcode=strtran(tcBarcode, chr(13),chr(13)+chr(10))
?lcBarcode
set printer off
set printer to
Test.epl:
N
q456
A451,230,2,4,1,1,N,"< % ERROR: HEADER % >"
A451,190,2,4,2,2,N,"< % ERROR: CODE % >"
A451,145,2,2,1,1,N,"< % ERROR: NAME % >"
A451,128,2,2,1,1,N,"< % ERROR: TOWN % >"
A18,0,1,1,1,1,N,"< % ERROR: DATE % >"
B451,100,2,3,2,4,100,N,"< % ERROR: BARCODE % >"
P1
Greetings,
Jean-Pierre.
>I have design a report that I want to go to a Eltron 2442 Thermal Printer.
>Actually it's a UPS Thermal Printer but that is the maker and model.
>I can print a Wordpad Document to it, Run a test pager to it
>but if I select it via REPORT FORM PROMPT it goes to the default printer
>VFP5 or VFP6. I have set the default printer to the printer in the Windows
>2000 workstations setting and I get and error to the sorts PRINTER DRIVER NOT FOUND.
>
>This printer is on LTP1.
>
>I just need to test this type of printer to see if we can use it for shipping labels. Once we prove that we will purchase one