Sunteți pe pagina 1din 14

Step1: Collection Plan Related Setup

Shorewood Mfg SuperuserQualitySetupCollection Plans


Select organization as IND

Click on Actions Button

If the value in the field Job Complete = Yes, then a request will be sent to the printer specified in the
collection plan and the document will be printed using the data from the plan.

Click on Action Details.

Application: Shorewood Customizations


Arguments: &OCCURRENCE '&PRINTER'
File: SPC_PLDCOA
Click on ok and save the changes.
Step2: Moving the SPC_PLDCOA.sql file
Please move the SPC_PLDCOA.sql file provided in the SQL Folder to $SPC_TOP\ sql folder.

Step3: Printer Print Style Setup for PDF Portrait


Print Style

Style Name: PDF Portrait


Seq: 333
User Style: PDF Portrait
SRW Driver: HPP
Description: Print Style for PDF Portrait
Columns: 80
Rows: 66
Orientation: Portrait

Printer Drivers

Driver Name: PDF_PORTRAIT

User Driver: PDF_PORTRAIT

Description: Print Driver for PDF Portrait


SRW Driver: HPP
Arguments: cat $PROFILES$.FILENAME | /usr/bin/acroread -toPostScript -size letter -scale 98 | lp -c
-d$PROFILES$.PRINTER -n$PROFILES$.CONC_COPIES -t"$PROFILES$.TITLE"
Initialization: /eE/e&I0O2a7C/e(s0t0p11H/e&a5L
Reset: /eE

Printer Types
Please add PDF Portrait Style & PDF_PORTRAIT Driver Name to HP4000 Printer Type

Step4: Moving the SPCPLDCOAPRINT.rdf file


Please move the SPCPLDCOAPRINT.rdf file provided in the RDF folder to $SPC_TOP\ reports folder and
compile.
Create Executable and Concurrent Program using the SPCPLDCOAPRINT.ldt provided in the RDF folder.

LDT File Upload Script:


FNDLOAD apps/<appspassword>@<INSTANCE> 0 Y
UPLOAD
$FND_TOP/patch/115/import/afcpprog.lct SPCPLDCOAPRINT.ldt
CUSTOM_MODE=FORCE

Step5: Create Font Files in XML Publisher

Navigation> XML Publisher Administrator>Home>Administration


Click Font Files function in the Menu

Click Create Font File Button

Font Name: Code128


File: Upload code128.ttf file provided in the Barcode Font folder and click Apply Button.
Step6: Create Font Mapping in XML Publisher

Navigation> XML Publisher Administrator>Home>Administration


Click Font Mappings function in the Menu

Click Create Font Mapping Set button

Mapping Name: Code 128


Mapping Code: Code 128
Type: FO TO PDF
Click Apply Button.

Click Create Font Mapping and provide the following values


Font Family: Code 128
Style: Normal
Weight: Bold
Font Type: Truetype

Click Continue Button

Choose the code128 font file we have defined earlier from the Font LOV and click Apply.
The Font Mapping we have defined will look like this.

Step7: Create Data Definition in XML Publisher


Navigation> XML Publisher Administrator>Home>Data Definitions

Click Create Data Definitions Button

Name: SPCPLDCOAPRINT
Code: SPCPLDCOAPRINT
Application: Shorewood Customizations
Start Date: Sysdate
Description: SPC PLD COA Report Data Definition

Step8: Create Template in XML Publisher


Navigation> XML Publisher Administrator>Home>Templates

Click Create Template button

Name: SPCPLDCOAPRINT
Code: SPCPLDCOAPRINT
Application: Shorewood Customizations
Data Definition: SPCPLDCOAPRINT
Type: RTF
Start Date: Sysdate
Default File: SPCPLDCOAPRINT.rtf (Template File needs to be uploaded from XML Folder)
Default File Language: English
Default Output Type: PDF
Description: SPC PLD COA Report Template
Click Apply after entering the above values
Step9: Query Template in XML Publisher and Edit Configuration
Navigation> XML Publisher Administrator>Home>Templates> Search>SPCPLDCOAPRINT

Select the template by clicking the SPCPLDCOAPRINT link below the Name label.

Click the Edit Configuration Button


Select FO Processing Property and set Font Mapping set to Code 128.
Font Mapping Set: Code 128
And Click Apply Button once making the above change.

S-ar putea să vă placă și