i Print [ therefore i AM ]

An Introduction to AS/400 Network Printing & How can it work for me?

iPrint January 13, 2009 Slide 1 Crass Commercial Message

AS/CC was formed in 1996 to provide technical support for businesses in NE Indiana using IBM AS/400 systems.

In addition to supporting i5, our team of 12 professionals provide hardware, software and services on Windows and Linux platforms with traditional, client / server and web based applications iPrint January 13, 2009 Slide 2 IBM Conferences IBM Lotusphere 2009 January 18-22 Orlando FL IMPACT 2009 (Websphere & SOA) May 3 – 8 Las Vegas IBM Rational Software Conference May 31 – June 4 Orlando FL IBM System Storage and Storage Networking Symposium IBM System x and BladeCenter Technical Conference September 8-12 Chicago IL IBM Power Systems Technical University September 21-25 Orlando FL iPrint January 13, 2009 Slide 3 Agenda A Brief History [How did we get here??] Concepts [What's a network, anyway?] Whose Printers? [just about anybodies] Configuration Examples Advanced Function Printing Overlay and page segment creation Electronic Distribution Email reports and create PDF's iPrint January 13, 2009 Slide 4 Murphy's Law Jone's Law

The man who can smile when things go wrong has thought of someone he can blame it on

iPrint January 13, 2009 Slide 5 In the Beginning

Twinax and PC Connect (Print Data Transform PDT) Remote Systems Mainframes, AS/400s & PSF/2 TCP/IP LPR & LPD Remote Outq's and Writer's Little control Host Print Transform (HPT) LAN Printing and SNMP Regained control Internet Printing Protocol and much more.... iPrint January 13, 2009 Slide 6 What's a Network? A way to connect A Collection of Systems and Services A Secured Work Environment Anything you want it to be Typically starts with ethernet Can be multiple locations Can use the internet

iPrint January 13, 2009 Slide 7 What is a Network Printer? Any printer that connects Usually by ethernet Sometimes to a PC with USB or parallel Can be wireless Can be part of a special device Label printer Barcode scanner / printer Cash Register iPrint January 13, 2009 Slide 8 Different Languages EBCDIC vs ASCII SCS / IPDS vs PCL / Postscript / etc Printer Data Transform Used in iSeries Access on the PC Translated on the PC Host Print Transform Runs on the i iPrint January 13, 2009 Slide 9 Chose Your Printer Ethernet, USB, parallel, wireless TCP/IP Laser, inkjet, multifunction, thermal IPDS, SCS, HP PCL, Postscript compatible Workstation customization objects Anything you're willing to program

iPrint January 13, 2009 Slide 10 Choose Your Configuration

IPDS / SCS Line Printer Daemon (LPD) Printer Job Language (PJL &PCL) Simple Network Mgmt Protocol (SNMP) Internet Print Protocol

iPrint January 13, 2009 Slide 11 Murphy's Law Levin's Law

Following the rules will not get the job done.

Corollay

Getting the job done is no excuse for not following the rules. iPrint January 13, 2009 Slide 12 IPDS Configuration Sample

Create Device Desc (Printer) (CRTDEVPRT) Device description ...... > PRT01 Device class ...... > *LAN Device type ...... > *IPDS Device model ...... > 0 LAN attachment ...... *IP Advanced function printing . . . *YES Port number ...... 5001 Online at IPL ...... *YES Font: Identifier ...... > 11 Point size ...... *NONE Form feed ...... *AUTOCUT Separator drawer ...... *FILE Separator program ...... *NONE Printer error message . . . . . *INQ Maximum pending request . . . . 6 Print while converting . . . . . *YES Print request timer ...... *NOMAX Form definition ...... F1C10110 Remote location: Name or address '9.99.99.99' iPrint January 13, 2009 Slide 13 PJL Configuration Sample

Create Device Desc (Printer) (CRTDEVPRT) Device description ...... > PRT01 Device class ...... > *LAN Device type ...... > 3812 Device model ...... > 1 LAN attachment ...... *IP Advanced function printing . . . *YES Port number ...... 9100 Online at IPL ...... *YES Font: Identifier ...... > 11 Point size ...... *NONE Form feed ...... *AUTOCUT Separator drawer ...... *FILE Separator program ...... *NONE Printer error message . . . . . *INQ Activation timer ...... 170 Inactivity timer ...... *SEC15 Inactivity timer ...... *ATTACH Type of parity ...... > *NONE Host print transform ...... *YES Manufacturer type and model . . *IBM4317 Name or address '9.99.99.99' iPrint January 13, 2009 Slide 14 SNMP Configuration Sample

Create Device Desc (Printer) (CRTDEVPRT) Device description ...... > PRT01 Device class ...... > *LAN Device type ...... > 3812 Device model ...... > 1 LAN attachment ...... *IP Advanced function printing . . . *YES Port number ...... 9100 Online at IPL ...... *YES Font: Identifier ...... > 11 Point size ...... *NONE Form feed ...... *AUTOCUT Separator drawer ...... *FILE Separator program ...... *NONE Printer error message . . . . . *INQ Activation timer ...... 170 ... User-defined options ...... *IBMSHRCNN System driver program . . . . . *IBMSNMPDRV

iPrint January 13, 2009 Slide 15 IPP Configuration Sample

Create Device Desc (Printer) (CRTDEVPRT) Device description ...... > PRT01 Device class ...... > *LAN Device type ...... > 3812 Device model ...... > 1 LAN attachment ...... *IP Advanced function printing . . . *YES Port number ...... 631 Online at IPL ...... *YES Font: Identifier ...... > 11 Point size ...... *NONE Form feed ...... *AUTOCUT Separator drawer ...... *FILE Separator program ...... *NONE Printer error message . . . . . *INQ Activation timer ...... 170 ... Remote location: Name or address ...... > 'http://9.5.208.29:631/' System driver program . . . . . *IBMIPPPDRV iPrint January 13, 2009 Slide 16 Murphy's Law Owen's Law

If you are good, you will be assigned all the work. If you are really good, you will get out of it.

iPrint January 13, 2009 Slide 17 Host Print Transform

iPrint January 13, 2009 Slide 18 Host Print Transform

iPrint January 13, 2009 Slide 19 Host Print Transform

Create Device Desc (Printer) (CRTDEVPRT) Device description ...... > PRT01 Device class ...... > *LAN Device type ...... > 3812 Device model ...... > 1 LAN attachment ...... *IP Advanced function printing . . . *YES Port number ...... 631 Online at IPL ...... *YES ... Host print transform ...... *YES Manufacturer type and model . . IBM4317 [F4 for list of printers*] Paper source 1 ...... *A4 Paper source 2 ...... *A4 Envelope source ...... *C5 ASCII 899 support . . *NO

*WSCST allows you to “define” your own printer data stream using workstation Customizing Objects. iPrint January 13, 2009 Slide 20 Image Print Transform

iPrint January 13, 2009 Slide 21 Image Print Transform

Create Device Desc (Printer) (CRTDEVPRT) Device description ...... > PRT01 Device class ...... > *LAN Device type ...... > 3812 Device model ...... > 1 LAN attachment ...... *IP Advanced function printing . . . *YES ... Host print transform ...... *YES Manufacturer type and model . . IBM4317 Paper source 1 ...... *A4 Paper source 2 ...... *A4 Envelope source ...... *C5 ASCII support . . *NO Image configuration . . . . . : *IMGA02 [F4 for list of image configs]

iPrint January 13, 2009 Slide 22 Murphy's Law Doane's First Law of Procrastination

The more proficient one is at procrastination, the less proficient one needs to be at all else.

iPrint January 13, 2009 Slide 23 i Print Server i also functions as a Network Print Server any printer defined to i can use SCS, IPDS, HP-PCL, Postcript, etc transforms done at the PC with print drivers some transforms possible on i Uses NetServer or TCP/IP LPD server

iPrint January 13, 2009 Slide 24 NetServer Setup

Name the shared resource Identify the output queue and library Spool File Type User ASCII SCS AFPDS Optionally Printer File, Driver Description

iPrint January 13, 2009 Slide 25 Add Windows Printer

iPrint January 13, 2009 Slide 26 continued...

iPrint January 13, 2009 Slide 27 continued...

iPrint January 13, 2009 Slide 28 IPP Printer Setup

iPrint January 13, 2009 Slide 29 IPP Printer Setup

iPrint January 13, 2009 Slide 30 Murphy's Law First Law of Debate

Never argue with a fool. People might not know the difference.

iPrint January 13, 2009 Slide 31 Advanced Function Presentation an architecture using a Includes wide range of functions AFP data stream to provide capabilities (AFPDS) such as print formatting, viewing, AFP resources and archiving (overlay, page segment, fonts, formatting definitions) Print management (Print Services Facility (PSF)) iPrint January 13, 2009 Slide 32 Advanced Function Presentation

iPrint January 13, 2009 Slide 33 AFP Print Driver a printer driver used to produce AFP output from PC applications print PC documents on high-speed AFP system printers produce electronic forms using your favorite PC application create signatures and logos from existing or newly-scanned sources

iPrint January 13, 2009 Slide 34 Creating Overlays

iPrint January 13, 2009 Slide 35 Creating Overlays

iPrint January 13, 2009 Slide 36 Creating Overlays

iPrint January 13, 2009 Slide 37 Creating Overlays

CRTPF FILE(ASCC/OVERLAYS) RCDLEN(32766) TEXT('File for transfer for AFP resources') LVLCHK(*NO) CPYFRMPCD FROMFLR(EJWEING) TOFILE(ASCC/OVERLAYS) FROMDOC(ASCCPO.OVL) TRNTBL(*NONE) TOMBR(ASCCPO) CRTOVL OLY(ASCC/PO) FILE(ASCC/OVERLAYS) MBR(ASCCPO) TEXT('Coffee Shop Invoice')

iPrint January 13, 2009 Slide 38 Using Overlays

PGM OVRPRTF FILE(PO) FRONTOVL(ASCC.PO) CALL POPRINT ENDPGM

Or in DDS PRTF, the OVERLAY keyword OVERLAY(MYLIB/OVL04 1.234 14.62) OVERLAY(&LIB2/&OVL2 &POSD2 &POSA2 + (*ROTATION 90))

iPrint January 13, 2009 Slide 39 Murphy's Law Russell's Rule

Don't worry about avoiding temptation - As you grow older, it starts avoiding you.

iPrint January 13, 2009 Slide 40 PDFCreator Windows application for creating PDFs Installs as a Windows printer Displays this prompt Can SAVE or eMail the created file Uses your default email program iPrint January 13, 2009 Slide 41 EASY400 MMAIL utility i based mail utility program Maintains address book, distribution lists, etc Utilities to send simple messages, save files, source members and spool files. Can capture spool files from output queues and automatically email to different user's or groups. More at www.easy400.net iPrint January 13, 2009 Slide 42 IBM Infoprint Designer a fully-graphical document composition interface to the iSeries and AS/400 printing system Includes Overlay Editor Image Editor Layout Editor

iPrint January 13, 2009 Slide 43 IBM Infoprint Server PDF transform Store, print or email AFP transform Convert PCL PS PDF to AFPDS Convert PC images to AFPDS or PS Electronic burst and bind Intelligent routing And more... iPrint January 13, 2009 Slide 44 IBM Infoprint Server

iPrint January 13, 2009 Slide 45 Crass Commercial Message II AFP Setup and Configuration Advanced Systems / Computer Optionally, AS/CC will Consultants will reconfigure additional printers and determine printer capability create additional forms overlays review existing printer configurations change your current application to incorporate the AFP enhancements create new configurations to enable AFP functionality train your personnel on the creation of forms overlays and reconfiguration of using existing preprinted forms, printers. create forms overlays on your system i test overlay printing on reconfigured For more information, write printers [email protected] document configuration changes and overlay creation process

iPrint January 13, 2009 Slide 46 Murphy's Law Parker's Rule of Parliamentary Procedure

A motion to adjourn is always in order!

iPrint January 13, 2009 Slide 47