|
Hello everybody,
I have connected a Thermal label Printer-Intermec EasyCoder 601XP to my PC 's
paralel
port and created a printer session using Client-Access. The application we are
installing has to print labels containing text & barcodes.
There are 2 options in the application to be used prior to label printing that
allow
initialisation of the printer.
(the 1st option performs an initialisation & the second send constants to the
printer). This operation is only necessary once.
The first option produces a spool such as this one:
verboff
open "AUTOEXEC.BAT" for output as [1
print [1,"SYSVAR(18)=0"
print [1,"MAP 12,0"
print [1,"SYSVAR(25)=0"
print [1,"NASC 850"
print [1,"INPUT ON"
print [1,"FORMAT INPUT CHRÂ(60),CHRÂ(62),CHRÂ(13)"
print [1,"error 1003, "+chrÂ(34)+" CHAMPS HORS ETIQUETTE"+chrÂ(34)
print [1,"error 1022, "+chrÂ(34)+" TETE LEVEE BAISSER LA TETE "+chrÂ(34
print [1,"error 1031, "+chrÂ(34)+" PLUS D'ETIQUETTE"+chrÂ(34)
print [1,"error 1005, "+chrÂ(34)+" PLUS D'ETIQUETTE"+chrÂ(34)
print [1,"SETSTDIO 4"
print [1,"OPTIMIZE"+chrÂ(34)+"BATCH"+chrÂ(34)+"ON"
print [1,"open "+chrÂ(34)+"CONSOLE:"+chrÂ(34)+" for output as [11"
print [1,"Print [11,"+chrÂ(34)+chrÂ(34)
print [1,"Print [11,"+chrÂ(34)+chrÂ(34)+chrÂ(59)
print [1,"print [11,"+chrÂ(34)+" XXXXXXXX "+chrÂ(34)
print [1,"print [11,"+chrÂ(34)+" XXXXXXXX "+chrÂ(34)+chrÂ(59)
print [1,"close [1"
print [1,"beep : beep : beep"
close [1
reboot
The second spool sends constants to the printer e.g:
LAYOUT INPUT "EC6RECF.LAY"
NASC 850:AN 7
PP 0001,2270:PL 1800,5
PP 0001,1970:PL 1800,5
PP 0001,1620:PL 1800,5
PP 0001,1370:PL 1800,5
PP 0001,1020:PL 1800,5
DIR 2
PP 0700,1970:PL 0350,5
PP 0900,1620:PL 0250,5
PP 1100,1620:PL 0250,5
PP 1450,1620:PL 0250,5
PP 0800,1370:PL 0350,5
DIR1:AN 1:FT "SW060BSN":MAG 1,1
PP 1300,2320:PT VAR1Â
AN 1:FT "SW080BSN":MAG 2,1
LAYOUT END
After this, one is allowed to send the label spools to the printer. However I
have
been unsuccessful in making this work. After the first spool is sent, we can
see the
message 'Initialising...' being displayed on the printer's control panel. But
when
trying to print labels, the corresponding spool files just disappears. Mo
message is
displayed.
I have also connected this printer to the n/w, using a n/w card. I have
created an
outq and used a WSCST object I created using some code sent by the printer
supplier,
the code looks like this :
0001.00 :WSCST DEVCLASS=TRANSFORM.
0002.00 :TRNSFRMTBL.
0003.00 :Space
0004.00 Data = â20âX.
0005.00 :EWSCST.
When I try to print a label, by sending the spool file on he appropriate outq,
the
status of the spool stays SND indefinitely.
Has someone had any similar experience, with this thermal label printer, or
any other
one. Any hint would be most welcome. thanks
Note : We are on V5R1
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.