/[rdesktop]/sourceforge.net/trunk/rdesktop/printercache.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/printercache.c

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

revision 585 by astrand, Fri Jan 23 08:35:52 2004 UTC revision 586 by n-ki, Thu Jan 29 11:40:36 2004 UTC
# Line 147  printercache_process(STREAM s) Line 147  printercache_process(STREAM s)
147          in_uint32_le(s, type);          in_uint32_le(s, type);
148          switch (type)          switch (type)
149          {          {
150                    /*case 4: renaming of item old name and then new name */
151                    /*case 3: delete item name */
152                  case 2:                  case 2:
   
153                          in_uint32_le(s, printer_unicode_length);                          in_uint32_le(s, printer_unicode_length);
154                          in_uint32_le(s, blob_length);                          in_uint32_le(s, blob_length);
155    
# Line 159  printercache_process(STREAM s) Line 160  printercache_process(STREAM s)
160                          }                          }
161                          break;                          break;
162    
163                  case 1:                  /*case 1:*/
   
164                          // TODO: I think this one just tells us what printer is on LPT? but why?                          // TODO: I think this one just tells us what printer is on LPT? but why?
165    
166                            //
167                            // your name and the "users choice" of printer driver
168                            // my guess is that you can store it and automagically reconnect
169                            // the printer with correct driver next time.
170                  default:                  default:
171    
172                          unimpl("RDPDR Printer Cache Packet Type: %d\n", type);                          unimpl("RDPDR Printer Cache Packet Type: %d\n", type);

Legend:
Removed from v.585  
changed lines
  Added in v.586

  ViewVC Help
Powered by ViewVC 1.1.26