1 /*- 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.proprietary.c% 6 */ 7 8 #ifndef lint 9 static char sccsid[] = "@(#)label.c 8.1 (Berkeley) 06/04/93"; 10 #endif /* not lint */ 11 12 #include "hp2648.h" 13 14 label(s) 15 char *s; 16 { 17 handshake(); 18 putchar(ESC); 19 putchar(GRAPHIC); 20 putchar('l'); 21 for(;*s!='\0';s++) 22 putchar(*s); 23 putchar(ESC); 24 putchar(GRAPHIC); 25 putchar('d'); 26 putchar('T'); 27 handshake(); 28 putchar(ESC); 29 putchar(GRAPHIC); 30 putchar(PLOT); 31 putchar(BINARY); 32 buffcount = 4; 33 } 34