Upload
ngophuc
View
218
Download
0
Embed Size (px)
Citation preview
1
IBM System i5
© 2006 IBM Corporation
System i5 Printing and Output Management
Bill ShafferOutput Solutions, System [email protected]
IBM System i5
© 2006 IBM Corporation
Agenda
Output trends and applications
ROI for output reengineering
System i5 print/output architecture
Infoprint Designer
Infoprint Server
Enhancements in print and output management
2
IBM System i5
© 2006 IBM Corporation
e-output, business communications
E-business is changing face of business communications – Traditional information methodology has been "print and distribute"– Internets and intranets provide the opportunity to change this– Electronic documents provide the means – With electronic documents:
• Tie to preprinted form is broken• Flexibility in content• Flexibility in delivery
Transformation to profiled delivery of business output– E-business communications– E-output– Intelligent Routing– E-delivery– Multi-channel distribution
IBM System i5
© 2006 IBM Corporation
Sample Application Scenarios
Document design, output reengineering
Ad hoc electronic delivery
Electronic burst and bind (segmentation)
Electronic report distribution
Intelligent Routing
3
IBM System i5
© 2006 IBM Corporation
Design business documents
Scenario: – Current output – statements, reports – is inadequate
– Current output is preprinted form based
Requirement: – Improve content, appearance, effectiveness of documents
– Advanced document content – ie. 2D barcoding – needed
– Migrate from preprinted to electronic
Solution: – Infoprint Designer for iSeries
– Additional options include DDS, Mapping
IBM System i5
© 2006 IBM Corporation
Ad Hoc Report Request
Scenario: Month just closed. Finance manager has just called and needs to look at the month-end report.
Requirement: Get the information to finance quickly and painlessly.
Solution: iSeries Access and Infoprint Server.
4
IBM System i5
© 2006 IBM Corporation
Scenario: Order entry has been re-engineered to the Web. However, the back end of the order process -- the order confirmation -- is still printed and mailed in hardcopy.
Requirement: Customer would like to automatically segment order confirmations, retrieve e-mail data, and send immediately to customer.
Solution: DDS or Infoprint Server (Create AFP Data command)
Electronic burst and bind (segmentation)
IBM System i5
© 2006 IBM Corporation
Scenario: monthly sales reports are printed, manually separated and mailed to regional office managers.
Requirement: Customer would like to automatically distribute and send the relevant reports to specific managers via e-mail.
Solution: Use segmentation in conjunction with PDF and e-mail services in Infoprint Server.
Electronic Report Distribution
5
IBM System i5
© 2006 IBM Corporation
Scenario: Order entry has been re-engineered to the Web. However, the back end of the order process -- the order confirmation -- is still printed and mailed in hardcopy.
Requirement: Customer would like to automatically segment order confirmations, retrieve e-mail data, and send immediately to customer.
Advanced Requirement: need to define/profile users/recipients and provide multi-channel (Web, print, fax, e-mail) delivery options based on that profile.
Solution: Intelligent Routing capabilities of Infoprint Server.
Intelligent Routing
CUST 1 CUST 2 CUST 3
CUST 4
CUST 5
CUST N
Intelligent Routing
Print File
IBM System i5
© 2006 IBM Corporation
ROI for Output ReengineeringForms (if re-engineering)– Forms design expense– Forms costs– Inventory costs– Obsolescence costs– Preprinted form limitations
Printing– Printing hardware, acquisition, operating– Labor costs– Incremental costs with forms
Distribution– Labor costs @ $xx/hour– Postage– Handling– Fax, if used
6
IBM System i5
© 2006 IBM Corporation
ROI continued
Soft or Indirect Costs– Timeliness
– Customer, end user satisfaction
– Business flexibility, business processes
– Competitive edge
– Quality of business communications
IBM System i5
© 2006 IBM Corporation
System i5 Output Architecture
7
IBM System i5
© 2006 IBM Corporation
DB2 File System
E-mailPDFWebPrintOther
Infoprint ServerImage Transforms
Infoprint ServerIntelligent Routing and PDF
Subsystem
Infoprint ServerAFP to Web and
Segmentation Indexing
Infoprint ServerPostscript, PCL, PDF to
AFP Transforms
OS/400
PSF/400
Host Print Transform
OutputQueues
PCL
IPDS
Overlays
Fonts
PageSegments
Page & Form Definitions
iSeriesApplicationsPrograms
Infoprint Designer
PDF Mapping ObjectPDF Mapping
Program User ExitProgram
Printer file
DDS
IFS
TrueTypeOpenType
Fonts
JPEGTIFFPDF
IOCAGOCA
IBM System i5
© 2006 IBM Corporation
DB2 File System
OS/400
PSF/400
Host Print Transform
OutputQueues
PCL
IPDS
Overlays
Fonts
PageSegments
Page & Form Definitions
iSeriesApplicationsPrograms
Printer file
DDS
System i5 Print Flow
8
IBM System i5
© 2006 IBM Corporation
Spool File / Data Stream Contents
IBM System i5
© 2006 IBM Corporation
System i5 Print Drivers
Base OS printing – SCS printers– Subset of IPDS printers, non-IP attached
Host Print Transform– AFP to PCL– SCS to ASCII– AFP to TIFF (image transforms) – IP attachment – LPR, PJL, SNMP
Print Services Facility (PSF) – AFP and IPDS
Infoprint Server– PDF– Additional transforms (PCL2AFP, PS2AFP, PDF2AFP)
9
IBM System i5
© 2006 IBM Corporation
PSF - Print Services Facility for i5/OS
AFP system managerIPDS printer driver Feature of i5/OS, priced by printer speed ranges Manages the interactive dialog between iSeries and IPDS printer to ensure each page is rendered completely and accurately System management of page resources (fonts, overlays, images, graphics), ensuring both performance and integrity Full page-level error recovery Designed for business printing, performance, scalable to the highest speeds PSF/400 bundles standard font set (AFP Font Collection)
IBM System i5
© 2006 IBM Corporation
Infoprint Designer
10
IBM System i5
© 2006 IBM Corporation
Design View
ABC Company1122 Main StreetBoulder, CO 80301
Target Print FileABC Company1122 Main StreetBoulder, CO 80301
File Defaults Display Document Tools
100 2/19/97 NET 30 UPS
American Seeds, Inc.
Customer No. 123689
Comprehensive, integrated document design system for iSeries, geared for the non-technical user
Infoprint Designer for iSeries
Overlay Editor
Layout Editor
Image Editor
IBM System i5
© 2006 IBM Corporation
General Features
• Integrated for design functions
• Integrated for production
• Creates standard OS/400 print objects
• Professional, high-precision composition system
• Output reengineering without application changes
• Flexibility in output, including AFP, PCL, and electronic distribution
• Standard iSeries font set built in
11
IBM System i5
© 2006 IBM Corporation
Overlay Editor
IBM System i5
© 2006 IBM Corporation
Overlay Editor
Display and edit multiple overlays within an applicationCreate lines, boxes, and circles in solid, dashed, or dotted stylesSupport shading, diagonals, and rounded corners for box elementsPlace text standalone or align within an invisible boxAdd bar codes (static) to the formUse scanned image of an existing form as a template for overlay designCopy and Repeat functions ease design of complex formsAutosaveAlignment function precisely lines up form elementsImport TIFF images and convert on-the-fly to iSeries format (page segment)Import existing overlays from AFP Utilities or AFP Windows driver
12
IBM System i5
© 2006 IBM Corporation
Image Editor
IBM System i5
© 2006 IBM Corporation
Image Editor
Professional image design platform for sharp, high-fidelity imagesImages manipulated in native iSeries format (page segment objects, IOCA) Import TIFF, GIF, JPEG, BMP graphics with conversion to IOCA Professional touch-up capabilities with a variety of image editing tools Edit image at the individual pel level for complete controlFull text entry options within imageZoom and edit from 100% to 1000%Rotate image in 1-degree incrementsImage manipulation operations include rescale, resize, cut, paste, crop, invert, shade, flip, and mirrorImage preview for easy navigation Full color support, including new IOCA FS45 (Function Set 45)
13
IBM System i5
© 2006 IBM Corporation
Layout Editor
IBM System i5
© 2006 IBM Corporation
Layout Editor - drag and drop data mapping
14
IBM System i5
© 2006 IBM Corporation
Layout Editor
Map current output to new design
Browse and select target iSeries print file
Automatically import target print file into data window for redesign
Fully graphical design window supporting all document elements (data, text, overlays, images, bar coding)
Drag-and-drop target print file data directly onto the design page
Fully graphical print job preview– Step page by page through print file to ensure all data mapping is correct
Additional windows display the layout resource structure (i5/OS page definition and form definition)– These “programming” windows are hot linked to the design page
IBM System i5
© 2006 IBM Corporation
Layout Editor
Full conditional processing support means that page layout decisions can be made based on application data– Design wizard eases the conditional/complex logic process
Full implementation of iSeries page layout architecture
– Page and form definition objects
Integrates fully into iSeries printing and e-output architecture
15
IBM System i5
© 2006 IBM Corporation
Application program
SCS Spool File
Font Collection
iSeries
Windows
PSF/400
Line Data or
AFPDS
SampleData
OS/400
Fonts
Overlays
PageDef
FormDef
Images
Printer File
Page Segments
Project ResourcesOverlays, Page Segments, Page/Form Definitions
Infoprint Designer “Under the Covers”
IBM System i5
© 2006 IBM Corporation
PAGEDEF BASIC
FONT H0F0 H0F0 HEIGHT 11;FONT H010 H010 HEIGHT 10;FONT 5010 5010 HEIGHT 10;FONT FNT#1 H0E0 HEIGHT 5;
PAGEFORMAT PAGE1WIDTH 8.50 IN HEIGHT 11.00 IN ;
PRINTLINECHANNEL 1POSITION SAME NEXT ;
FIELD START 1 LENGTH 80POSITION CURRENT CURRENT SUPPRESSION DFLT;
PRINTLINEPOSITION SAME NEXT ;
FIELD START 1 LENGTH 80POSITION CURRENT CURRENT SUPPRESSION DFLT;
FIELD START 12 LENGTH 25FONT H0F0POSITION 616.00 PELS -65.00 PELS ;
FIELDFONT FNT#1POSITION 0.51 IN 8.28 IN DIRECTION UPTEXT C (5)'BASIC';
PageDef
Page Definition
• Provides variable data mapping
• Field formatting similar to DDS
16
IBM System i5
© 2006 IBM Corporation
FORMDEF BASICOFFSET 0.00 MM 0.00 MM REPLACE YES;
SUPPRESSION DFLT;
COPYGROUP COPY1;OVERLAY INVOIC INVOIC ;SUBGROUP
OVERLAYINVOICSUPPRESSIONDFLT;
COPYGROUP COPY2;OVERLAY PACKING PACKING ;SUBGROUP
OVERLAYPACKINGSUPPRESSIONDFLT;
FormDef
Form Definition
• Provides form and page options
• Similar to printer file
IBM System i5
© 2006 IBM Corporation
E-mailPDFWebPrintOther
Infoprint ServerIntelligent Routing and PDF
Subsystem
OS/400
PSF/400
Host Print Transform
OutputQueues
PCL
IPDS
Overlays
Fonts
PageSegments
Page & Form Definitions
iSeriesApplicationsPrograms
Infoprint DesignerPrinter file
DDS
17
IBM System i5
© 2006 IBM Corporation
Create Printer File (CRTPRTF)
Type choices, press Enter.
Back side overlay: Overlay . . . . . . . . . . . *FRONTOVL Name, *FRONTOVL, *NONE
Library . . . . . . . . . . Name, *LIBL, *CURLIB Offset down . . . . . . . . . 0-57.790 Offset across . . . . . . . . 0-57.790 Constant back . . . . . . . . *NOCONSTANT, *CONSTANT
Convert line data . . . . . . . *NO *NO, *YES IPDS pass through . . . . . . . *DEVD *DEVD, *NO, *YES User resource library list . . . *DEVD Name, *DEVD, *NONE...
+ for more values Corner staple . . . . . . . . . *NONE *NONE, *BOTRIGHT...
More...F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys
Infoprint Designer supported at V4R5 and laterCVTLINDTA enables PCL and viewing functions
Convert Line Data Option (CVTLINDTA)
IBM System i5
© 2006 IBM Corporation
Designer Enhancements
Easy to use design wizard for complex design operations2D barcode support (UPS MaxiCode, Datamatrix, PDF417)Finishing, including group or sub-document levelsNational language supportExpanded design examplesMICR fonts for check applicationsLine data input to ease of project updatesFull color images (FS45 IOCA)Image editing enhancements, included shaded images (watermarks)Enhanced document preview, including duplex and constant backBase version continues as V4R5, enhancements at level 1.19
18
IBM System i5
© 2006 IBM Corporation
Infoprint Designer Considerations
Input sources other than SCS
Conditional trigger fields are dynamic on the page
Need for dynamic graphics (ie. bar charts, pie charts)
High degree of variability of overlays and/or images
Need for data text merge – paragraph formatting
Page overflow, or page in / page out differences
Need to route individual copies to different printers
IPDS vs. PCL printers
IBM System i5
© 2006 IBM Corporation
Infoprint Designer ResourcesSystem i5 printing and output web site:
–www.ibm.com/iseries/printingGeneral
– iSeries Guide to Output (S544-5319)–Printer Device Programming
Technical Reference–Getting Started with Infoprint Designer – iSeries Printing Redbook VI (SG24-6250)–Embedded GUI help
Evaluation–Demo version of Infoprint Designer, request at above URL –Production version, contact [email protected]
Technical Support–IBM Supportline – usage and defect– IBM iSeries Infoprint Business Partners (contact [email protected])
Education –Infoprint Designer webcasts – see Designer homepage for schedule– Infoprint Designer University (IBM Course K2516)–On-site custom education (contact [email protected])
19
IBM System i5
© 2006 IBM Corporation
Infoprint Designer Summary
Integrated – In design -- download and upload – In production -- no change to existing application, snaps right in – In architecture - based on standard iSeries output architecture
Complete – Image, overlay, and composition (variable data layout)
Flexible – Print with IPDS, PCL, PDF*– Electronic delivery via web, e-mail, fax*
Designed for non-technical user Runtime is built into OS/400 architecture – No print monitor, print server required
IBM Software Maintenance– No incremental support or release charges
Standard IBM support
IBM System i5
© 2006 IBM Corporation
Infoprint Server
20
IBM System i5
© 2006 IBM Corporation
iSeries support for PDF
Transform services for any iSeries standard output (AFP, IPDS, SCS, even OV/400)PDF output to e-mail, IFS, or PDF printerHigh-function PDF Server Segmentation - "Electronic Burst and Bind"
Intelligent Routing, Electronic Delivery
PDF output can be automatically e-mailed, archived, printedMultiple actions per file or file segmentImplementation via PDF mapping or user exit
iSeries as a network print server
PCL, Postscript, and PDF to AFP Postscript and PDF transform is IBM-Adobe full-function Level 3
Portable, web-ready AFP
Add external resources to AFP data for portability and browser view Add indexing for navigation and report segmentation
Image transforms
GIF, TIFF, and JPEG transforms to IOCAWindows-based
Infoprint Server for iSeries
IBM System i5
© 2006 IBM Corporation
DB2 File System
OS/400
PSF/400
Host Print Transform
OutputQueues
PCL
IPDS
Overlays
Fonts
PageSegments
Page & Form Definitions
iSeriesApplicationsPrograms
Infoprint DesignerPrinter file
DDS
Infoprint ServerImage Transforms
Image transforms
GIF, TIFF, and JPEG transforms to IOCAWindows-based
21
IBM System i5
© 2006 IBM Corporation
DB2 File System
Infoprint ServerImage Transforms
Infoprint ServerPostscript, PCL, PDF to
AFP Transforms
OS/400
PSF/400
Host Print Transform
OutputQueues
PCL
IPDS
Overlays
Fonts
PageSegments
Page & Form Definitions
iSeriesApplicationsPrograms
Infoprint DesignerPrinter file
DDS
iSeries as a network print server
PCL, Postscript, and PDF to AFP Postscript and PDF transform is IBM-Adobe
full-function Level 3
IBM System i5
© 2006 IBM Corporation
DB2 File System
Infoprint ServerImage Transforms
Infoprint ServerAFP to Web and
Segmentation Indexing
Infoprint ServerPostscript, PCL, PDF to
AFP Transforms
OS/400
PSF/400
Host Print Transform
OutputQueues
PCL
IPDS
Overlays
Fonts
PageSegments
Page & Form Definitions
iSeriesApplicationsPrograms
Infoprint DesignerPrinter file
DDS
Portable, web-ready AFP
Add external resources to AFP data for portability and browser view Add indexing for navigation and report
segmentation
22
IBM System i5
© 2006 IBM Corporation
E-mailPDFWebPrintOther
Infoprint ServerIntelligent Routing
AndPDF Subsystem
Infoprint ServerPostscript, PCL, PDF to
AFP Transforms
OS/400
PSF/400
Host Print Transform
OutputQueues
PCL
IPDS
iSeriesApplicationsPrograms
PDF Mapping ObjectPDF Mapping
Program User ExitProgram
Printer file
DDS
iSeries support for PDFTransform services for any
iSeries standard output (AFP, IPDS, SCS, even OV/400)PDF output to e-mail, IFS,
or PDF printerHigh-function PDF Server Segmentation - "Electronic
Burst and Bind"
Intelligent Routing, Electronic Delivery
PDF output can be automatically e-mailed, archived, printedMultiple actions per file or
file segmentImplementation via PDF
mapping or user exit
IBM System i5
© 2006 IBM Corporation
E. D. Smith and Sons, Limited
The Challenge– Transform current paper-intensive and manual
business communication processes The Solution– Using Infoprint Server multi-channel business
communications. Hardcopy output has been reduced by 50% while delivering the information faster and reinventing key business processes . . .
– Plans in place to expand to 75% of total document output
The Benefits– Reduce costs associated with hardcopy
distribution– Increase speed of communications– Increase business flexibility– Increase customer (external and internal)
satisfaction– Improve reliability of communications
“After taking a hard look at our business processes, we realized that we could
significantly reduce the manual handling and distribution of paperwork by
implementing a solution that could automate our business correspondence
across our entire supply chain,”
Beverly Russell, IT Director, E. D. Smith and Sons, Ltd
23
IBM System i5
© 2006 IBM Corporation
Let’s learn by example . . .
1. Publish documents to Web/IFS
2. Distribute reports electronically
3. Route documents via recipient profile (Intelligent Routing)
4. Segment and index documents
5. Distribute documents ad hoc using iSeries Access
IBM System i5
© 2006 IBM Corporation
First Step: Printer device configuration Printer Device Description– Virtual IPDS/AFP printer on *LAN
– Loopback address (127.0.0.1)
– Unique port number
– USFDFNOBJ points to your PSF configuration object
CRTDEVPRT DEVD(PDFDEVD)
DEVCLS(*LAN) TYPE(*IPDS)
MODEL(0)
LANATTACH(*IP)
AFP(*YES)
PORT(5013)
RMTLOCNAME('127.0.0.1')
USRDFNOBJ(PDFOPTIONS *PSFCFG)
24
IBM System i5
© 2006 IBM Corporation
Second Step: PSF configuration object PSF Configuration Object - CRTPSFCFG– Select PDFGEN (*MAIL, *STMF, *SPLF) – Single or Multiple– Destination: OUTQ, IFS, EMAIL– Mapping program– Default sender– Data queue– PDF device type (*IP40300) – Paper size– Include PDF fonts (Y/N)
CRTPSFCFG PSFCFG(PDFOPTIONS)
PDFGEN(*MAIL)
PDFMULT(*YES *SPLIT)
PDFDTAQ(MYLIB/MYDATAQ)
PDFMAILSVR('SMTP mail server')
PDFSENDER(pdf sender) PDFMAP
PGM(MYLIB/PDFMAP1)
TEXT('Infoprint Server options - email')
IBM System i5
© 2006 IBM Corporation
iSeries Navigator
Use Navigator to create the PSF Configuration Object, or . . .
Use CRTPSFCFG or CHGPSFCFG
25
IBM System i5
© 2006 IBM Corporation
1. Publish documents to IFS/Web
Application: – Monthly reports currently printed and
mailed
– Migrate reports to IFS in order to provide intranet or Internet immediate access
Solution Steps:1. OS/400 application creates the report data
and places it on the spool
2. Use IPS to PDF to IFS conversion process
3. Access the data from a Web application or by using iSeries Access
IBM System i5
© 2006 IBM Corporation
Archive
Overlays
Fonts
Psegs
Page & Form defs
Output queue
PDF Device
Description
IFS
OS/400
PSF/400
Printer file
iSeries native applications
PDFCompanyIntranet
DDS
PSFConfiguration
Object
26
IBM System i5
© 2006 IBM Corporation
IFS Target Directory - Default
If you specify a Root File System directory name, the file will be stored as:– /PDF-directory-name/job-name/job-user-name+ /job-number_file-
number_spooled-file-name_date_sequence-number.PDF
In this example the target was specified as '/reports'
NOTE: Can be altered using PDF mapping program or mapping object
IBM System i5
© 2006 IBM Corporation
More on IFS Files
You can control directory and file naming explicitly by using PDF mapping program or PDF mapping object
If you select "Generate multiple PDF files" the separate files will have sequence number 00001.PDF, 00002.PDF etc.– Multiple segments are defined by DDS or CRTAFPDTA
File(s) will be generated as owned by the spooled file owner with public authority of *EXCLUDE
Any directories that do not already exist are created by the PDF subsystem, are owned by QSPLJOB, and have a public authority of *RX – This can be altered using PDF mapping program or PDF mapping object
27
IBM System i5
© 2006 IBM Corporation
2. Distribute reports electronically
Application: – Monthly sales reports are printed, bursted, and mailed to
regional sales managers– Change to automatically distribute via email
Solution Steps: 1. Use DDS keywords to insert group or routing tags, or
optionally use Create AFP Data 2. Original spooled file converted to multiple PDF files3. User mapping program converts department name to e-mail
address.4. Each PDF file sent to appropriate regional office as e-mail
attachment• V5R1 uses SNDDST• V5R2+ you can use SNDDST or any SMTP server.
IBM System i5
© 2006 IBM Corporation
Overlays
Fonts
Psegs
Page & Form defs
Output queue
PSF Configuration
Object
OS/400
IPS
Printer file
iSeries native applications
DDS
UserMappingProgram
DB File Access 513701
842
STRPAGGRP('513')
28
IBM System i5
© 2006 IBM Corporation
Email Addressing
Different ways to set e-mail address:
Depends on single vs. multiple & application– Single distribution:
• USRDFNDTA('MAILTAG([email protected])' ) • USRDTA('Dept842')
– Multiple distribution:• group records to define separation points and e-mail tag• DDS - use STRPAGGRP/ENDPAGGRP keyword• CRTAFPDTA to insert index records
Note: On V5R2 and later, you can change USRDFNDTA with CHGSPLFA after application has run and spooled file has been created.
IBM System i5
© 2006 IBM Corporation
Email Addressing Flow
singleor multi?
access DDS?
chgprtf or
ovrprtf?
USRDFNDTAMAILTAG USRDTA CRTAFPDTA
DDSSTRPAGGRPENDPAGGRP
e-mailMapping
pgmoptional
multi
no (V5R1)*
Yes or Any V5R2* yes no
optional
single
(A) (D)(C)(B)
29
IBM System i5
© 2006 IBM Corporation
E-mail with mapping program
InfoprintServer
Data Queue
PSF Configuration
Object
Printer FileDDS
USRDFNDTAUSRDTA
(DDS)STRPAGGRPENDPAGGRP
PDFGENPDFINCFNTPDFMULTPDFDTAQ
PDFSENDERPDFMAPPGM
PDFDIR
PDFFile(s)
User mapping Program
INPUT
Job InfoUserUser DataForm TypeForm NumberFile NameRouting TagPDF File PathSender
OUTPUT
To ListCC ListBCC ListReply ToSubjectMessage TextMIME object to includeAttachmentsDisposition
Printer Device
Description
IBM System i5
© 2006 IBM Corporation
Sample e-mail
30
IBM System i5
© 2006 IBM Corporation
Alternative -- PDF Mapping Object
New non-programmed end user access to Infoprint Server PDF functions– PDF mapping object – Commands for output delivery definition– Data tables (PDF mapping object) defines input "target" and action operations– Reduces need for user exit (programming) to set up electronic distribution functions
Now, a total of 5 interfaces to Infoprint Server functions– PDF mapping object (with IBM mapping program) – User mapping program– iSeries Access – iSeries Access for Web– API
IBM System i5
© 2006 IBM Corporation
Mapping object displays
Add PDF Map Entry(Option 1 on WRKPDFMAPE) Add PDF Map Entry Sequence . . . . . . : 100__ Text . . . . . . . . : This is it_______________________________________ Type choices, press Enter. Output queue . . . . . *ALL______ Name, Generic*, *ALL Library . . . . . . . __________ Name, *LIBL File . . . . . . . . . *ALL______ Name, Generic*, *ALL User . . . . . . . . . *ALL______ Name, Generic*, *ALL User Data . . . . . . . *ALL______ Character value, Generic*, *ALL Form Type . . . . . . . *ALL______ Character value, Generic*, *ALL Mail tag . . . . . . . *ALL_________________________________________ ________________________________________________________________________ ________________________________________________________________________ ___________________________________
Segmented file . . . . ______ *YES, *NO
F3=Exit F12=Cancel
31
IBM System i5
© 2006 IBM Corporation
First screen for mail entry
Define mail entry Type choices, press Enter.
To e-mail address . . . . _________________________________________________ + for more values _________________________________________________ Subject . . . . . . . . . *PSFDFT__________________________________________ _____________________________________ Message text . . . . . . *PSFDFT__________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ _____________________________________________________________________ CC e-mail address . . . . . _________________________________________________ + for more values _________________________________________________ BCC e-mail address . . . _________________________________________________ + for more values _________________________________________________ Reply to e-mail address . . *MAILSENDER______________________________________ ______________________________________________________________________________ _____
More... F3=Exit F12=Cancel
IBM System i5
© 2006 IBM Corporation
Define PDF routing to IFS
Define PDF stream file
Type choices, press Enter.
PDF stream file: Stream file . . . . . . . /reports/northwest/month.pdf file name, *PSFCFG Public authority . . . . *EXCLUDE *ECLUDE, *RWX, *RX, *RW, *WX, *R, *W, *X
F3=Exit F12=Cancel
32
IBM System i5
© 2006 IBM Corporation
Define PDF routing to output queue
Define PDF spooled file entry Type choices, press Enter. PDF output queue . . . . . . *PSFCFG___ Name, *PSFCFG Library . . . . . . . . . __________ Name File . . . . . . . . . . . *SPLF_____ Name, *SPLF User Data . . . . . . . . . *SPLF_____ Character value, *SPLF Form Type . . . . . . . . . *SPLF_____ Character value, *SPLF User Defined Data . . . . . *SPLF___________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ __________________________________________________
F3=Exit F12=Cancel
Note: prompts are similar for AFPDS re-spool
IBM System i5
© 2006 IBM Corporation
Use of Mapping objects, Mapping programs
Mapping Object– Map routing tag to email ID– Add CC, BCC, reply to – Assign custom name to PDF
attachment– Add additional text or HTML files
to body of email – Change subject line– Change body text of email– Change directory path and/or file
name of PDF files routed to IFS– Change authorities of PDF files– Change the user data, user-
defined data, or form type of PDF or AFP re-spool
Mapping Program– All of the Mapping object
functionsplus . . .– Dynamic resolution of email IDs – Dynamic resolution of any other
data– Dynamic calculations or
processing– Process files multiple times – Decide dynamically not to email
specific file (PDF document)– Make copy of PDF to IFS
33
IBM System i5
© 2006 IBM Corporation
3. Intelligent Routing
Application: – Order entry has been reengineered to Web– Back end – order confirmations – is still printed– Would like to define how each customer prefers
to receive document
Solution: 1. For multiple segment applications, insert
segment indexes via DDS STRPAGGRP or using CRTAFPDTA
2. Use mapping program or PDF mapping object to define what action(s) to take on each print file or print file segment
CUST 1 CUST 2 CUST 3
CUST 4
CUST 5
CUST N
Intelligent Routing
Print File
IBM System i5
© 2006 IBM Corporation
Intelligent Routing Flow
Output queue
Printer file
iSeries native applications
DDS -SALESPRT
PDFSubsystem
PSF Configuration
Object
Note: Routing Tags inserted via DDS or with CRTAFPDTA command.
PDFFile(s)
User Mapping Program
OutputTolistCC ListBCC ListReply ToSubjectMessage TextMIME ObjectAttachmentsDisposition
InputJob InfoUserUser DataForm TypeForm NumberFilenameRouting TagPDF File PathSender
NW Region
Other Regions
Central Region
Regional Sales Report File
IBM Mapping Program
Filter DataJob InfoUserUser DataForm TypeForm NumberFilenameRouting TagPDF File PathSender
Action DataTolistCC ListBCC ListReply ToSubjectMessage TextMIME ObjectAttachmentsDisposition
PDF Mapping Object
- OR -
FAXE-MAIL
PRINTIFSOTHER
Printer Device Description
DatabaseFiles
34
IBM System i5
© 2006 IBM Corporation
Using mappingprogram:
Overlays
Fonts
Psegs
Page & Form defs
Output queue
PDF DEVD
PSFCFG
OS/400
PSF/400
Printer file
iSeries native applications
DDS
userMappingProgram
File: LOOKUP 513701
842
STRPAGGRP('513')
IPDS
IFS513 email to [email protected] print hardcopy PDF in color
842 print AFPDS and store in IFS.
IBM System i5
© 2006 IBM Corporation
Using mapping object:
Overlays
Fonts
Psegs
Page & Form defs
Output queue
PDF DEVD
PSFCFG
OS/400
PSF/400
Printer file
iSeries native applications
DDS
SytemSuppliedMappingProgram
PDF Mapping Object
513701
842
STRPAGGRP('513')
513 email to [email protected] print hardcopy PDF in color842 print AFPDS and store in
IFS.
IPDS
IFS
35
IBM System i5
© 2006 IBM Corporation
4. Segmentation and Indexing
Application: – Need to index invoices for customer service access and viewing– Need to segment invoices for Infoprint Server processing
Solution Steps: 1. Application creates output in OS/400 spool.2. CRTAFPDTA (Create AFP Data) command generates the document as an AFP
stream file, puts the indexing information in an index object stream file, gathers all of the needed resources into a resource stream file, then concatenates them into a merged stream file.Alternatively, indexing or segmentation can be done with DDS STRPAGGRP and
ENDPAGGRP 3. Indexed and merged data file can Users can now view the indexed file on their
workstation, send the file for use on another system, or archive the file.4. If processing by Infoprint Server, file is re-queued using PRTAFPDTA (Print AFP
Data)
IBM System i5
© 2006 IBM Corporation
Segmentation, indexing
Overlays
Fonts
Psegs
Page & Form defs
Output queue
CRTAFPDTA
PF
IFS
OS/400
PSF/400
Printer file
DDS
iSeries application
PRTAFPDTA
Archive
Web
STRPAGGRPENDPAGGRP
36
IBM System i5
© 2006 IBM Corporation
Use of Create AFP data (CRTAFPDTA)
Use of DDS not availableNeed to create an segmented spooled file– Multiple PDF generation and/or Intelligent Routing – generate indexes for PDF bookmarks
Need to create an indexed spooled file– ie. AFP Viewer - quick access to selected pages
Archive & Retrieve selected groups of pagesFidelity forever for Archive / Retrieve– even if external resources change over time
When sending AFP print to another System i5, or other system platformsWhen sending print to an outsourcerFor AFP Viewer on WebConcatenate the print data, index and resources into one merged file
IBM System i5
© 2006 IBM Corporation
Create AFP Data Command
CRTAFPDTA
FROMSPLF(SpoolFileName)
SPLNBR(*LAST) +
FORMDF(FormDefinitionName) +
PAGDFN(PageDefinitionName)
IDXTRG((* 3 'Page 1')) +
IDXTAGFLD(( 4 15 6 ))
IDXTAG(('Customer Number' *IDXTAGFLD1)))
Target Spool File Name and number
Form and page definition names –Infoprint Designer projects or standard iSeries form/page definition objects
Index trigger field – the text “Page 1” starting at position 3 of the print line.
Indexing field – looking for customer number in print line 4 starting at position 15 for 6 characters.
37
IBM System i5
© 2006 IBM Corporation
5. Immediate e-output via iSeries Access
Application: – Month has just closed and finance manager needs to review
month-end reports immediately
Requirement: – Get information electronically now.
Solution: 1 - Access iSeries Access Printer Output
2 – Right-click on PDF and fill in screens
IBM System i5
© 2006 IBM Corporation
insert application examples
38
IBM System i5
© 2006 IBM Corporation
Ad Hoc – email
IBM System i5
© 2006 IBM Corporation
Ad Hoc - IFS
39
IBM System i5
© 2006 IBM Corporation
Infoprint Server ResourcesSystem i5 printing and output web site: –www.ibm.com/iseries/printing
General–iSeries Guide to Output (S544-5319)–Printer Device Programming
Technical Reference–Infoprint Server User’s Guide (G544-5774)–iSeries Printing Redbook VI (SG24-6250)–iSeries Printing Redbook VII
Evaluation–Standard 70-day install/evaluation from OS CDs
Technical Support–IBM Supportline – usage and defect–IBM iSeries Infoprint Business Partners (contact [email protected])
Education –Infoprint Server webcasts – see Infoprint Server homepage for schedule–Infoprint Server Implementation (IBM Course K2518)–On-site custom education (contact [email protected])
IBM System i5
© 2006 IBM Corporation
Printing Redbook VII: Infoprint Server Implementation
Electronic Business CommunicationsApplication scenariosInfoprint Server introductionPlanning, configuring for Intelligent RoutingUsing the PDF mapping objectPDF encryptionColor applicationsUsing the PDF mapping programFax integrationJobs, joblogs, testingPDF mapping object vs. PDF mapping programV5 enhancement summary
40
IBM System i5
© 2006 IBM Corporation
Infoprint Server Summary
PDF support for System i5Profiled, multi-channel delivery of output– High ROI for e-delivery based applications
Integration – With i5/OS– With page architecture
Tier-based, low acquisition cost IBM Software Maintenance– No incremental support or release charges
Standard IBM support
IBM System i5
© 2006 IBM Corporation
Print and Output Enhancements
41
IBM System i5
© 2006 IBM Corporation
V5R3 - Intelligent Routing
Profiled multi-channel delivery of iSeries business output
Uses V5 electronic document segmentation
Enables document action by segment, including Web, e-mail, print, fax, and re-queue
Multiple actions per segment
Deployment via new simple user interface (in addition to mapping program dynamic interface)
Functions PTF’ed to V5R2
CUST 1 CUST 2 CUST 3
CUST 4
CUST 5
CUST N
Intelligent Routing
Print File
IBM System i5
© 2006 IBM Corporation
PDF Enhancements
Access to PDF functions via new end user interface PDF encryption–Data protection with password –Revision protection
PDF color–Supports new iSeries color image format (IOCA FS45)–Supports new “direct import” image (GIF, TIFF, JPEG, IOCA, GOCA, BCOCA)
Enhanced PDF presentation and control–Control over PDF file name and IFS location –Control over orientation – i.e.. Landscape reports “present” right-side up
Reduction of PDF files sizes Support for 2D, Planet barcodes
42
IBM System i5
© 2006 IBM Corporation
Intelligent Routing, PDF Interfaces
New non-programmed end user access to Infoprint Server PDF functions– Commands for output delivery definition– Data tables (PDF mapping object) defines input "target" and action
operations– Reduces need for user exit (programming) to set up electronic distribution
functions
5 interfaces– PDF mapping object– User exit program– iSeries Access – Web Access– API
IBM System i5
© 2006 IBM Corporation
iSeries Output Architecture Extensions
Unicode –Worldwide document encoding standard – “ultimate code page”
TrueType, OpenType –Direct import and use of TTF and OpenType fonts in iSeries output –Fonts reside in ASCII on Integrated File System (IFS)–Font installer (feature of Infoprint Fonts, 5648-E77) for installation
Color–iSeries color image – IOCA FS 45
• Base support in V5R2, extended in V5R3 –Direct import of ASCII image – monochrome and color
• JPEG, EPS, PDF, PCL, TIFF, IOCA, GOCA files
43
IBM System i5
© 2006 IBM Corporation
Image alternative
With V5R3, capability to reference ASCII image files directly– Use AFPRSC keyword in DDS
– Define GIFF, TIFF, JPEG file
– File resides on IFS
– Image placed in AFP print file within structure called object container
– Infoprint Server PDF processing accesses image and converts to PDF
IBM System i5
© 2006 IBM Corporation
JPEG R REC1 AFPRSC('TEST.JPG' *JFIF 2.0 1.0 + (*SIZE 4 4) (*MAPOPT *SL))
F1 46A O POSITION(.5 .5)
PDF R REC1 AFPRSC('TEST.PDF' *PDFSPO 2.0 1.0 + (*SIZE 4 4) (*MAPOPT *SL))
F1 44A O POSITION(.5 .5)
TIFF R REC1 AFPRSC('TEST.TIF' *TIFF 2.0 1.0 + (*SIZE 4 4) (*MAPOPT *SL))
F1 49A O POSITION(.5 .5)
GOCA R REC1 AFPRSC('G1IOB3' *GOCA 2.0 1.0 + (*SIZE 4 4) (*MAPOPT *ST) )
F1 49A O POSITION(.5 .5)
IOCA R REC1 AFPRSC('I1IOB3' *IOCA 2.0 1.0 + (*SIZE 4 4) (*MAPOPT *SL))
F1 49A O POSITION(.5 .5)
GIF R REC1 AFPRSC('TEST.GIF' 22 2.0 1.0 + (*SIZE 4 4) (*MAPOPT *SL))
F1 54A O POSITION(.5 .5)
AFPRSC
44
IBM System i5
© 2006 IBM Corporation
DB2 File System
E-mailPDFWebPrintOther
Infoprint ServerImage Transforms
Infoprint ServerIntelligent Routing and PDF
Subsystem
Infoprint ServerAFP to Web and
Segmentation Indexing
Infoprint ServerPostscript, PCL, PDF to
AFP Transforms
OS/400
PSF/400
Host Print Transform
OutputQueues
PCL
IPDS
Overlays
Fonts
PageSegments
Page & Form Definitions
iSeriesApplicationsPrograms
Infoprint Designer
PDF Mapping ObjectPDF Mapping
Program User ExitProgram
Printer file
DDS
IFS
TrueTypeOpenType
Fonts
JPEGTIFFPDF
IOCAGOCA
IBM System i5
© 2006 IBM Corporation
V5R4
Native save/restore of spooled files– Includes complete spooled file identity– Ability to restore on same system, or another system
BRMS – Backup, Recovery, and Media Services– Uses new spooled file APIs
Policy-base output queue management– Set expiration date/time for spooled files
Work with spooled files (WRKSPLF)– New filtering for search – file name, job name, beginning/ending
date/time, generic search characters– Functions also enabled in Navigator
45
IBM System i5
© 2006 IBM Corporation
IBM Infoprint 6700– Combined RFID and barcode printers
IBM MFP Printers – Multi-function printers for device
consolidation
– Print, fax, copy, scan
IBM 1500 Workgroup Family – Complete new line of workgroup
monochrome and color laser printers
New printers for System i5
IBM System i5
© 2006 IBM Corporation
Summary
Transformation of print to electronic business communications– Dramatic process changes
– Significant business case (ROI)
Expanded System i5 output architecture
Document design . . . featuring Infoprint Designer
PDF and Intelligent Routing . . . featuring Infoprint Server
Output enhancements, including V5R4
46
IBM System i5
© 2006 IBM Corporation
Additional Information
IBM System i5
© 2006 IBM Corporation
Mapping Program Problem Determination
New set of PTFs enhancing troubleshooting for mapping functionsTrace file automatically created on error conditions– Manual override to create trace file
Reason codes added to PQT4140See guide “Specifying Directory Authorities and Troubleshooting Mapping Programs” with PTFAvailable for V5R2 and V5R3– V5R2: SI17330, SI17331, SI17332, SI17700– V5R3: SI17814, SI17815
47
IBM System i5
© 2006 IBM Corporation
PDF File SizeBy default PDF includes Adobe fontsFiles may be large if many fonts usedV5R1 - Use PSFDFNOPT with PDFINCFNT(*NO) in your PSFCFG (PTF SI03186 required)V5R2 use PDFINCFNT(*NO) parameterFurther improvement with new PTF's for V5R2, or V5R3!
File Description no. of pages size of PDF-V5R1with fonts
Without Fonts
V5R2 with new PTF's
Short JOBLOG 2 58 KB 4-7 KBMedium JOBLOG 19 94 KB 33 KB
Long JOBLOG 217 493 KB 279 KB(164 pages)
Single Invoice 1 752 KB 52 KB 23 KBMultiple Invoices 6 761 KB 59 KB 31 KB
IBM System i5
© 2006 IBM Corporation
Improve quality with outline fonts
iSeries Raster fonts produces Type-3 pdf fontsNote: The difference is only evident when viewing the pdf. Printing both versions produces the same quality results.
iSeries Outline fonts produces Type-1 pdf fontsUse USEOUTLFNT(*YES) on your PSFCFG to force outline fonts to be used
48
IBM System i5
© 2006 IBM Corporation
Trademarks and Disclaimers© IBM Corporation 1994-2004. All rights reserved.References in this document to IBM products or services do not imply that IBM intends to make them available in every country.The following terms are trademarks of International Business Machines Corporation in the United States, other countries, or both:
Presenters:
The
instructions
AS/400 e-business on demand OS/400AS/400e IBMeServer IBM (logo)
iSeries
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. Other company, product or service names may be trademarks or service marks of others.
Information is provided "AS IS" without warranty of any kind.
All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer.
Information concerning non-IBM products was obtained from a supplier of these products, published announcement material, or other publicly available sources and does not constitute an endorsement of such products by IBM. Sources for non-IBM list prices and performance numbers are taken from publicly available information, including vendor announcements and vendor worldwide homepages. IBM has not tested these products and cannot confirm the accuracy of performance, capability, or any other claims related to non-IBM products. Questions on the capability of non-IBM products should be addressed to the supplier of those products.
All statements regarding IBM future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only. Contact your local IBM office or IBM authorized reseller for the full text of the specific Statement of Direction.
Some information addresses anticipated future capabilities. Such information is not intended as a definitive statement of a commitment to specific levels of performance, function or delivery schedules with respect to any future products. Such commitments are only made in IBM product announcements. The information is presented here to communicate IBM's current investment and development activities as a good faith effort to help with our customers' future planning.
Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput or performance improvements equivalent to the ratios stated here.
Photographs shown are of engineering prototypes. Changes may be incorporated in production models.
IBM System i5
© 2006 IBM Corporation
System i5 Printing and Output Management
Bill ShafferOutput Solutions, System [email protected]