home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / printurl.zip / PrintURL.txt < prev   
Text File  |  1996-06-04  |  2KB  |  67 lines

  1. /*------------------------------*/
  2. /*          PrintURL            */
  3. /*------------------------------*/
  4.  
  5. This PM application allows the user to load and print a specified
  6. URL on the default system printer through a single command (much in 
  7. the same way that you print out a text-only file). The loading, 
  8. formatting and printing of the URL is all handled by the WebExplorer 
  9. DLL's (not included). All activity is hidden from the user as the 
  10. application starts an invisible window which loads, formats and 
  11. prints the specified URL. The application stops after the URL is
  12. successfully printed or if any loading or printing error occurs.
  13. Any type of URL that WebExplorer is capable of loading may be 
  14. printing with this utility. This includes:
  15.  
  16.         1) HTML files
  17.         2) FTP directory listings
  18.         3) Graphic files (GIF, BMP, JPG)
  19.  
  20. USAGE:
  21.  
  22.     PrintURL urlname
  23.  
  24. EXAMPLES:
  25.  
  26.     PrintURL http://www.yahoo.com
  27.     PrintURL ftp://hobbes.nmsu.edu/os2
  28.     PrintURL http://www.unitedmedia.com/comics/dilbert.gif
  29.  
  30. RETURNS:
  31.  
  32.     0   -   No errors
  33.     1   -   Could not load URL (invalid, not found or unavailable)
  34.     2   -   Other loading errors
  35.     3   -   Printing error
  36.  
  37. NOTES:
  38.  
  39.     - The WebExplorer DLL's must be in the libpath or, for Warp, 
  40.     the BEGINLIBPATH or ENDLIBPATH envirironment variable must 
  41.     be set to the directory containing the WebExplorer DLL's.
  42.  
  43. POSSIBLE FUTURE ENHANCEMENTS:
  44.  
  45.     - checking for tcp/ip connection
  46.     - specification of connection script (if required)
  47.     - timed and/or repeated execution
  48.     - select non-default printer
  49.     - use configuration
  50.     - error notification/quiet mode toggle
  51.  
  52. KNOWN PROBLEMS:
  53.  
  54.     - WebExplorer crashes if you attempt to print a very large table
  55.  
  56. PACKAGE CONTENTS:
  57.  
  58.     PrintURL.exe    -   35657 bytes
  59.     PrintURL.txt    -    1985 bytes
  60.  
  61. This program is free but drop me a line if you think it is useful.
  62.  
  63. Darcy Chorneyko
  64. darcy@ibm.net
  65.  
  66.  
  67.