copy($file,'//host/printername'); [download]
In reply to Re: How do I send a file to the printer on Win32? by Anonymous Monk in thread How do I send a file to the printer on Win32? by munchie