home *** CD-ROM | disk | FTP | other *** search
/ Windows Shareware GOLD / NuclearComputingVol3No1.cdr / icons / f1322 / dumpicon.txt < prev   
Text File  |  1990-08-13  |  2KB  |  60 lines

  1.                                  DUMPICON
  2.  
  3.      A Utility to print Windows 3.0 icon files on HP LaserJet printers
  4.  
  5.                         vers 1.0 by Monte Ferguson
  6.                                  14-Aug-90
  7.  
  8.  You've probably downloaded a major quantity of icon files (*.ICO) for 
  9. Windows 3.0, but how can you keep track of what they look like?  Here yah 
  10. go - dump the whole mess of'em out to your LaserJet.
  11.  
  12.  Usage is simple enough:
  13.  
  14.  DUMPICON [path] [/V [/43] [/50]]
  15.  
  16.  The [path] tells the program where to look for *.ICO files.  It's 
  17. optional, if you don't specify a path it'll look in the default drive and 
  18. directory.
  19.  
  20.  /V engages "Visual Mode" - it previews the icon on the screen in all 16 
  21. glorious colors.  Along with the /V switch you may want to include the /43 
  22. (43 line for EGA) or /50 (50 line for VGA) options - icons are 40 rows 
  23. tall, using one of these extended text modes will fit the entire icon on 
  24. the screen.
  25.  
  26.  The output goes to LPT1:
  27.  
  28.  NOTE:  This program was tested using an HP LaserJet III with 4Meg of RAM 
  29. and seems to work OK for me. Which is ALL the guarantee you get.  If it 
  30. works for you too, I'm tickled... if not, well, it's not like you PAID for 
  31. this or anything, so quitcherwhining! :-)  
  32.  
  33.  It may work on other HP LaserJets (or compatibles...?) if they have 
  34. enough RAM to print full-page 300dpi graphics.  Maybe.  I dunno.
  35.  
  36. EXCUSES:  I'm not a Windows programmer, I figured out the *.ICO file 
  37. format by "brute force" - I just stared at it until it made sense.  So I'm 
  38. probably reading it wrong (it looks like some icons might be a little 
  39. taller than they should be...?).  If anyone has info on the actual file 
  40. layout I'd be glad to make the necessary changes in the next version of 
  41. DUMPICON.
  42.  
  43.  RE: Dithering... this is the first time I've ever tried something like 
  44. printing color images on a B&W printer, so I made it up as I went along. 
  45. The dithering routines are completely seat-of-the-pants hacking... it 
  46. seemed to make sense at the time, and *I* like the results.
  47.  
  48.  Written in QuickBASIC 4.5.
  49.  
  50.  Comments can be sent to:
  51.  
  52.                               Monte Ferguson
  53.                               PFG Consulting
  54.                       ("A Growing Excited Company!")
  55.                         1250 Anita Drive suite 304
  56.                               Kent, OH  44240
  57.  
  58.  Hope you enjoy the program.  It's free, no guilt/cripple/share/nagware 
  59. here.
  60.