Rabox, Inc.

Home
Products
Services
Resellers
About Us
Contact
Employment
Feedback
Faq
Search

Server Setup

HP-UX 9.x and HP-UX 10.x

Adding a Remote Printer With SAM
Adding a Printer Manually

Adding a Remote Printer With SAM

  1. Use SAM to set up remote printer access to a remote printer on host "solaris":
       hpux# sam
    

    a. Select "Printers and Plotters."

    b. Select "Printers/Plotters."

    c. From the "Actions" menu, select "Add Remote Printer/Plotter."

    The "Add Remote Printer/Plotter" dialog will be displayed. Enter the information as shown:

    [screen image]

    NOTE: Even though Solaris supports printing using the System V printing protocol, it does not work well through release 2.5. When printing from or to systems running Solaris 2.5 or earlier, be sure to use the BSD protocol. Problems occur when the printer is busy; with a Solaris 2.5 (or earlier) system connected to a printer and under high queuing load, the entire print system can hang and require resetting.

    Once the information has been entered, select "OK."

  2. Test your configuration by printing a file:
       hpux# lp -drhpljet /etc/hosts
    

    You can print directly to the printer or the printer class.

Adding a Printer Manually

  1. Stop the LP spooler:
       hpux# lpshut
    
  2. Add the printer to the LP spooler. In this example, the printer device is /dev/lp and the model file is laserjet:
       hpux# lpadmin -phpljet -v/dev/lp -mlaserjet
    

    (Be sure to use the appropriate model file for the printer.)

  3. Allow print requests to be accepted:
       hpux# accept hpljet
    

    This command allows the LP spooler to accept print requests for this printer.

  4. Enable printing:
       hpux# enable hpljet
    

    This command allows the LP spooler to actually print the job.

  5. Restart the LP spooler:
       hpux# lpsched
    
  6. Test the printer. The first line is an example using the printer model; the second line is an example using the print class name:
       hpux# lp -dhpljet /etc/hosts
       hpux# lp -dpostscript /etc/hosts

 

1744 Fumia Drive

San Jose, CA 95131-1619

Phone:408.834.7525

Fax:408.834.7526

 

Copyright © 1998-2005 RABOX, Inc. All rights reserved.