xref: /csrg-svn/lib/libplot/hp2648/label.c (revision 19975)
1*19975Sdist /*
2*19975Sdist  * Copyright (c) 1980 Regents of the University of California.
3*19975Sdist  * All rights reserved.  The Berkeley software License Agreement
4*19975Sdist  * specifies the terms and conditions for redistribution.
5*19975Sdist  */
6*19975Sdist 
715452Sralph #ifndef lint
8*19975Sdist static char sccsid[] = "@(#)label.c	5.1 (Berkeley) 05/07/85";
9*19975Sdist #endif not lint
1015452Sralph 
1115452Sralph #include "hp2648.h"
1215452Sralph 
1315452Sralph label(s)
1415452Sralph char *s;
1515452Sralph {
1615452Sralph 	handshake();
1715452Sralph 	putchar(ESC);
1815452Sralph 	putchar(GRAPHIC);
1915452Sralph 	putchar('l');
2015452Sralph 	for(;*s!='\0';s++)
2115452Sralph 		putchar(*s);
2215452Sralph 	putchar(ESC);
2315452Sralph 	putchar(GRAPHIC);
2415452Sralph 	putchar('d');
2515452Sralph 	putchar('T');
2615452Sralph 	handshake();
2715452Sralph 	putchar(ESC);
2815452Sralph 	putchar(GRAPHIC);
2915452Sralph 	putchar(PLOT);
3015452Sralph 	putchar(BINARY);
3115452Sralph 	buffcount = 4;
3215452Sralph }
33