Professional Documents
Culture Documents
A R
T F
Pasta_Printing.doc
1/17
9/22/2005
Contents
Contents ............................................................................................................... 2 1. Testing a Operating System Print ........................................................................ 4 2. Install XPDF ........................................................................................................ 5 3. Using XPDF......................................................................................................... 6 4. Printing PostScript files with PASTA ................................................................. 6 5. Test a PASTA Print ............................................................................................. 8 6. Using One-to-One Fulfillment Administrator to create a Pasta Printer............... 8 7. Link the Pasta Printer to a 1-1 Fulfillment Server. .............................................. 9 8. Upload PDF File with Oracle Content Manager ............................................... 10 9. Start the 1-1 Fulfillment Server ......................................................................... 12 10. Issue Print Request from Oracle Applications............................................... 13 11. Viewing Log files .......................................................................................... 15 11.1. Errors[n].log........................................................................................... 15 11.2. jtfmctl.txt................................................................................................ 15 11.3. Events[n].log.......................................................................................... 15
A R
T F
Pasta_Printing.doc
2/17
9/22/2005
1. Introduction
This document describes the configuration and set-up for the Oracle 1-1 Fulfillment Server for use with PASTA printing. The instance used was VISSC01 11.5.10 on a Linix Server. Where possible screen shots of configuration are used. The set-up was completed by following: Oracle One-to-One Fulfillment Implementation Guide. B10634-02
Please read this document in conjunction with this paper. The final test used the Oracle Marketing Online application to make the print request.
A R
T F
Pasta_Printing.doc
3/17
9/22/2005
Please Note, If no print queue is defined on the Server this will have to be configured by the Customers Server Administrator.
In our case this is: t551jp - Portrait queue on the Printer in TVP 550.
Second we need to be sure the 1-1 Fulfillment Server machine is able to print a simple text file. Make a telnet session onto the 1-1 Fulfillment Server Machine. Then issue the following command: lp -dt551jp ajs.sh
The text file should be printer out on the expected printer before continuing with the installation.
Please Note, if using a Windows Machine as the 1-1 Fulfillment Server the command will be print rather than lp.
A R
T F
Pasta_Printing.doc
4/17
9/22/2005
3. Install XPDF
In order for PASTA to print PDF Files requires a pre-conversion from PDF to PostScript. This can be achieved by installing the XPDF product from the following URL, as detailed in the 1-1 Fulfillment Server Implementation Guide detailed above in the Introduction:
http://www.foolabs.com/xpdf/download.html
In our case the 1-1 Fulfillment Server machine is a Linix box so we require: x86, Linux (glibc 2.2, staticly linked to Motif, t1lib, and FreeType): xpdf3.01-linux.tar.gz (5599825 bytes)
Download the version and then upload on the 1-1 Fulfillment Server Machine. In our case we downloaded xpdf-3.01-linux.tar.gz and uploaded the file onto vissc01. Lastly unpack the tar file on the 1-1 Fulfillment Server with the following command: tar -xf xpdf-3.01-linux.tar
cd xpdf-3.01-linux ls ANNOUNCE INSTALL pdfimages pdfinfo.1 pdftops pdftotext.1 xpdf CHANGES pdffonts pdfimages.1 pdftoppm pdftops.1 README xpdf.1 COPYING pdffonts.1 pdfinfo pdftoppm.1 pdftotext sample-xpdfrc xpdfrc.5
A R
T F
Please Note, depending on the Operating system used the compressed file format may differ. With Windows this will be a ZIP file. Also Note, that if pre-compiled libraries of XPDF do not exist for your operating system, the source files are included on the website, so that you may build your own.
Pasta_Printing.doc
5/17
9/22/2005
4. Using XPDF
We can test that the XPDF utility can convert a PDF File to PostScript by using pdftops. Upload a PDF file onto the 1-1 Fulfillment Server Machine, and then test with: pdftops ReadMe.pdf
The f is the parameter for the Postscript File, and the pn is the parameter for the Printer. The PDF should be printed out on the Printer in the correct format.
A R
T F
Pasta_Printing.doc
6/17
9/22/2005
6. Configuring pasta.cfg
The Pasta configuration file is found in the following directory: /global/oracle/vissc01/vissc01appl/fnd/11.5.0/resource
There are two options here either the pasta.cfg file may be amended or the file may be copied to pasta_<printer_name>.cfg. If the file is copied the copy for the printer is used, if not the default pasta.cfg is used. Copied this file to pasta_t551jp.cfg
Find %Preprocess for PDF output in the file pasta_t551jp.cfg Uncomment and amend:
A R
T F
Pasta_Printing.doc
7/17
9/22/2005
This should now print a pdf file to the printer. ( The conversion to Postscript being handled by the pre-processing option set in the pasta_ t551jp.cfg).
D
t551jp
A R
T F
Make sure the printer name is the same as used by the lp command and the FNDPSTAX commands used earlier:
Pasta_Printing.doc
8/17
9/22/2005
Select the 1-1 Fulfillment Server to add the PASTA Printer to. Then configure the Print Servers Tab as follows.
A R
T F
Pasta_Printing.doc
9/17
9/22/2005
A R
T F
Pasta_Printing.doc
10/17
9/22/2005
PASTA Printing with the 1-1 Fulfillment Server Make sure the Cover Letter has an Approved Live version for use in the calling Application:
A R
T F
Pasta_Printing.doc
11/17
9/22/2005
Check the jtffmctl.txt file to make sure the PASTA Printer configuration has been picked up, the file will contain lines like the following: GETTING PRINTER CONFIGURATIONS ... PRINT SERVER: 'Address:t551jp; Type:PASTA'
A R
T F
Pasta_Printing.doc
12/17
9/22/2005
This allows us to set the Printer name and the Cover Letter. When the Campaign Schedule becomes Active the 1-1 Fulfillment Request is made:
A R
T F
Pasta_Printing.doc
13/17
9/22/2005
A R
T F
Pasta_Printing.doc
14/17
9/22/2005
Time : --Wed Sep 14 02:37:54 PDT 2005--56 seconds, 746 milliseconds-Message : (r0.0:p0) dequeued from queue 'JTO_10001_M_Q' > <?xml version = '1.0' encoding = 'UTF-8'?><ffm_request id="13006" submit_time="2005-09-14 02:37:50" status="NEW" template="10927" priority="1" user_history="YES" api_version="1" user_id="1007881" source_code_id="20934" source_code="AMER080500012" object_type="AMS_CSCH" object_id="18740" doc_id="1" doc_ref="UNSET" app_id="690" login_id="-1" resp_id="21706" org_id="204" bypass="none" email_body="none" pasta_printable="yes">
A R
T F
-- Note Pasta Printable Should be yes. -- Then we see the PDF file downloaded. Time : --Wed Sep 14 02:38:45 PDT 2005--1 minute, 48 seconds, 132 milliseconds-Message : (r13006.0:p0) downloaded rendition for fnd_lobs file_id = '328981' RfcContentRendition[name:ReadMe.pdf,mime:application/pdf,lang:US,charset:UTF8 ,data:26283 bytes]
Pasta_Printing.doc
15/17
9/22/2005
-- Next we create a tempory PDF File. -- <98.0> -Time : --Wed Sep 14 02:39:01 PDT 2005--2 minutes, 3 seconds, 603 milliseconds-Message : (r13006.1:p53287) created temp file /global/oracle/vissc01/vissc01comn/admin/scripts/Interaction_Center/ajs/Fulfillment/ Logs/tmp/6.940269867074276E8-ReadMe.pdf -- Next we run XFDF ? -- <99.0> -Time : --Wed Sep 14 02:39:01 PDT 2005--2 minutes, 3 seconds, 689 milliseconds-Message : (r13006.1:p53287) PDF Merge XFDF : <?xml version = '1.0' encoding = 'UTF-8'?> <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"> <fields/> </xfdf> -- Next we create a second temp file. -- <100.0> -Time : --Wed Sep 14 02:39:01 PDT 2005--2 minutes, 3 seconds, 751 milliseconds-Message : (r13006.1:p53287) created temp file /global/oracle/vissc01/vissc01comn/admin/scripts/Interaction_Center/ajs/Fulfillment/ Logs/tmp/4.091616143324898E8-ReadMe.pdf -- Next we prepare to print.
-- <101.0> -Time : --Wed Sep 14 02:39:01 PDT 2005--2 minutes, 3 seconds, 752 milliseconds-Message : (r13006.0:p53287) printing files : '/global/oracle/vissc01/vissc01comn/admin/scripts/Interaction_Center/ajs/Fulfillment/ Logs/tmp/4.091616143324898E8-ReadMe.pdf' to printer 't551jp' for '' -- Next we send the FNDPSTAX command. -- <102.0> -Time : --Wed Sep 14 02:39:01 PDT 2005--2 minutes, 3 seconds, 752 milliseconds-Message : (r0.0:p0) printing pdf with command : FNDPSTAX -pnt551jp -t"" f/global/oracle/vissc01/vissc01comn/admin/scripts/Interaction_Center/ajs/Fulfillment/ Logs/tmp/4.091616143324898E8-ReadMe.pdf -- Next we get the response back from PASTA and the request was a success. -- <103.0> --Time : --Wed Sep 14 02:39:01 PDT 2005--2 minutes, 4 seconds, 45 milliseconds-Message : (r0.0:p0) PASTA STDOUT: request id is vissc01@celalnx18+507 Time : --Wed Sep 14 02:39:21 PDT 2005--2 minutes, 24 seconds, 80 milliseconds--
A R
T F
Pasta_Printing.doc
16/17
9/22/2005
PASTA Printing with the 1-1 Fulfillment Server Message : (r0.0:p0) MASS REQUEST '13006' WAS SUCCESSFUL
A R
T F
Pasta_Printing.doc
17/17
9/22/2005