Receiving Print Jobs From UNIX SystemsSDLPD can receive print jobs from remote hosts. Incoming jobs are received on TCP socket 515, and a NetWare thread is created to handle the connection. Data is queued into a temporary file in the NetWare queue's directory, and placed into a NetWare print job when the transfer is complete. Use PCONSOLE.EXE from a DOS workstation. Create any print queues that you may need if you are not using existing print queues. Edit the file SYS:ETC\HOSTS. You will need to add the host name of each host that you wish to receive jobs from. For further assistance, read Novell's "TCP/IP Transport Supervisor Guide" for details on the format of the file. From the server console, load the SDLPDCON.NLM if it is not currently loaded. Select the menu option for Incoming Queues. A list will be shown. To configure a previously installed queue, select the queue name and press enter. To configure a new queue, press INS, and a list of queues will be displayed. Select one and press enter. The dialog shown below will be displayed.
Data Translation: This option controls any text translations needed between DOS and UNIX systems. Options are Binary: No translations
LF->CR/LF: Always translate all jobs.
Automatic: Uses LF to CR/LF only when job type is TEXT
Suppress Form Feed: This option sets or disables the print job flag to suppress from feeds after the print job has finished printing. Suppress Banners: If this option is set to YES, no banner pages will be printed. If set to NO, banner pages will be printed if requested by the incoming print job. UNIX print jobs usually request banners unless lpr is used with the -h option. A job submitted as PostScript will have the banner suppressed regardless of the Suppress Banners option setting. Host Access Control: If set to NO, all hosts will be allowed to print to configured print queues. If set to YES, the host name will be checked with the list configured in the Host Access List option. If the host does not exist in the list, the connection will be closed and the job will be rejected. To add hosts to the list, select the Host Access List and press <Enter>. A list will be displayed. Press <Ins> to add a host name, or <DEL> to remove a host name. Form Numbers: Four options for controlling the NetWare print job form types are provided for different types of print jobs. Most UNIX implementations will send jobs in text format by default. UNIX users can use the lpr option -l to print binary. Care should be taken when changing the form number from the default. Print servers can be configured to service only one form type, and will prompt a system administrator for form changes when the print server encounters a different form type. The default is to set all form types to 0. Prefix and Suffix files: Four options for adding data to the beginning or the end of an incoming print job are provided. This is useful for queues serviced by language switching printers. With this option, you can specify a file name, or leave the option blank. All files used for this option must be placed in the SYS:SYSTEM\SDLPDFLT\ directory. Several sample files are provided for your reference. The file LINEPRT.PS can be added as a prefix to text files when the queue is serviced by a PostScript printer. Please read the LINEPRT.PS file for further details. The sample file PS-HEAD.DAT will switch a HP3si into PostScript mode, PCL-HEAD.DAT will switch a HP3si printer to PCL mode. HP-RESET.DAT will switch a HP3si printer back to the default printer mode. In the Miscellaneous Options in the main menu, a setting for Max Concurrent Incoming Jobs can be set. This sets a limit to the number of print jobs SDLPD will accept at once. Each incoming print job will create a process (and consume processor time) on the NetWare file server. System Administrators may wish to limit the number of processes that SDLPD can create with this option on slower systems. Options for /etc/printcap on UNIX systems:The following list is a partial listing of options for the UNIX lpd software. You should consult your documentation for a complete listing of features. Note that the \ character is used to note that the printcap entry continues on the next line. Each option is separated by a : character. An example entry on a UNIX system might resemble the following: lp|printq_0:\
:sd=/usr/spool/lp:\
:sh:\
:mx#0:\
:lp=:\
:rm=odell.sdesign.com:\
:rp=printq_0:\
:lf=/var/adm/lp.log:
Most LPD software packages will only transfer jobs to remote hosts when configured with a remote printer. This will cause options such as input and output filters to be ignored for remote printers. For more information, consult the documentation on your LPR/LPD software for your UNIX host. LPD control codes supported by SDLPD for incoming jobs:The following is a list of printer command codes supported by SDLPD. This is provided as a reference to system programmers.
File control codes supported by SDLPD:
UNIX host functionsSupport for remote queue inquiries is supported by SDLPD. From a UNIX host, you may use the lpq program to check the status and contents of a queue. Support for lprm is not provided. For specific lpr options, consult your UNIX system software documentation. Some lpr options that may be useful include:
|