/[rdesktop]/sourceforge.net/trunk/rdesktop/printer.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/printer.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 776 by jsorg71, Sat Oct 2 01:30:33 2004 UTC revision 874 by stargo, Sat Apr 2 17:32:38 2005 UTC
# Line 25  printer_enum_devices(uint32 * id, char * Line 25  printer_enum_devices(uint32 * id, char *
25          int count = 0;          int count = 0;
26          int already = 0;          int already = 0;
27    
28          // we need to know how many printers we've already set up          /* we need to know how many printers we've already set up
29          // supplied from other -r flags than this one.             supplied from other -r flags than this one. */
30          while (count < *id)          while (count < *id)
31          {          {
32                  if (g_rdpdr_device[count].device_type == DEVICE_TYPE_PRINTER)                  if (g_rdpdr_device[count].device_type == DEVICE_TYPE_PRINTER)
# Line 62  printer_enum_devices(uint32 * id, char * Line 62  printer_enum_devices(uint32 * id, char *
62                  }                  }
63    
64                  if (!pos2 || (*pos2 == (char) 0x00))                  if (!pos2 || (*pos2 == (char) 0x00))
65                          pprinter_data->driver = "HP LaserJet IIIP";     /* no printer driver supplied set default */                          pprinter_data->driver = "HP Color LaserJet 8500 PS";    /* no printer driver supplied set default */
66                  else                  else
67                  {                  {
68                          pprinter_data->driver = xmalloc(strlen(pos2) + 1);                          pprinter_data->driver = xmalloc(strlen(pos2) + 1);

Legend:
Removed from v.776  
changed lines
  Added in v.874

  ViewVC Help
Powered by ViewVC 1.1.26