jeff elkins <[EMAIL PROTECTED]> writes:

>> Instead, as was suggested earlier, use the "lpr" command and send it
>> the text/data on standard input. Any reasonably managed Unix system
>> should be able to handle a fair range of graphics formats, though
>> postscript is preferred.
> I've been using:
>
> p=os.popen('lp','w')        
> p.write("some text')
> p.Close()

Yeah. System V called it lp. BSD called it lpr. Most modern systems
have both, as they are just a front end to the line printer (when was
the last time you saw an honest-to-gods line printer?) daemon.

    <mike
-- 
Mike Meyer <[EMAIL PROTECTED]>                  http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to