home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / a / addr110.zip / DJENVLOP.BAT < prev    next >
DOS Batch File  |  1992-09-06  |  2KB  |  32 lines

  1. ECHO OFF
  2. REM ---------------------------------------------------------------------------
  3. REM  HP DeskJet/Plus/500 Envelope Printing Set-up for instantADDRESS 1.1
  4. REM
  5. REM  Copyright (C) 1991 KJL Software. All rights reserved.
  6. REM ---------------------------------------------------------------------------
  7.  
  8. REM ---------------------------------------------------------------------------
  9. REM  The following switches do the following:
  10. REM
  11. REM     /L 5     - Maxmimum accepted address length is 5
  12. REM     /W 39    - Maximum allowed address width is 39
  13. REM     /T 9     - Top margin is 9
  14. REM     /M 30    - Left margin is 30
  15. REM     /F       - Send a form-feed when done printing to eject envelope
  16. REM     /E 27 69 - Reset the printer when done
  17. REM ---------------------------------------------------------------------------
  18. instaddr /L 5 /W 39 /T 9 /M 30 /F /E 27 69 0 %1 %2 %3 %4 %5
  19.  
  20. REM ---------------------------------------------------------------------------
  21. REM  The following initialization string is sent to the printer before the
  22. REM  address is printed.
  23. REM ---------------------------------------------------------------------------
  24. REM
  25. REM         Reset Size: #10 Envelope   Roman-8    10-pitch, 12-pt, upright, med-weight Courier   Envelope Feed
  26. REM         ┌─┴─┐ ┌───────┴────────┐ ┌────┴────┐ ┌─────────────────────┴──────────────────────┐ ┌──────┴──────┐
  27. instaddr /I 27 69 27 38 108 56 49 65 27 40 56 85 27 40 115 112 49 48 104 49 50 118 115 98 51 84 27 38 108 51 72 > NUL:
  28.  
  29. ECHO ---------------------------------------------------
  30. ECHO   HP DeskJet envelope mode set, ready for address
  31. ECHO ---------------------------------------------------
  32.