pipein = popen("barcode", "w");
/* send barcode string to barcode program */
write(fileno(pipein), argv[1], strlen(argv[1]));
pipein = popen("barcode", "w");
/* send barcode string to barcode program */
write(fileno(pipein), argv[1], strlen(argv[1]));