Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Distributed Print Service User's Guide: HP 9000 Computers > Chapter 2 Basic Printing Tasks

Defining a Default Logical Printer

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Every job in HPDPS is submitted to a logical printer. If you submit all or most of your jobs to the same logical printer, defining a default logical printer allows you to issue HPDPS printing commands without overtly specifying the logical printer.

You specify the default logical printer using the environment variable PDPRINTER in your .profile or .login file. (This is equivalent to specifying LPDEST when you use the LP spooler.) Use the following procedure to set or change your default logical printer:

  1. If you use the POSIX or Korn shell, insert or modify the following line in your .profile file in your home directory:

    export PDPRINTER=PrinterName

    or, if you use the C shell, insert or modify the following line in your .login file in your home directory:

    setenv PDPRINTER PrinterName

    where PrinterName is the name of the logical printer you want to set as your default.

  2. Save the change in plain text format and exit from the editor.

  3. To make the change to the .profile file take effect, enter:

    . .profile

    or, to make the change to the .login file take effect, enter:

    source .login
  4. To verify the setting, enter:

    echo $PDPRINTER

    The logical printer name you entered is displayed.

    Any print jobs you submit without specifying a logical printer will go to this logical printer. You can submit jobs to the default logical printer or request that a specific logical printer handle your job, as described next.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1997 Hewlett-Packard Development Company, L.P.