Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps

Thursday, June 12, 2008

Add new printer to Apps

To add a new printer to Apps follow these steps:

1. Add the printer to the unix box on which your concurrent managers are running


2. Check whether the printer has been added correctly
cat /etc/printers.conf

3. Test whether you can print a text file to the printer

lp -d newprinter /etc/hosts

Submitting Print Requests Using a Printer Name

Whether or not a default printer has been designated for your system, you can submit print requests to any printer that is configured for your system. To submit a print request to a specific printer, type the following command.


$ lp -d printername filename 

In the previous example, printername is the name of the specific printer and filename is the name of the file you want to print.

The specified file is placed in the print queue of the destination printer, and the request id is displayed.

For example, to print the /etc/profile file on the printer fastprint, type the following command.


$ lp -d fastprint /etc/profile
request id is fastprint-1 (1 file(s))
$

If you submit a request to a printer that is not configured on your system, an information message is displayed, as shown in the following example.


$ lp -d newprint /etc/profile
newprint: unknown printer
$

See System Administration Guide: Advanced Administration for information on configuring printers. See Determining Printer Status for information about how to find out which printers are available on your system.

Requesting Notification When Printing Is Complete

When you submit a large file for printing, you might want the LP print service to notify you when printing is complete. You can request that the LP print service notify you in two ways:

  • Send an email message

  • Write a message to your console window

To request email notification, use the -m option when you submit the print request.


$ lp -m filename 

To request a message be written to your console window, use the -w option when you submit the print request.


$ lp -w filename 

In the previous example, filename is the name of the file you want to print.

Printing Multiple Copies

You can use the -n option to the lp command to print more than one copy of a file.

Use the following command syntax to request multiple printed copies.


$ lp -n number filename 

In the previous example, number is the desired number of copies and filename is the name of the file you are printing. The print request is considered as one print job, and only one header page is printed.

For example, to print four copies of the /etc/profile file, type the following command.


$ lp -n4 /etc/profile
request id is jetprint-5 (1 file)
$

Summary Table of lp Options

You can use options to the lp command to customize your print request. Table 8–1 summarizes the frequently used options for the lp command. You can use these options individually or combine them in any order on the command line. When you combine options, use a space between each option and repeat the dash (-).

For example, to specify a destination printer, request email notification, and print six copies of a file, type the following command.


$ lp -d printername -m -n6 filename 

In the previous example, printername is the name of the desired printer and filename is the name of the file you want to print.

Table 8–1 Summary of Frequently Used lp Options

Option

Description

-d

Destination. Specifies a destination printer by name.

-m

Mail. Sends email to the requestor when the file has printed successfully.

-n

Number. Specifies the number of copies to be printed.

-t

Title. Specifies a title (printed only on the banner page) for a print request.

-o nobanner

Option. Suppresses printing of the banner page for an individual request.

-w

Write. Writes a message to your terminal when the file has printed successfully.


4. Check the status of your print request

The following example shows that user fred has one print request queued on the printer luna.


$ lpstat
luna-1 fred 1261 Jul 12 17:34

The following example shows that the user paul currently has no print requests in queue.


$ lpstat -u paul 

The following example shows that two print requests are queued on the printer moon.


$ lpstat -o moon
moon-78 root 1024 Jul 14 09:07
moon-79 root 1024 Jul 14 09:08


5. Ask someone present near the printer to see if it printed correctly

6. Login to apps as a user with System Administrator responsibility. Follow this navigation:

Install - Printer

Forms for Dening Printer Support
You use four forms to define printer support.

Printer Types
You must define any printer types used at your site that are not shipped with Oracle
Applications. It is on this form that you associate the print style with a printer driver
for the particular printer type.

Printers
You register a printer so that Oracle Applications recognizes the printer and can forward
to it the output from a report program.
To register a printer you specify the printer’s operating system name, which uniquely
identifies the printer, and select the printer type. The printer type must already be
defined.
For example, if you want users of Oracle Applications to be able to print to a newly
purchased printer, you:
• Register the operating system name of the new printer (for example, printer39), and
select the printer type (for example, LN03).
• If the correct printer type is not defined, you must define the new printer type before
you can register the printer.

Print Styles
To generate a report, the print style values for columns and rows are passed by the
concurrent manager to Oracle Reports. A print style determines the dimensions of your
report, or the number of rows and columns per page.

Printer Drivers
A printer driver includes the initialization and reset strings that format and restart a
printer. You need a defined printer driver for each print style that you plan to use with a
specific printer type on a specific platform.
Printing Setup Interrelationships
  • Many printers can be registered as the same printer type.
  • A printer type can support multiple print styles.
  • A printer driver must be assigned to a printer type for each print style.
  • Many printer drivers can support the same print style.
  • Many printer drivers can support the same printer type.
Metalink Note:218808.1 describes the printer drivers provided along with a standard apps 11i installation on unix.

I'll update this post with troubleshooting print issues

1 comment:

Rory Fugerson said...

Thank you for a well explained instruction for doing this. I've been using Philips printers and philips cartridges and I would be using this technology. Thanks a lot.