[comp.unix.programmer] 'C' access to the lp spooling stuff, any ideas

wdh@holos0.uucp (Weaver Hickerson) (12/13/90)

I'd like to be able to queue files by writing into the lp fifos, tables,
and whatever other magic is involved.  Does anybody know of the format,
rules, caveats, etc for this type of thing.

Any help is appreciated.

Weaver
-- 
-Weaver Hickerson   Voice (404) 496-1358   :  ..!edu!gatech!holos0!wdh

jeenglis@alcor.usc.edu (Joe English Muffin) (12/13/90)

wdh@holos0.uucp (Weaver Hickerson) writes:

>I'd like to be able to queue files by writing into the lp fifos, tables,
>and whatever other magic is involved.  Does anybody know of the format,
>rules, caveats, etc for this type of thing.

    popen("lpr","w");

is by far your best bet.


--Joe English

  jeenglis@alcor.usc.edu