Equip 351005 handleiding

66 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 41 van 66
Equip® POS Thermal printer User Manual
36
//Print Y-axis (one line)
SendStr[0]=0x1D;
SendStr[1]=0x27;
SendStr[2]=1 // One row
SendStr[3]=30
SendStr[4]=0; //Starting point
SendStr[5]=104;
SendStr[6]=1; //End point
PreSendData(SendStr,7);
//Print curve
SendStr[0]=0x1D;
SendStr[1]=0x27;
SendStr[2]=3; //Three lines:X-axis,sin and cos function curve 3 rows
X-axissin & cos
function (math.)
SendStr[3]=180; SendStr[4]=0; // X-axis position
SendStr[5]=180; SendStr[6]=0;
for(i=1;i<1200;i++)
{
y1=sin(i/180*3.1416)*(380-30)/2+180; //Calculate the coordinates
of the sin function
y2=cos(i/180*3.1416)*(380-30)/2+180; // Calculate the coordinates
of the cos function
If(i==1){y1s=y1;y2s=y2;}
PreSendData(SendStr,7);
If(y1s<y1)
{
PreSendData(&y1s,2); //sin function at the beginning of the line
PreSendData(&y1,2); //sin function at the end of the line
}
Else
{
PreSendData(&y1,2); //sin function at the beginning of the line
PreSendData(&y1s,2); //sin function at the end of the line
}
If(y2s<y2)
{
PreSendData(&y2s,2); The start of the //cos function on the line
PreSendData(&y2,2); //cos function at the end of the line
}
Else
{

Bekijk gratis de handleiding van Equip 351005, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.

Productinformatie

MerkEquip
Model351005
CategoriePrinter
TaalNederlands
Grootte8818 MB