Managing Printers

Copyright © 2003, Oracle. All rights reserved.

Objectives

After completing this lesson, you should be able to do the following: • Define printer types • Register a printer as a specific printer type • Assign a print style and printer driver to a printer type • Understand Pasta printing concepts • Create a custom print style and printer driver • Create a custom SRW driver

1-2

Copyright © 2003, Oracle. All rights reserved.

Formatting Information
Document formatting (height, width)

Text formatting (bold, underline)

Printer formatting (portrait, landscape)

1-3

Copyright © 2003, Oracle. All rights reserved.

1-4 Copyright © 2003. . Printer style formats document. Oracle. All rights reserved. SRW driver formats text. Printer driver formats output.Oracle Print Definition Components Printer type describes printer.

All rights reserved. .Relationships of the Printer Components Print styles Page size orientation Printer types Printers Reset Commands Printer drivers Make model LN03 Op sys name HP4FL1 1-5 Copyright © 2003. Oracle.

. Oracle.Defining Printers Using predefined components Using custom components Define new type (if needed) Define new style (if needed) Define new driver Register printer as predefined type Register printer as new type 1-6 Copyright © 2003. All rights reserved.

Choose (M) View > Find All to see all the existing definitions. Use the Printer Types form to view existing combinations of print style and printer drivers to decide whether an existing printer type supports your new printer. • 1-7 Copyright © 2003. Oracle. . All rights reserved. you need to decide its type.Finding Existing Printer Types • • Before you can register a new printer.

. If you need to define a new printer type. All rights reserved. the Printer Types button opens the appropriate window.Registering a New Printer • • To add a new printer for an existing printer type. Oracle. 1-8 Copyright © 2003. simply register the printer in the Printers window.

Oracle. . • Assign a style and a printer driver to print a report in a specific style. • The Style and Driver buttons open the appropriate windows where you can define these items. 1-9 Copyright © 2003.Defining a New Printer Type If an appropriate predefined printer type is not listed you can define a new type of printer. All rights reserved.

All rights reserved.Printer Tupe. Printer Driver. and SRW driver files are provided 1-10 Copyright © 2003. . Oracle.Printing with Pasta The Pasta utility • Converts text report files to Postscript • Enables printing of custom Postscript reports from Oracle • Handles multi-lingual text using UTF8 • Has a simpler setup procedure .

All rights reserved.Pasta Universal Printer” as the Printer Type 1-11 Copyright © 2003. Oracle. .Setup for Basic Printing with Pasta Use the Printers window to register your printer • Enter your printer’s name • Select “-.

cfg file is an ASCII text file that controls many printing options. 1-12 Copyright © 2003. . All rights reserved.cfg file The pasta. Oracle.The pasta.

All rights reserved. 1-13 Copyright © 2003. . Oracle. you can add Pasta to the existing printer type.Modifying an Existing Printer Type to Use Pasta If your printer is already assigned to a printer type that contains styles and drivers that you want to maintain.

. you can add Pasta to the existing printer type. 1-14 Copyright © 2003. Oracle. All rights reserved.Adding a New Printer Type to Use Pasta If your printer is already assigned to a printer type that contains styles and drivers that you want to maintain.

1-15 Copyright © 2003. All rights reserved. Oracle.. .Generating Other Formats using the Preprocessing Option Use the preprocessing option to generate output files using formats other than those that Pasta natively supports.

. 1-16 Copyright © 2003. Oracle. All rights reserved.PrintForms PrintForms allows you to create your own background template for a report and use it at the time of printing either as a background image or as a standard form.

Using PrintForms There are two phases to using PrintForms: • Create the PrintForm • Deploy the Print form to Oracle Applications 1-17 Copyright © 2003. Oracle. . All rights reserved.

Other Customization Materials for Oracle Applications Printing Printer Manual Installing Oracle Applications Oracle Applications System Administrator’s Guide 1-18 Copyright © 2003. . All rights reserved. Oracle.

Customizing Printer Components Print style Printer driver SRW driver 1-19 Copyright © 2003. Oracle. All rights reserved. .

Customizing Print Styles Rows (height) Columns (width) 1-20 Copyright © 2003. . Oracle. All rights reserved.

Customizing Printer Drivers Printer driver 1-21 Copyright © 2003. All rights reserved. . Oracle.

Operating system . Oracle. All rights reserved.Invoking a Printer Driver Print command and arguments Operating system Concurrent manager Arguments Custom program* Print subroutine* Command Arguments *Name specified on Printer Driver window 1-22 Copyright © 2003.

Passing Print Arguments Destination of target printer Number of copies to print Name of file to print Header page title 1-23 Copyright © 2003. . Oracle. All rights reserved.

Using the Program Driver Method Concurrent manager Arguments Custom program* *Name specified on Printer Driver window 1-24 Copyright © 2003. Oracle. . All rights reserved.

. Place the script in the appropriate directory. • System Shell Script 1-25 Copyright © 2003.Initiating Printing from a System Shell Script • Use the command method or the printer driver method. Oracle. All rights reserved.

All rights reserved. • Command Method 1-26 Copyright © 2003.Printing from Standard Input Directly to the Printer • Invoke the printer driver by using the command method. Oracle. . Select the Standard Input check box.

.Driver Method Parameters for Spooling Check box cleared Concurrent manager Check box selected Print program Temporary File Temporary File 1-27 Copyright © 2003. All rights reserved. Oracle.

Initialization and Reset Field Contents • • • Specified in the Printer Drivers window Control print orientation. All rights reserved. Oracle. and line density Nonprintable characters can be specified in octal 1-28 Copyright © 2003. . character set.

Assign the new driver to a print style or printer driver.Creating a Custom SQL*ReportWriter Driver 1. . Oracle.prt file and save. 1-29 Copyright © 2003. Copy an existing . Modify the new file with new control information. 2. Place the new file in $FND_TOP/$APPLREP. 3. 4. All rights reserved.

prt printer”dec LN03 A4 Landscape” height width 62 132 between pages control(L) return linefeed ”” control(J) esc”[1m” esc”[0m” esc”[4m” esc”[0m” code”bold on” code”bold off” code”underline on” code”underline off” 1-30 Copyright © 2003. . All rights reserved.Sample SRW Driver File srw driver-A. Oracle.

Oracle. All rights reserved. .Order of Reading Printer Settings Concurrent programs definition Report set definition Printer user profile option value User submits report to run 1-31 Copyright © 2003.

Testing Your Customization Run report New printer driver Check output 1-32 Copyright © 2003. Oracle. . All rights reserved.

.Summary You should now be able to do the following: • Register new printers • Define new printer types • Create a custom print style • Create a custom printer driver • Assign a print style and printer driver to a printer type • Create a custom SRW driver for formatting text and page breaks 1-33 Copyright © 2003. Oracle. All rights reserved.

Sign up to vote on this title
UsefulNot useful