Appendix B
Sample Programs
"C" Language Program
The following sample "C" program is included for reference. Figure B-1 shows the output
generated by this program.
/
DMX SERIES Sample C program
# include <stdio.h>
main ()
{
char
pcs = "590";
char
desc = "10K OHM 1/4 WATT";
fputs ("DMX Printer Test Program\n", stdout);
fputs ("\x02L\n", stdaux);
fputs ("H07\n" stdaux);
fputs ("D11\n", stdaux);
fprintf (stdaux, "191108010000025%s\n",desc); /
fprintf (stdaux, "1a6210000000050%sPCS\n", pcs); /
type 'a'
fputs ("E\n", stdaux);
print
}
10K OHM 1/4 WATT
Class Series 2 Programmer's Manual
/
/
Figure B-1: Sample Label
/
/
STX L – Enter Label
Formatting
/
Enter Heat Setting of 7
/
Set Width and Height Dot
Size
/
/
/
End Label format mode and
/
Select smooth Font
Select Bar code
167
/
Need help?
Do you have a question about the E-Class Mark II and is the answer not in the manual?