Mocha w32 LPD
Mocha W32 LPD is a 32-Bit Print Server application for Windows-95/98/2000 or XP Workstations. It works as a LPD server, giving your AS/400 or UNIX system access to local Printers on the Windows platform.
for Zip packed, click
here Mocha W32 LPD Features:
|
|
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 LPD.
- - 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.
AS/400 and LPD
It is very easy from the AS/400 to handle TCP/IP print using the standard LPR/LPD protocol. Before using LPD, you must create a local print device on the AS/400: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 (Use "go tcpadm" on the AS/400 to work with your TCP/IP configuration)
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.
UNIX and LPD
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 sources of information.For all UNIX systems make sure your UNIX system knows your PC running LPD. Try a ping "pc name" before making the configuration.
