rachman wrote: > Teman-teman bagaimana cara mencetak dilinux menggunakan C???
Prosedur standard: buka pipe(2) do fork(2) di child dup2(2) pipe[0] ke 0 (stdin fileno) trus execve(2) lpr (or whatever spooler/sistem printing anda) di parent cetak via write(2) ke pipe[1] Prosedur langsung: open /dev/lp write /dev/lp -- +-R-| Netscape Communicator 4.x |-H-| Powered by Linux 2.4.x |-7-+ |/v\ Agus Budy Wuysang MIS Department | | | Phone: +62-21-344-1316 ext 317 GSM: +62-816-1972-051 | +------------| http://www.fasw.co.id/person/supes/ |-------------+ -- Utk berhenti langganan, kirim email ke [EMAIL PROTECTED] Informasi arsip di http://www.linux.or.id/milis.php3
