home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 19 Printer / 19-Printer.zip / slpos2.zip / SLPOS2.DOC < prev    next >
Text File  |  1996-11-11  |  5KB  |  108 lines

  1. SLPOS2.CMD - Build OS/2 Objects for Seiko Label Printer
  2. (c) 1994-96 by Copyright C F S Nevada, Inc.
  3.  
  4. This OS/2 REXX program will create an object on your Desktop
  5. which will allow you to use a Seiko Label Plus or Seiko Label Pro
  6. printer in a full screen DOS VDM. It presumes that your Seiko
  7. label printer functions properly in native DOS. This version has
  8. been tested with OS/2 Warp 4.0 (Merlin) and the default
  9. communications port driver - VCOM.SYS.
  10.  
  11. You may have to modify the following two statements within the
  12. SLPOS2.CMD program file:
  13.  
  14.        SLP_DRIVER = 'SLPPRO.SYS' /* must contain driver name  */
  15.        COM_PORT   = 'COM3'       /* must contain correct COM? */
  16.  
  17. SLPPRO.SYS is the driver name for the Seiko Label Printer PRO and
  18. SLP.SYS is the driver name for the Seiko Label Printer Plus.
  19. COM_PORT must contain the value of the com port to which your
  20. Seiko Label Printer is attached.
  21.  
  22. The program performs the following functions:
  23.  
  24. 1)   Determines whether the standard COM.SYS / VCOM.SYS com port
  25.      drivers are in use vs. Ray Gwinn's SIO.SYS / VSIO.SYS
  26.      drivers.
  27.  
  28.      Note:     The Seiko label printers no longer work with the
  29.                current versions of Gwinn's drivers but this
  30.                program continues and sets up the DOS VDM
  31.                appropriately as if they did work. Gwinn has
  32.                apparently conceded this problem and has
  33.                discontinued attempts at correcting the problem.
  34.                Seiko has no interest in lending assistance to
  35.                anyone trying to make their printers work under
  36.                OS/2.
  37.  
  38. 2)   Searches all of the local hard drives on your system trying
  39.      to locate the Seiko SLP dive driver. If multiple copies of
  40.      the driver are found, you are given the opportunity to
  41.      select which copy you want the program to use. If SLPOS2
  42.      cannot find the SLP driver, you are asked to supply the path
  43.      to the SLP driver. (In this case, a valid path to the SLP
  44.      driver must be entered.)
  45.  
  46. 3)   The setup string parameters used by the REXX
  47.      SysCreateObject() function are built for either COM.SYS or
  48.      SIO.SYS and an object is created on your Desktop for the
  49.      Seiko printer. Below is a sample setup string. Actual values
  50.      will vary.
  51.  
  52.           EXENAME=command.com;'
  53.           ICONFILE=C:\REXXPROG\SLPOS2.ICO;'
  54.           MINIMIZED=NO;'
  55.           PARAMETERS=/k C:\SLPPRO\SLP-INIT.BAT;
  56.           PROGTYPE=VDM;'
  57.           SET AUDIO_ADAPTER_SHARING=None;'
  58.           SET COM_DIRECT_ACCESS=1;'
  59.           SET COM_HOLD=1;'
  60.           SET COM_SELECT=3;'
  61.           SET DOS_BACKGROUND_EXECUTION=1;'
  62.           SET DOS_DEVICE=SIZE=0 ?:\OS2\MDOS\ANSI.SYS,
  63.                          SIZE=0 C:\SLPPRO\SLPPRO.SYS;
  64.           SET DOS_HIGH=1;'
  65.           SET DOS_UMB=1;'
  66.           SET DPMI_DOS_API=DISABLED;'
  67.           SET DPMI_MEMORY_LIMIT=0;'
  68.           SET HW_ROM_TO_RAM=1;'
  69.           SET HW_TIMER=1;'
  70.           SET IDLE_SECONDS=60;'
  71.           SET IDLE_SENSITIVITY=100;'
  72.           SET INT_DURING_IO=1;'
  73.           SET KBD_ALTHOME_BYPASS=1;'
  74.           SET SESSION_PRIORITY=32;      /* Warp only */
  75.           OBJECTID=<SEIKO Label Printer>;
  76.  
  77. 4)   If you want your Seiko Label Printer DOS session started
  78.      from your Startup folder you must remove the two comment
  79.      lines surrounding the REXX code in SLPOS2.CMD which is used
  80.      to create a shadow of the Seiko Label Printer object. The
  81.      lines to be removed include " Remove this line to
  82.      shadow...".
  83.  
  84. 5)   The SLP-INIT.BAT files is created in the same directory
  85.      where the SLP driver was found. The .BAT file contains:
  86.  
  87.    @echo off
  88.    rem ╔═══════════════════════════════════════════════════════════════════╗
  89.    rem ║ The following MODE statement is not necessary if your DOS session ║
  90.    rem ║ is normally 25 lines by 80 columns.                               ║
  91.    rem ╚═══════════════════════════════════════════════════════════════════╝
  92.    mode co80,25
  93.    SET PROMPT=$e[0;37;44m$t$h$h$h $p$e $e[m 
  94.    C:
  95.    cd \SLPPRO
  96.    lh SLPPRO /R
  97.    cls
  98.  
  99.      Note:     It may be necessary to remove (or REM out) the
  100.                MODE line for some video cards. If your DOS
  101.                sessions are normally 25 lines by 80 columns, the
  102.                MODE line is not necessary.
  103.  
  104. This program is being made available as is, without warranty or
  105. support. Questions may be directed to Dick Goran at 71154.2002 on
  106. CompuServe or dgoran@cfsrexx.com on the Internet. The home
  107. repositories for this program are <http://www.cfsrexx.com> and
  108. Compuserve, OS2DF1 forum, Library 6.