Annotation of researchv10dc/630/man/src/p_man/man3/psendchar.3r, revision 1.1.1.1

1.1       root        1: .nr Hy 0
                      2: .nh
                      3: .ds ZZ DEVELOPMENT PACKAGE
                      4: .TH PSENDCHAR 3R "630 MTG"
                      5: .XE "psendchar()"
                      6: .XE "psendnchars()"
                      7: .XE "xpsendchar()"
                      8: .XE "xpsendnchars()"
                      9: .SH NAME
                     10: psendchar, psendnchars, xpsendchar, xpsendnchars \- send character to printer port
                     11: .SH SYNOPSIS
                     12: .ft B
                     13: int psendchar (c)
                     14: .sp
                     15: int xpsendchar (c)
                     16: .sp
                     17: void psendnchars (n, s)
                     18: .sp
                     19: void xpsendnchars (n, s)
                     20: .sp
                     21: char c;
                     22: .br
                     23: int n;
                     24: .br
                     25: char \(**s;
                     26: .SH DESCRIPTION
                     27: The
                     28: .I psendchar
                     29: function
                     30: sends a single byte to the printer output queue.
                     31: If the calling process does not own the printer,
                     32: .I psendchar
                     33: will send nothing to the printer and returns a 0.
                     34: Otherwise, 
                     35: .I psendchar
                     36: initiates printing
                     37: and returns a 1.
                     38: .PP
                     39: The
                     40: .I xpsendchar
                     41: function is identical to
                     42: .I psendchar
                     43: except that it may expand tabs and filter escape sequences
                     44: depending on the printer's setup values.
                     45: .PP
                     46: The
                     47: .I psendnchars
                     48: and
                     49: .I xpsendnchars
                     50: functions send the string
                     51: .I s
                     52: of length
                     53: .I n
                     54: to the printer.
                     55: \f2Xpsenchars\f1 handles expanding tabs and filtering escape sequences.
                     56: These routines block until all the characters fit on the printer output
                     57: queue.
                     58: .PP
                     59: If the printer output queue is full, the above functions will
                     60: block the
                     61: .br
                     62: calling process until they are able to place the data into 
                     63: the printer queue.
                     64: 
                     65: .SH SEE ALSO
                     66: resources(3R).

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.