NETGEAR PS111W manual Sample Commands for Using LPD on BSD, Action

Page 68

NetGear Print Server Manual

 

 

Stop Print Services

/usr/lib/lpshut

 

 

Add a System Printer

/usr/lib/lpadmin -p printer_name -v /dev/null

 

 

Restart the Print Services

/usr/lib/lpsched

 

 

Enable printing to the new printer device

enable printer_name

 

 

Start accepting jobs for the new printer device

accept printer_name

 

 

Create a spooling directory

mkdir /usr/spool/Spooler_directory

 

 

Make spooling daemon the owner of this directory

chown daemon /usr/spool/Spooler_directory

 

 

Create read/write permissions

chmod 775 /usr/spool/Spooler_directory

 

 

Give permissions to LPD processes

chgrp daemon /usr/spool/Spooler_directory

 

 

 

Add to the /etc/printcap file:

 

printer_nameRemote_Printer_Alias:\

 

[Tab] :lp=:\

 

[Tab] :rm=PS_NAME:\

Add remote printer(s). (Repeat this process for

[Tab] :rp=Logical_Printer_name:\

[Tab] :sd=Spooler_directory:\

each logical printer/print queue combination that

[Tab] :mx#0

you want to create.)

Use these definitions for entering the information:

Sample command should be entered as one line,

printer_name is the print queue name used to store jobs for the

using a tab character where shown.

corresponding logical printer.

 

 

PS_NAME is the print server name defined in /etc/hosts.

 

Logical_Printer_name is the logical printer name on the print server (L1 to

 

L3 or L1 to L8, depending on the print server that you are using).

 

Spooler_directory is the directory you created.

 

 

Configuring LPD on BSD

Make sure that an IP address has been assigned to the print server and the following statements apply:

The remote host name is the name of the print server.

The remote printer name is the logical printer (L1 to L3 or L1 to L8).

You identify the service type as BSD if your UNIX system asks for the LPD type.

The LPD protocol that the print server uses meets BSD system standards.

Enter the service type as BSD if asked for the LPD type.

Table Sample Commands for Using LPD on BSD shows sample commands when using LPD. The definitions used in the sample commands are:

printer_name is the print queue serviced by the logical printer on the print server. Spooler_dir is the name of the directory used to spool the print jobs.

Sample Commands for Using LPD on BSD

Action

Create a spooling directory

Set spooling daemon as owner of this directory

Create read/write permissions

Give permissions to LPD processes

Add remote printer(s)

Sample Command

Mkdir /usr/spool/Spooler_dir

Chown daemon /usr/spool/Spooler_dir

Chmod 775 /usr/spool/Spooler_dir

Chgrp daemon /usr/spool/Spooler_dir

See adding remote printers in table Sample Commands for Using LPD on System V

59

Image 68
Contents Installation and Reference For Netgear PS111W Print Sever 2000, 2002 by NETGEAR, Inc. All rights reserved Bestätigung des Herstellers/Importeurs United States 888-NETGEAR Audience PrefacePurpose Conventions Related PublicationSpecial Message Formats Use of Enter, Type, and PressChapter List of FTP Files and Commands Supported by the Print Server Appendix C Config File Features IntroductionFront Panel Front Panel of the Model PS111W Print SeverLEDs LED DescriptionsLabel Color Activity DescriptionRear Panel 2Rear Panel of the Model PS111W Print SeverPreparing the Site InstallationVerifying Package Contents Connecting Devices to the Print Server Verifying Power Web Management for Print Server Configuring Print Server for TCP/IPConnecting to the Print Server Browser Menu selections and Configuration Screens Server StatusConfigure Server System Configuration ScreenConfigure Server Fields Print Server Name Password Confirm Password Enable ProtocolsTCP/IP Configuration Fields TCP/IPApple Talk Configuration Fields AppleTalkWireless Configuration fields and buttonsRegulatory Domain Station Name Channel NoNetwork Type WEP Data Privacy Fields Wireless Link Info Wireless Link Info FieldsStat Associated Current Channel Current Tx Rate ThroughputPrinter Port Printer PortLogical Printer Logical Port FieldsButtons Reset Microsoft Windows System Printing Printing in WindowsNetgear Print Server Software Installation Print Server InstallationInformation Components Destination Location Page There will be a program group created and shown as below Page Setting Up Your PC to Recognize the Print Server Netgear Print Server software IconNetGear Print Server Manual To set up each PC Click on Next Select the PS111W print server and click on Next Auto-IP 13 Set up TCP/IP for Print Server to get an IP address Wireless Configuration 14 Wireless Configuration Click on Finish Netgear Add Printer Wizard Write Down the Port Name Click on OK19 Epson Spool Manager Queue Setup Window Addport Window Epson ConnectionADD Port Window Write Down the Port NameAdd a printer to your system to print Select Printer Port for Add Printer Wizard22 Find and select the printer port 23 Add Printer Wizard 24 Use Existing Driver for Add Printer Wizard 25 Name Your Printer for Add Printer Wizard 26 Share Printer for Add Printer Wizard If you answer Yes to print a test page, see Figure 29 Completing the Add Printer Wizard Unix Printing Using TCP/IP Assigning an IP Address to the Print Server Using BootP Temporary IP Address ResolutionAssigning an IP Address to the Print Server Using Dhcp Assigning an IP Address to the Print Server Using Rarp Assigning an IP Address to the Print Server Using ARP Arp -s Name 00c002xxyyzz Configuring Your Print Server Using FTP Configuration ExampleFTP Files in the Directory FTP CommandsFile Name Purpose Mode Setting the Print Method LPD Configuration and PrintingSample Commands for Using LPD on System Action Sample CommandSample Commands for Using LPD on BSD ActionPrinting Using LPD Printing Using FTPPrinting Using DSI Socket Number DefinitionsSetting up Print Server for AppleTalk AppleTalk PrintingSetting up Host Computer Using PSTool Utility Sample CONFIG.3P Configuration FileEntry inConfig File Description PSTool Utility Config File FormatPSTool Utility Config File Entries Using Advanced Management Tools Buttons Advanced ButtonBrowse Button Field Description Advanced Print Server ConfigurationSystem Tab System Tab Fields TCP/IP Tab TCP/IP Tab WindowAppleTalk Tab AppleTalk TabLogical Port Tab Logical Port Tab WindowPhysical Port Tab Wireless Tab Physical PortSsid Use the same Channel number Wireless Link Info Link Info ScreenMenu Options Control MenuPrinter Menu Configuring Using IP Setup Help MenuAppendix a Technical Specifications General SpecificationsEN 55 022 Cispr 22, Class B Vcci Class B ITE Three Main Address Classes Appendix B Understanding IP AddressesIP Addresses and the Internet Netmask Subnet Addressing Example of Subnetting a Class B AddressNetmask Notation Translation Table for One Octet Number of Bits Dotted-Decimal ValueDotted-Decimal Masklength Private IP AddressesNetmask Formats Address Resolution Protocol IP Configuration by DhcpAppendix C Config File Config File TCP/IP SettingsConfiguration Settings Parameter and CommandConfig File Line Numbers Logical Printer Line NumbersAppendix D Using NetWare 5 Ndps OverviewCreating an Ndps Manager Object Create Ndps Manager Object WindowCreating an Ndps Printer Agent Create Printer Agent WindowWorkstation Configuration Configure Port Handler WindowClick on Close Setting Recommended Value Appendix E IP SetupIP Configuration Settings Appendix F Ascii to Hexadecimal Conversion Table Hexadecimal Value Ascii CharacterNetGear Print Server Manual NetGear Print Server Manual
Related manuals
Manual 21 pages 56.15 Kb