'C' access to the lp spooling stuff, any ideas

Jon Brawn jonb at specialix.co.uk
Fri Dec 14 04:38:41 AEST 1990


jeenglis at alcor.usc.edu (Joe English Muffin) writes:
>wdh at 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.

Tart it up a bit by setting absolute pathnames and IFS though!
-- 
 "These opinions where made up on the spur of the moment, to a formula kept
 secret from prying eyes for hundreds of years, and bear no relationship to
       my actual beliefs, let alone those of Specialix International"
Jon Brawn, jonb at specialix.co.uk "I didn't do it. I wan't there."



More information about the Comp.unix.questions mailing list