Setting up PC Printing with SCO Open Server 5 ============================================= Description: These instructions will guide you through setting up "PC Printing" on a Windows machine from a SCO Open Server 5 Unix using ICE.TCP.Pro. Instructions: 1) Install Unix ICELPD Daemon ICELPD is located on the ICE.TCP.Pro CD in the directory X:\Tools\ICE.TCP\UNIX (X being your CD Rom Drive letter). Installing ICELPD using FTP --------------------------- Using an FTP program (like FTP-WIN, or FTP PRO) you want to transfer ICELPD in "binary" to the /usr/bin directory on Unix. Installing ICELPD via diskette ------------------------------ Copy ICELPD from the CD to a blank 3.5 floppy diskette. Then insert the diskette into your Unix machine. Use the following command to copy the file to Unix. doscp -r a:/icelpd /usr/bin/icelpd After copying the file over you will need to change its permissions using the following command. chmod 777 icelpd 2) Install ICELP1.SCR on Unix ICELP1.SCR is also located on the ICE.TCP.Pro CD in the directory X:\Tools\ICE.TCP\UNIX. Installing ICELP1.SCR using FTP ------------------------------- Using an FTP program (like FTP-WIN, or FTP PRO) you want to transfer ICELPD in "binary" to the /var/spool/lp/model directory on Unix. Installing ICELP1.SCR via diskette ---------------------------------- Copy ICELPD from the CD to a blank 3.5 floppy diskette. Then insert the diskette into your Unix machine. Use the following command to copy the file to Unix. doscp -r a:/icelp1.scr /var/spool/lp/model/icelp1.scr After copying the file over you will need to change its permissions using the following command. chmod 777 icelp1.scr 3) Enable port 2346 to allow printing Using VI or some other Unix text editor, you will need to edit the inetd.conf and services files on Unix. Editing inetd.conf ------------------ Inetd.conf is located in the /etc directory on Unix. Add the following line to this file. icelpd stream tcp nowait root /usr/bin/icelpd icelpd Editing services ---------------- Services is located in the /etc directory on Unix. Add the following line to this file. icelpd 2346/tcp #icelpd server In order to make these changes take effect you will need to reboot your Unix machine at this point. 4) Create a Local Printer on Unix On Unix run SCOADMIN, and goto Printers, Printer Manager. Using the drop down menu's select Printer, Add Local. This will bring up fields to fill in to create your new printer. Name: The name of your new PC Printer. The name is case sensitive. Description: A Description of your printer. Model: Located in the drop down box you want to select ICELP1.SCR as your model. Device: Overwrite whatever is in this field with "/dev/null." 5) Setup PC Print in Windows From your Start Menu, run the ICELP program. If this is the first time you have run it on this PC it will automatically prompt you to run ICELp Configuration. If not you will need to right-click on the ICELP icon located in your task bar, and select ICELp Configuration. Under the PC Print tab check "Enable PC Printing," and hit the "add" button. Then you will need to fill in the following fields. Printer Device: Select from the drop down box which Windows printer you want to print to. If you do not have a Windows printer setup yet, you will need to do that first. Unix Printer Name: This name should match the name you gave your Local Printer in Unix. Unix Host Address: This is the IP Address of the Unix machine you will be printing from. Socket Number: This number should always be 2346. Unix Print Spooler Directory: This directory should always be /usr/tmp. After these fields are Shared Printing Options. These can optionally be filled in. 6) Test Printing To test printing, log into your Unix machine via ICE.TCP.Pro. Then at a command prompt ($, #, etc.) type the following command. lp -d Printername is the name of the Local Printer you created in Unix. Filename is the name of a file on Unix that you want to print for this test. Now from your Start Menu in Windows you want to run ICELP again. Every once in awhile the icon on your taskbar will flash, meaning that it is polling for print jobs. If everything is successful your print job should come out on the PC Printer. If for some reason the print job does not print you will want to review the steps in this document or check the troubleshooting section in the manual. ŠJ. River, Inc. 2000