Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!mcsun!ukc!slxsys!jonb From: jonb@specialix.co.uk (Jon Brawn) Newsgroups: comp.unix.questions Subject: Re: 'C' access to the lp spooling stuff, any ideas Message-ID: <1990Dec13.173841.18658@specialix.co.uk> Date: 13 Dec 90 17:38:41 GMT References: <1990Dec12.232035.14857@holos0.uucp> <13632@chaph.usc.edu> Organization: Specialix International, London Lines: 14 jeenglis@alcor.usc.edu (Joe English Muffin) writes: >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. 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@specialix.co.uk "I didn't do it. I wan't there."