Configure Unix SysV printing with the Printronix interface file by qingqing19771029

VIEWS: 0 PAGES: 1

									Configure Unix SysV printing with the Printronix
interface file


Configure Unix:

1) Log in to Unix as root (or an other username that controls the printers, and has all the right to the
   directories).

2) Copy the pnet.if interface file into the following directory /usr/lib/lp/model/pnet.if.

3) Edit with Vi the pnet.if and modify the UNIT_NAME to your DNS or Hosts name for the
   Printronix printer (print01), or alternatively use single quotes: "dotted-IP" for the UNIT_NAME.
   Modify the LP_DEST to the logical destination name of Printnet [d1prn, d2prn, etc].

4) The rights and ownership should be changed use the following commands.
   chmod a+x /usr/lib/lp/model/pnet.if (enter)
   chown lp /usr/lib/lp/model/pnet.if (enter)

5) If there is no DNS entry for Printnet , add the following entry to the /etc/hosts file. (use for
   example Vi). The DNS name can also be used.
                     <ipaddress>              <logical name>
   For example:       200.200.200.10          print01

6) Type lpadmin –p p01 –v /dev/null enter.
   p01 is the queue name for Unix.

7) Type lpadmin –p p01 –i /usr/lib/lp/model/pnet.if, or alternatively
   lpadmin –p p01 –m pnet.if and press enter. pnet.if is the Printronix interface file.

8) Type enable p01.

9) Type accept p01. Now the Unix configuration is done, it is ready for printing.

10)   Just type for printing : lp –d p01 /etc/protocols.

Notes:
            This form of set up is for Sys V type Unix such as SunOS5.6/Solaris 2.6, SunOS5.7/Solaris 7, SunOS5.8/Solaris 8




                                                                                                                             Iwan Celissen
                                                                                                                          Date: 22/03/2013

								
To top