xref: /csrg-svn/lib/libplot/hp2648/label.c (revision 61393)
148517Sbostic /*-
2*61393Sbostic  * Copyright (c) 1980, 1993
3*61393Sbostic  *	The Regents of the University of California.  All rights reserved.
448517Sbostic  *
548517Sbostic  * %sccs.include.proprietary.c%
619975Sdist  */
719975Sdist 
815452Sralph #ifndef lint
9*61393Sbostic static char sccsid[] = "@(#)label.c	8.1 (Berkeley) 06/04/93";
1048517Sbostic #endif /* not lint */
1115452Sralph 
1215452Sralph #include "hp2648.h"
1315452Sralph 
label(s)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