xref: /csrg-svn/lib/libplot/hp2648/label.c (revision 48517)
1*48517Sbostic /*-
2*48517Sbostic  * Copyright (c) 1980 The Regents of the University of California.
3*48517Sbostic  * All rights reserved.
4*48517Sbostic  *
5*48517Sbostic  * %sccs.include.proprietary.c%
619975Sdist  */
719975Sdist 
815452Sralph #ifndef lint
9*48517Sbostic static char sccsid[] = "@(#)label.c	5.2 (Berkeley) 04/22/91";
10*48517Sbostic #endif /* not lint */
1115452Sralph 
1215452Sralph #include "hp2648.h"
1315452Sralph 
1415452Sralph label(s)
1515452Sralph char *s;
1615452Sralph {
1715452Sralph 	handshake();
1815452Sralph 	putchar(ESC);
1915452Sralph 	putchar(GRAPHIC);
2015452Sralph 	putchar('l');
2115452Sralph 	for(;*s!='\0';s++)
2215452Sralph 		putchar(*s);
2315452Sralph 	putchar(ESC);
2415452Sralph 	putchar(GRAPHIC);
2515452Sralph 	putchar('d');
2615452Sralph 	putchar('T');
2715452Sralph 	handshake();
2815452Sralph 	putchar(ESC);
2915452Sralph 	putchar(GRAPHIC);
3015452Sralph 	putchar(PLOT);
3115452Sralph 	putchar(BINARY);
3215452Sralph 	buffcount = 4;
3315452Sralph }
34