Forums Assignment Help How can I direct output to the printer?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1312
    Aakanksha
    Participant

    How can I direct output to the printer?

    #9873
    Aakanksha
    Participant

    Under Unix, either use popen to write to the lp or lpr program, or perhaps open a special file like /dev/lp. Under MS-DOS, write to the (nonstandard) predefined stdio stream stdprn, or open the special files PRN or LPT1. Under some circumstances, another (and perhaps the only) possibility is to use a window manager’s screen-capture function, and print the resulting bitmap.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.