1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-15 18:17:32 -05:00
Commit Graph

6 Commits

Author SHA1 Message Date
6813094751 After trying a succession of tests on Jacob's machine, I think I've
finally isolated the _important_ difference between Romano Trampus's
working printing.c and my failing one: he ignores the error return
from the first exploratory how-big-does-my-buffer-need-to-be call to
EnumPrinters(), because not having enough buffer space counts as an
error condition. Hence I am officially a klutz, but this should now
work. (Also reverted ENUM_LEVEL to 1, again, because that seems to
be the choice of people whose code works.)

[originally from svn r1915]
2002-09-02 13:47:50 +00:00
ddb06b3951 I'm rapidly running out of patience for trying all possible
combinations of options to EnumPrinters() to see which one works,
but here's another one tried at random for now. *sigh*

[originally from svn r1912]
2002-09-01 13:12:51 +00:00
554f9f130a Anecdotal evidence suggests that a single EnumPrinters() call
specifying both PRINTER_ENUM_LOCAL and PRINTER_ENUM_CONNECTIONS
catches more printers in some circumstances than two EnumPrinters()
calls each specifying just one of them. We'll try it for a bit; if
it goes wrong I might have to put back the two original calls as
well and sort out some means of removing duplicate printers from the
list.

[originally from svn r1829]
2002-08-11 12:17:25 +00:00
9600d8815a Network printers weren't showing up on at least NT4. This version
appears to be better, but Jacob has found that it still isn't
perfect. Bah.

[originally from svn r1589]
2002-03-12 18:27:10 +00:00
42cbf97a09 Avoid needless memory management error if EnumPrinters returns no
printers.

[originally from svn r1588]
2002-03-12 09:55:02 +00:00
f8e7422c6f As ever, There's Always One. Check in the extra source file. *blush*
[originally from svn r1582]
2002-03-09 19:06:58 +00:00