home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / LASER / 4019BAT.ZIP / 4019BAT.DOC next >
Encoding:
Text File  |  1991-01-27  |  3.3 KB  |  66 lines

  1. You can avoid turning your 4019 E off and on in order to reset the printer
  2. to the desired type of emulation with the enclosed simple batch files. You can 
  3. also call the batch files from the batch file you use to run an application
  4. program in order to make sure that the printer emulation mode is correctly
  5. chosen before you application program takes over. For example I (almost) always
  6. run Word Perfect 5.1 in HP emulation mode. By adding the DOS 3.3 command
  7. "CALL PRHP" to my WP.BAT file the 4019 will (if turned on) be set to the correct
  8. mode. If the printer is not turned on the DOS Copy command which sends the 
  9. Escape-setup stream to the printer gives me the "Abort, Retry.." command until
  10. I turn the printer on and issue the "R(etry)" command. (If I want to run WP5.1
  11. with the 4019 E driver I can shell form WP to Dos and type "PRIBM" ie.
  12. Cntr F1, select DOS command and type PRIBM.BAT).
  13.  
  14. The batch files PRxx.BAT will switch the datastream mode of the IBM 4019 E
  15. to the xx mode where xx is either IBM ( the PPDS mode ); HP (HP series II 
  16. emulation; or PLOT (HP plotter emulation).
  17.  
  18. Place the *.BAT files in one of the directories in your path statement (e.g.
  19. C:\UTIL ). As written the Batch files assume the three *.2PR files will be
  20. in a subdirectory named "C:\PR". If you put them in another directory edit the
  21. batch files accordingly.
  22.  
  23. This program was really simple to write. The hard part was finding out what
  24. escape sequence would change my 4019 between its three datastream modes. IBM's 
  25. documentation does not even hint that it is possible to switch the modes other
  26. than turning the printer off and on. Such manual resetting often means the 
  27. wrong mode in effect when a application runs which can waste a lot of paper 
  28. before you can dive to the Start/Stop-Print/Check button.
  29.  
  30. The escape sequence can be produced from a program named "LAZRDRVR" which is an
  31. apparently unsupported IBM program available on the EXEC-PC under the name
  32. LAZRDRVR.ZIP. If you do not have the program GET IT since in can change modes
  33. and do many other functions. Its only drawback is that it is completly menu
  34. driven (ie you can't have it send a desired command sequence by issuing a
  35. DOS command line call or by calling it from a batch file). The program's output
  36. can be redirected to text file rather than the printer. By simply running the
  37. program 3 time each time issuing the single mode command I desired and then 
  38. renaming the output file to *.2PR I produced the 3 files with the correct
  39. escape sequence which when copied to the printer would switch the mode.
  40.  
  41. While I have no way of testing it (I only have the 4019 E) the batch file will probably work on the
  42. 4019 as well. If anyone can verify that it does please let me know. 
  43.  
  44. I would also appreciate hearing from anyone who has bothered to set up the 
  45. PC MAG LZSELCT/SETUP (V10N2) program for the 4019 E / 4019 or even the
  46. HP Laser II series. The LZSELECT program does much of what the LAZRDRVR 
  47. program does (but only for the HP series II commands not the IBM PDDS and 
  48. HP plotter modes). Its main advantage is that its output is in a decimal format
  49. (ie ESC= 27) which allows the output to be used in the PC MAG SETUP2 program
  50. which can be run as a TSR.    
  51.  
  52. I frequent the EXEC-PC BBS in Milwaukee.
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.