1: /* 2: * Copyright (c) 1980 Regents of the University of California. 3: * All rights reserved. The Berkeley software License Agreement 4: * specifies the terms and conditions for redistribution. 5: */ 6: 7: #ifndef lint 8: static char sccsid[] = "@(#)label.c 5.1 (Berkeley) 5/7/85"; 9: #endif not lint 10: 11: #include "hp2648.h" 12: 13: label(s) 14: char *s; 15: { 16: handshake(); 17: putchar(ESC); 18: putchar(GRAPHIC); 19: putchar('l'); 20: for(;*s!='\0';s++) 21: putchar(*s); 22: putchar(ESC); 23: putchar(GRAPHIC); 24: putchar('d'); 25: putchar('T'); 26: handshake(); 27: putchar(ESC); 28: putchar(GRAPHIC); 29: putchar(PLOT); 30: putchar(BINARY); 31: buffcount = 4; 32: }