                     ************************************
                     *  Mocha W32 LPD version 1.61      *
                     *     Copyright (C) MochaSoft      *
                     *       All Rights Reserved        *
                     ************************************
 
This is the README.TXT  file for Mocha W32 LPD

Mocha W32 LPD is a 32-Bit Print Server application for Windows-95/98 
or NT Workstations. It works as a LPD server, giving your AS/400 
or UNIX system access to local Printers on the Windows-95/98/NT 
platform.

Highlights:

    - Using the standard LPD protocol (RFC 1179)
    - Can handle SCS print jobs from an AS/400 Mainframe Computer
      system. (5256 type)
    - LPD can accept print jobs to any printer installed in the 
      Windows-95/98 system. Both local and network printers.
    - Can accept jobs with an unknown queue name. LPD will, if it cannot 
      find a job queue in the configuration, use the default queue: anyqueue
    - Can run in raw or page formatting mode (If the printer driver
      supports it)
    - Easy control of print queues, which can be operated independently.
    - Support for landscape mode
    - Many trim parameters 
    - View option for paused print jobs
    - Possible to use special translation tables
    - Can run as an icon in the tray
    - Possible to select if a banner page should be used 
    - Can supports system orders (as LPQ) from UNIX Hosts

Limitations:

    - Cannot accept IPDS jobs from an AS/400 system
    - Will ignore SCS font handling commands as : Set Line Density
    - Will ignore requests from UNIX systems for TROFF,PLOT,PR,
      POSTSCRIPT and RASTER handling. 
    - No security check. Anyone on the local area net can send a print 
      job to a printer.
    - The main purpose for Mocha W32 LPD, is to run on each local PC 
      workstation, and handle the local attached printers. It is not 
      designed to be used as a general print server for many users.

*** Order ***
    
    Visit www.mochasoft.dk for latest information. You can order with
    Credit card or check/postal money order.

*** Installation ***

    - unpack files with a zip utility, into a temporary directory.
    - load program setup.exe and follow instructions.


    If problems with the installation, copy all files to a new
    directory and rename setup.exe to lpd.exe. Start Mocha W32
    LPD with loading lpd.exe.

*** How to create a Printer device on an AS/400 system ***

    To create a printer device named PRT10, use the CRTDEVPRT command:

    CRTDEVPRT DEVD(PRT10) DEVCLS(*VRT) TYPE(3812) MODEL(1) FONT(011)

    Where PRT10 is your new printer device

    Hereafter configure PRT10 to a Remote Print Queue, which will
    tell the as/400 where to send the SCS print jobs. In this example
    we have named our PC running Mocha W32 LPD "W98" in the
    DNS configuration for your network, or we could have used a
    static Host name configuration and have created a PC named
    "W98" on the AS/400 

    First check in the AS/400 can see the PC running LPD. On the 
    AS/400 command line type:

    PING 'W98'

    The AS/400 should make a successful verification.


    Now make sure PRT10 is not running (maybe it is not necessary
    but....)

    ENDWTR WTR(PRT10) OPTION(*IMMED)

    Hereafter:

    CHGOUTQ OUTQ(PRT10) RMTSYS('W98') RMTPRTQ('laser') CNNTYPE(*IP) 
            DESTTYPE(*OTHER) TRANSFORM(*NO)

    where W98 is the IP address of the PC running Mocha W32 LPD
    and "laser" is the print queue defined in Mocha W32 LPD
    Menu - Settings - Printer queue setup.

    W98 should not be replaced with a raw IP address as 152.1.1.1. 
    You must create a host name  entry in the AS/400 host table for 
    the object W98. 
    Select GO TCPADM - Configure TCP/IP - Work with TCP/IP host table 
    entries.



*** How to create a Printer device on an UNIX system ***

    Most UNIX systems will have a system administration tool, (scoadmin, 
    smit,  Admintool) which can guide the configuration for using a 
    remote LPD unit.
    Also the manual page for printcap and lpr can be a good source 
    for information.

    For all UNIX systems make sure your UNIX system knows your PC running
    LPD. Try a ping <pc name> before making the configuration.


*** Uninstallation ***

    Use Windows tool "Add/Remove Programs" in the Control Panel. Select
    Mocha W32 LPD and click Add/Remove.

*** Documentation ***

    The documentation has been included in the Window Help
    system. Select Help in the menu.

*** Bugs ***

  If any bugs are observed, or ideas for improvement of the product,
  please to not hesitate to contact frydendal@mochasoft.dk.

*** Change list ***

Version 1.0 : 990804

  First version.

Version 1.1 : 990821

- Changed the documentation. CHGOUTQ should be defined with 
  parameter TRANSFORM(*NO) and the IP address for the LPD
  workstation must be created in the AS/400 host entry table
  No changes to to software in this version.

Version 1.2 : 991006
- changed default page width from 132 to 255 (MPP value in SCS)
- would in some print situation not release system reources

Version 1.3 : 991008
- UNIX form-feed was not handled correct

Version 1.4 : 991020
- In SCS/EBCDIC mode, LPD would ignore underscore (0x6d) characters.

Version 1.5 : 000208
- Relative cursor command (in SCS data) could give wrong 
  position of data

Version 1.6 : 000601
- More error information in log file, if lpd cannot create a file on the PC
- Another demo license display
- Fixed problem with NT and network printers

Version 1.61 : 000811
- Problem with UNIX print without formfeeds

The Mocha W32 LPD package consists of the following files.

    README.TXT          Introductory information
    setup.exe           Installation program (*)
    lpd.hlp             Help file
    lpd.cnt             Index to help file
    ebcdic52.map        EBCDIC <-> ASCII table US (ASCII file)
    ebcdic52.ita        EBCDIC <-> ASCII table Italy (ASCII file)
    ebcdic52.ger        EBCDIC <-> ASCII table Austria/Germany (ASCII file)
    ebcdic52.spa        EBCDIC <-> ASCII table Spain (ASCII file)
    ebcdic52.fr         EBCDIC <-> ASCII table French (ASCII file)
    ebcdic52.uk         EBCDIC <-> ASCII table United Kingdom (ASCII file)
    ebcdic52.rus        EBCDIC <-> ASCII table Russian (ASCII file)
    ebcdic52.fin        EBCDIC <-> ASCII table Finland/Sweden (ASCII file)
    ebcdic52.ice        EBCDIC <-> ASCII table Iceland (ASCII file)
    ebcdic52.dk         EBCDIC <-> ASCII table Danish/Norway (ASCII file)
    LICENSE.TXT         license agreement/warranty disclaimer
    REGISTER.TXT        order form

    (*) setup.exe will be renamed to
         
          lpd.exe : Mocha W32 LPD application
          lpduninstall.exe : uninstallation program

    If you did not receive all these files please contact 
    frydendal@mochasoft.dk, or check www.mochasoft.dk
