Hey Guys, I have been trying to figure this out for 2 hours and come up with nothing. So I have to call on the experts,... I know I will kick myself when I see the proper solution for its probably extremely easy or close to what I have tried already without success. My Project consists of 2 Picaxe chips 28x2 which is the master sending data to 20x2 via the Serout/Serin Command then the 20X2 will send that data via HSEROUT to a Thermal Printer. I have the thermal printer working great if I send the following sting
hserout 0, ("03/14/2015|17:38|TICKET#9610|VALID FOR 60 DAYS|")
The data I am receiving from the 28X2 Master is the current Date/Time, I am receiving that data Via the Serin Command into Variables B1-B8
serin C.5,N2400,B1,B2,B3,B4,B5,B6,B7,B8
MM,DD,YY,YY,HH,MM,SS b8 is a generic command
Now I am trying to send those variables directly to printer (Not using B7(Seconds) or Generic Variable)
hserout 0, ({#}}B1,"/"{#}B2,"/"{#}B3,{#}B4,"|"{#}B5,":",{#}B6,"|TICKET#9610|VALID FOR 60 DAYS|")
But it doesn't work, and of course I have tried several variations of this with no luck
IN PE it gives me this highlighted help box with shows this
HSEROUT break, ({#}variable,{#}variable,........) So i tried to use this without any luck..
Can someone please help me..
Thanks In advance
Steve
hserout 0, ("03/14/2015|17:38|TICKET#9610|VALID FOR 60 DAYS|")
The data I am receiving from the 28X2 Master is the current Date/Time, I am receiving that data Via the Serin Command into Variables B1-B8
serin C.5,N2400,B1,B2,B3,B4,B5,B6,B7,B8
MM,DD,YY,YY,HH,MM,SS b8 is a generic command
Now I am trying to send those variables directly to printer (Not using B7(Seconds) or Generic Variable)
hserout 0, ({#}}B1,"/"{#}B2,"/"{#}B3,{#}B4,"|"{#}B5,":",{#}B6,"|TICKET#9610|VALID FOR 60 DAYS|")
But it doesn't work, and of course I have tried several variations of this with no luck
IN PE it gives me this highlighted help box with shows this
HSEROUT break, ({#}variable,{#}variable,........) So i tried to use this without any luck..
Can someone please help me..
Thanks In advance
Steve