EDU264FY Managing Printers

Embed Size (px)

Citation preview

  • 8/2/2019 EDU264FY Managing Printers

    1/33

    Copyright 2003, Oracle. All rights reserved.

    Managing Printers

  • 8/2/2019 EDU264FY Managing Printers

    2/33

    1-2 Copyright 2003, Oracle. All rights reserved.

    Objectives

    After completing this lesson, you should be able todo 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

  • 8/2/2019 EDU264FY Managing Printers

    3/33

    1-3 Copyright 2003, Oracle. All rights reserved.

    Formatting Information

    Text formatting

    (bold, underline)

    Document formatting(height, width)

    Printer formatting

    (portrait, landscape)

  • 8/2/2019 EDU264FY Managing Printers

    4/33

    1-4 Copyright 2003, Oracle. All rights reserved.

    Oracle Print Definition Components

    Printer type describes printer.

    Printer style formats document.

    Printer driver formats output.

    SRW driver formats text.

  • 8/2/2019 EDU264FY Managing Printers

    5/33

    1-5 Copyright 2003, Oracle. All rights reserved.

    Relationships of the Printer Components

    Printstyles

    Printerdrivers

    PrintersPrintertypes

    Page size

    orientation

    Commands

    Reset MakemodelLN03

    Op sys nameHP4FL1

  • 8/2/2019 EDU264FY Managing Printers

    6/33

    1-6 Copyright 2003, Oracle. All rights reserved.

    Defining Printers

    Register printeras new type

    Define new type(if needed)

    Define new style(if needed)

    Define newdriver

    Register printeras predefined type

    Using custom

    components

    Using predefined

    components

  • 8/2/2019 EDU264FY Managing Printers

    7/331-7 Copyright 2003, Oracle. All rights reserved.

    Finding Existing Printer Types

    Before you can register a new printer, you need todecide its type.

    Use the Printer Types form to view existingcombinations of print style and printer drivers to

    decide whether an existing printer type supportsyour new printer.

    Choose (M) View > FindAll to see all the existingdefinitions.

  • 8/2/2019 EDU264FY Managing Printers

    8/331-8 Copyright 2003, Oracle. All rights reserved.

    Registering a New Printer

    To add a new printer for an existing printer type,simply register the printer in the Printers window.

    If you need to define a new printer type, the Printer

    Types button opens the appropriate window.

  • 8/2/2019 EDU264FY Managing Printers

    9/331-9 Copyright 2003, Oracle. All rights reserved.

    Defining a New Printer Type

    If an appropriate predefined printer type is not listedyou can define a new type of printer.

    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.

  • 8/2/2019 EDU264FY Managing Printers

    10/331-10 Copyright 2003, Oracle. All rights reserved.

    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 - Printer Tupe,Printer Driver, and SRW driver files are provided

  • 8/2/2019 EDU264FY Managing Printers

    11/331-11 Copyright 2003, Oracle. All rights reserved.

    Setup for Basic Printing with Pasta

    Use the Printers window to register your printer

    Enter your printers name

    Select -- Pasta Universal Printer as the Printer

    Type

  • 8/2/2019 EDU264FY Managing Printers

    12/331-12 Copyright 2003, Oracle. All rights reserved.

    The pasta.cfg file

    The pasta.cfg file is an ASCII text file that controls manyprinting options.

  • 8/2/2019 EDU264FY Managing Printers

    13/331-13 Copyright 2003, Oracle. All rights reserved.

    Modifying an Existing Printer Type to UsePasta

    If your printer is already assigned to a printer type thatcontains styles and drivers that you want to maintain,you can add Pasta to the existing printer type.

  • 8/2/2019 EDU264FY Managing Printers

    14/331-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 thatcontains styles and drivers that you want to maintain,you can add Pasta to the existing printer type.

  • 8/2/2019 EDU264FY Managing Printers

    15/331-15 Copyright 2003, Oracle. All rights reserved.

    Generating Other Formats using thePreprocessing Option

    Use the preprocessing option to generate output filesusing formats other than those that Pasta nativelysupports..

  • 8/2/2019 EDU264FY Managing Printers

    16/331-16 Copyright 2003, Oracle. All rights reserved.

    PrintForms

    PrintForms allows you to create your own backgroundtemplate for a report and use it at the time of printingeither as a background image or as a standard form.

  • 8/2/2019 EDU264FY Managing Printers

    17/331-17 Copyright 2003, Oracle. All rights reserved.

    Using PrintForms

    There are two phases to using PrintForms:

    Create the PrintForm

    Deploy the Print form to Oracle Applications

  • 8/2/2019 EDU264FY Managing Printers

    18/331-18 Copyright 2003, Oracle. All rights reserved.

    Other Customization Materials for OracleApplications Printing

    Printer Manual

    Installing Oracle Applications

    Oracle Applications SystemAdministrators Guide

  • 8/2/2019 EDU264FY Managing Printers

    19/331-19 Copyright 2003, Oracle. All rights reserved.

    Customizing Printer Components

    Print style

    Printer driver

    SRW driver

  • 8/2/2019 EDU264FY Managing Printers

    20/331-20 Copyright 2003, Oracle. All rights reserved.

    Customizing Print Styles

    Rows (height)

    Columns (width)

  • 8/2/2019 EDU264FY Managing Printers

    21/331-21 Copyright 2003, Oracle. All rights reserved.

    Customizing Printer Drivers

    Printer driver

  • 8/2/2019 EDU264FY Managing Printers

    22/331-22 Copyright 2003, Oracle. All rights reserved.

    Invoking a Printer Driver

    Concurrent

    manager

    Printsubroutine*

    Operatingsystem

    Customprogram*

    Operatingsystem

    *Name specified on Printer Driver window

    Print command and arguments

    Arguments

    CommandArguments

  • 8/2/2019 EDU264FY Managing Printers

    23/331-23 Copyright 2003, Oracle. All rights reserved.

    Passing Print Arguments

    Destination of target printer

    Number of copies to print

    Header page title

    Name of file to print

  • 8/2/2019 EDU264FY Managing Printers

    24/331-24 Copyright 2003, Oracle. All rights reserved.

    Using the Program Driver Method

    Concurrentmanager Customprogram*

    *Name specified on Printer Driver window

    Arguments

  • 8/2/2019 EDU264FY Managing Printers

    25/331-25 Copyright 2003, Oracle. All rights reserved.

    Initiating Printingfrom a System Shell Script

    Use the commandmethod or the printerdriver method.

    Place the script in theappropriate directory.

    SystemShell Script

  • 8/2/2019 EDU264FY Managing Printers

    26/33

    1-26 Copyright 2003, Oracle. All rights reserved.

    Printing from Standard InputDirectly to the Printer

    Invoke the printer driverby using the commandmethod.

    Select the StandardInput check box.

    Command Method

  • 8/2/2019 EDU264FY Managing Printers

    27/33

    1-27 Copyright 2003, Oracle. All rights reserved.

    Driver Method Parametersfor Spooling

    Check box cleared Check box selected

    Concurrentmanager

    Printprogram

    Temporary File Temporary File

  • 8/2/2019 EDU264FY Managing Printers

    28/33

    1-28 Copyright 2003, Oracle. All rights reserved.

    Initialization and Reset Field Contents

    Specified in the Printer Drivers window

    Control print orientation, character set, and linedensity

    Nonprintable characters can be specified in octal

  • 8/2/2019 EDU264FY Managing Printers

    29/33

    1-29 Copyright 2003, Oracle. All rights reserved.

    Creating a CustomSQL*ReportWriter Driver

    1. Copy an existing .prt file and save.

    2. Modify the new file with new control information.

    3. Place the new file in $FND_TOP/$APPLREP.

    4. Assign the new driver to a print style or printerdriver.

  • 8/2/2019 EDU264FY Managing Printers

    30/33

    1-30 Copyright 2003, Oracle. All rights reserved.

    Sample SRW Driver File

    srw driver-A.prt

    printerdec LN03 A4 Landscape

    height 62

    width 132

    between pages control(L)

    return

    linefeed control(J)

    codebold on esc[1mcodebold off esc[0m

    codeunderline on esc[4m

    codeunderline off esc[0m

  • 8/2/2019 EDU264FY Managing Printers

    31/33

    1-31 Copyright 2003, Oracle. All rights reserved.

    Order of Reading Printer Settings

    Printer user profileoption value

    Concurrent programsdefinition

    Report set

    definition

    User submits reportto run

  • 8/2/2019 EDU264FY Managing Printers

    32/33

    1-32 Copyright 2003, Oracle. All rights reserved.

    Testing Your Customization

    Run report

    Checkoutput

    Newprinterdriver

  • 8/2/2019 EDU264FY Managing Printers

    33/33

    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 printertype

    Create a custom SRW driver for formatting text andpage breaks