iPrintJanuary 13, 2009 Slide 1
i Print[ therefore i AM ]
An Introduction to AS/400Network Printing &
How can it work for me?
iPrintJanuary 13, 2009 Slide 2
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
iPrintJanuary 13, 2009 Slide 3
IBM ConferencesIBM Lotusphere 2009
January 18-22 Orlando FL
IMPACT 2009 (Websphere & SOA)May 3 – 8 Las Vegas
IBM Rational Software ConferenceMay 31 – June 4 Orlando FL
IBM System Storage and Storage Networking SymposiumIBM System x and BladeCenter Technical Conference
September 8-12 Chicago IL
IBM Power Systems Technical University September 21-25 Orlando FL
iPrintJanuary 13, 2009 Slide 4
AgendaA Brief History [How did we get here??]Concepts [What's a network, anyway?]Whose Printers? [just about anybodies]Configuration ExamplesAdvanced Function Printing
Overlay and page segment creationElectronic Distribution
Email reports and create PDF's
iPrintJanuary 13, 2009 Slide 5
Murphy's LawJone's Law
The man who can smile when things go wrong has thought of someone he can blame it on
iPrintJanuary 13, 2009 Slide 6
In the BeginningTwinax and PC Connect (Print Data Transform PDT)
Remote Systems
Mainframes, AS/400s & PSF/2TCP/IP LPR & LPD
Remote Outq's and Writer'sLittle control
Host Print Transform (HPT)
LAN Printing and SNMP
Regained controlInternet Printing Protocol and much more....
iPrintJanuary 13, 2009 Slide 7
What's a Network?A way to connectA Collection of Systems and ServicesA Secured Work EnvironmentAnything you want it to be
Typically starts with ethernetCan be multiple locationsCan use the internet
iPrintJanuary 13, 2009 Slide 8
What is a Network Printer?Any printer that connects
Usually by ethernetSometimes to a PC with USB or parallelCan be wirelessCan be part of a special device
Label printerBarcode scanner / printerCash Register
iPrintJanuary 13, 2009 Slide 9
Different LanguagesEBCDIC vs ASCIISCS / IPDS vs PCL / Postscript / etcPrinter Data Transform
Used in iSeries Access on the PCTranslated on the PC
Host Print TransformRuns on the i
iPrintJanuary 13, 2009 Slide 10
Chose Your PrinterEthernet, USB, parallel, wirelessTCP/IPLaser, inkjet, multifunction, thermalIPDS, SCS, HP PCL, Postscript compatibleWorkstation customization objects
Anything you're willing to program
iPrintJanuary 13, 2009 Slide 11
Choose Your Configuration
IPDS / SCSLine Printer Daemon (LPD)Printer Job Language (PJL &PCL)Simple Network Mgmt Protocol (SNMP)Internet Print Protocol
iPrintJanuary 13, 2009 Slide 12
Murphy's LawLevin's Law
Following the rules will not get the job done.
Corollay
Getting the job done is no excuse for not following the rules.
iPrintJanuary 13, 2009 Slide 13
IPDS Configuration SampleCreate Device Desc (Printer) (CRTDEVPRT)Device description . . . . . . . > PRT01Device class . . . . . . . . . . > *LANDevice type . . . . . . . . . . > *IPDSDevice model . . . . . . . . . . > 0LAN attachment . . . . . . . . . *IPAdvanced function printing . . . *YESPort number . . . . . . . . . . 5001Online at IPL . . . . . . . . . *YESFont:Identifier . . . . . . . . . . > 11 Point size . . . . . . . . . . *NONEForm feed . . . . . . . . . . . *AUTOCUTSeparator drawer . . . . . . . . *FILESeparator program . . . . . . . *NONEPrinter error message . . . . . *INQMaximum pending request . . . . 6Print while converting . . . . . *YESPrint request timer . . . . . . *NOMAXForm definition . . . . . . . . F1C10110 Remote location:Name or address '9.99.99.99'
iPrintJanuary 13, 2009 Slide 14
PJL Configuration SampleCreate Device Desc (Printer) (CRTDEVPRT)Device description . . . . . . . > PRT01Device class . . . . . . . . . . > *LANDevice type . . . . . . . . . . > 3812Device model . . . . . . . . . . > 1LAN attachment . . . . . . . . . *IPAdvanced function printing . . . *YESPort number . . . . . . . . . . 9100Online at IPL . . . . . . . . . *YESFont:Identifier . . . . . . . . . . > 11 Point size . . . . . . . . . . *NONEForm feed . . . . . . . . . . . *AUTOCUTSeparator drawer . . . . . . . . *FILESeparator program . . . . . . . *NONEPrinter error message . . . . . *INQActivation timer . . . . . . . . 170Inactivity timer . . . . . . . . *SEC15Inactivity timer . . . . . . . . *ATTACHType of parity . . . . . . . . . > *NONEHost print transform . . . . . . *YESManufacturer type and model . . *IBM4317Name or address '9.99.99.99'
iPrintJanuary 13, 2009 Slide 15
SNMP Configuration SampleCreate Device Desc (Printer) (CRTDEVPRT)Device description . . . . . . . > PRT01Device class . . . . . . . . . . > *LANDevice type . . . . . . . . . . > 3812Device model . . . . . . . . . . > 1LAN attachment . . . . . . . . . *IPAdvanced function printing . . . *YESPort number . . . . . . . . . . 9100Online at IPL . . . . . . . . . *YESFont:Identifier . . . . . . . . . . > 11 Point size . . . . . . . . . . *NONEForm feed . . . . . . . . . . . *AUTOCUTSeparator drawer . . . . . . . . *FILESeparator program . . . . . . . *NONEPrinter error message . . . . . *INQActivation timer . . . . . . . . 170...User-defined options . . . . . . *IBMSHRCNNSystem driver program . . . . . *IBMSNMPDRV
iPrintJanuary 13, 2009 Slide 16
IPP Configuration SampleCreate Device Desc (Printer) (CRTDEVPRT)Device description . . . . . . . > PRT01Device class . . . . . . . . . . > *LANDevice type . . . . . . . . . . > 3812Device model . . . . . . . . . . > 1LAN attachment . . . . . . . . . *IPAdvanced function printing . . . *YESPort number . . . . . . . . . . 631Online at IPL . . . . . . . . . *YESFont:Identifier . . . . . . . . . . > 11 Point size . . . . . . . . . . *NONEForm feed . . . . . . . . . . . *AUTOCUTSeparator drawer . . . . . . . . *FILESeparator program . . . . . . . *NONEPrinter error message . . . . . *INQActivation timer . . . . . . . . 170...Remote location: Name or address . . . . . . . > 'http://9.5.208.29:631/'System driver program . . . . . *IBMIPPPDRV
iPrintJanuary 13, 2009 Slide 17
Murphy's LawOwen's Law
If you are good, you will be assigned all the work.
If you are really good, you will get out of it.
iPrintJanuary 13, 2009 Slide 20
Host Print TransformCreate Device Desc (Printer) (CRTDEVPRT)Device description . . . . . . . > PRT01Device class . . . . . . . . . . > *LANDevice type . . . . . . . . . . > 3812Device model . . . . . . . . . . > 1LAN attachment . . . . . . . . . *IPAdvanced function printing . . . *YESPort number . . . . . . . . . . 631Online at IPL . . . . . . . . . *YES...Host print transform . . . . . . *YESManufacturer type and model . . IBM4317 [F4 for list of printers*]Paper source 1 . . . . . . . . . *A4Paper source 2 . . . . . . . . . *A4 Envelope source . . . . . . . . *C5ASCII code page 899 support . . *NO
*WSCST allows you to “define” your own printer data stream using workstationCustomizing Objects.
iPrintJanuary 13, 2009 Slide 22
Image Print TransformCreate Device Desc (Printer) (CRTDEVPRT)Device description . . . . . . . > PRT01Device class . . . . . . . . . . > *LANDevice type . . . . . . . . . . > 3812Device model . . . . . . . . . . > 1LAN attachment . . . . . . . . . *IPAdvanced function printing . . . *YES...Host print transform . . . . . . *YESManufacturer type and model . . IBM4317Paper source 1 . . . . . . . . . *A4Paper source 2 . . . . . . . . . *A4 Envelope source . . . . . . . . *C5ASCII code page 899 support . . *NOImage configuration . . . . . : *IMGA02 [F4 for list of image configs]
iPrintJanuary 13, 2009 Slide 23
Murphy's LawDoane's First Law of Procrastination
The more proficient one is at procrastination, the less proficient one needs to be at all else.
iPrintJanuary 13, 2009 Slide 24
i Print Serveri also functions as a Network Print Server
any printer defined to ican use SCS, IPDS, HP-PCL, Postcript, etctransforms done at the PC with print driverssome transforms possible on iUses NetServer or TCP/IP LPD server
iPrintJanuary 13, 2009 Slide 25
NetServer SetupName the shared resource
Identify the output queue and library
Spool File Type
User ASCIISCSAFPDS
Optionally
Printer File, Driver Description
iPrintJanuary 13, 2009 Slide 31
Murphy's LawFirst Law of Debate
Never argue with a fool.People might not know the difference.
iPrintJanuary 13, 2009 Slide 32
Advanced Function Presentationan architecture using a wide range of functions to provide capabilities such as print formatting, viewing, and archiving
IncludesAFP data stream (AFPDS)AFP resources (overlay, page segment, fonts, formatting definitions)Print management (Print Services Facility (PSF))
iPrintJanuary 13, 2009 Slide 34
AFP Print Drivera printer driver used to produce AFP output from PC applicationsprint PC documents on high-speed AFP system printersproduce electronic forms using your favorite PC applicationcreate signatures and logos from existing or newly-scanned sources
iPrintJanuary 13, 2009 Slide 38
Creating OverlaysCRTPF 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')
iPrintJanuary 13, 2009 Slide 39
Using OverlaysPGM
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))
iPrintJanuary 13, 2009 Slide 40
Murphy's LawRussell's Rule
Don't worry about avoiding temptation -As you grow older, it starts avoiding you.
iPrintJanuary 13, 2009 Slide 41
PDFCreatorWindows application for creating PDFs Installs as a Windows printerDisplays this promptCan SAVE or eMail the created fileUses your default email program
iPrintJanuary 13, 2009 Slide 42
EASY400 MMAIL utilityi based mail utility programMaintains address book, distribution lists, etcUtilities 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
iPrintJanuary 13, 2009 Slide 43
IBM Infoprint Designera fully-graphical document composition interface to the iSeries and AS/400 printing systemIncludes
Overlay EditorImage EditorLayout Editor
iPrintJanuary 13, 2009 Slide 44
IBM Infoprint ServerPDF transform
Store, print or emailAFP transformConvert PCL PS PDF to AFPDSConvert PC images to AFPDS or PSElectronic burst and bindIntelligent routingAnd more...
iPrintJanuary 13, 2009 Slide 46
Crass Commercial Message IIAFP Setup and Configuration
Advanced Systems / Computer Consultants will
determine printer capability
review existing printer configurations
create new configurations to enable AFP functionality
using existing preprinted forms, create forms overlays on your system i
test overlay printing on reconfigured printers
document configuration changes and overlay creation process
Optionally, AS/CC will
reconfigure additional printers and create additional forms overlays
change your current application to incorporate the AFP enhancements
train your personnel on the creation of forms overlays and reconfiguration of printers.
For more information, write