[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Sorce code of lp

On Fri, 2 Mar 2001, Sumit Rangwala wrote:

>         I was trying to write a C program that would print a file on  a
> printer. I think on Linux you need to submit it to lp ( a deamon) . If I

thats lpd you are talking about. lp is the device aka the "file" you would
like to write to. If that is your 1st printer then write to /dev/lp0