Þann 15-Jan-98 skrifar [EMAIL PROTECTED]: > Question for the C crowd: I have a program which I wish to print an ordered > text file. In the Linux Programmers Guide, the printer chapter shows how to > directly talk to the printer port. I'd like to be able to send the text to > the > appropriate printer filter (and spooler). How would one go about doing that? > Put the ordered file into a temporary one, and execl 'lpr' on that file, removing it when 'lpr' is done... or open a pipe to 'lpr'.
---------------------------------------------------------------------------- Orn Einar Hansen [EMAIL PROTECTED] [EMAIL PROTECTED] voice+fax; +46 035 217194 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .