Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk print_dlg.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 8 Dec 2001 19:12:08 -0600 (CST)
guy         2001/12/08 19:12:07 CST

  Modified files:
    gtk                  print_dlg.c 
  Log:
  On Win32, a GUI application apparently can't use "popen()" (it
  "returns an invalid file handle, if used in a Windows program,
  that will cause the program to hang indefinitely"), so we can't
  use a pipe to a print command to print to a printer.
  
  Eventually, we should try to use the native Win32 printing API
  for this (and also use various UNIX printing APIs, when present?).
  
  For now, we support only printing to a file in Windows.
  
  Revision  Changes    Path
  1.26      +42 -1     ethereal/gtk/print_dlg.c