Home > Ask the AS/400 Experts > iSeries PC/Windows Connectivity Questions & Answers > How to print RPG output using iSeries Access
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

How to print RPG output using iSeries Access

>
QUESTION:
We are currently trying to print the output from a RPG program to an Aficio or RICOH Type 3045 laser jet printer. We are not trying to create form templates or print logos or anything fancy.

All we want is to print bigger and smaller letters in regular type, bold type, italic type, etc. as you would in an MS word document. I have set up an externally described print file using the RLU print file editor (my first time using RLU). My file is quite primitive with a simple To: and From: with numbers and the alphabet after it. I have selected - F18 (Record Keywords) and have manipulated the FONT keyword to "Courier15" or "Courier6" – leaving the Point Size Height and width blank, as it seems to cause an error. The file type is AFPDS. The DDS compiles clean and this is the result of my clean DDS:

 

 *************** Beginning of data ***************************************************

     A*%%***********************************************************************

     A*%%TS  RD  20090122  113336  OREILLYJ    REL-V5R4M0  5722-WDS

     A*%%FI+30660100000000000000000000000000000000000000000000000000

     A*%%FI       0000000000000000000000000000000000000000000000000

     A*%%***********************************************************************

     A                                      INDARA

     A          R HEADER

     A*%%***********************************************************************

     A*%%RI 00000

     A*%%FS 004

     A*%%***********************************************************************

     A                                      SKIPB(005)

     A                                      FONT(COURIER6)

     A                                     5

     A                                      'TO:'

     A            TONAME        30        50

     A                                      CHRSIZ(3.0 3.0)

     A*%%***********************************************************************

     A*%%SS

     A*%%***********************************************************************

     A          R HEADER1

     A*%%***********************************************************************

     A*%%RI 00000

     A*%%FS 001

     A*%%***********************************************************************

     A                                      SPACEB(002)

     A                                      FONT(COURIER15)

     A                                     5

     A                                      'AT:'

     A                                      FONT(TIMESNEWRM)

     A            ATLOC         30        50

     A                                      CHRSIZ(1.0 1.0)

     A*%%***********************************************************************

     A*%%SS

     A*%%CP+999CRTPRTF

     A*%%CP+    FILE(PCNEWLOD/FAX005PRT)

     A*%%CP+    DEVTYPE(*AFPDS)

     A*%%CP     PAGESIZE(*N       132      *N     )

     A*%%***********************************************************************

When I try to print, no matter what I change the font sizes to I get two lines of the same size characters and font type. I go into iSeries Access for Windows > Emulator > Start or configure session > Click on Create New Session. Select Printer under "Type of Emulation" > Click Setup to get to the PC5250 Printer Emulation Setup screen > Click the box fro transfer iSeries data to ASCII > select RICOHAP3045 under printer type. I was not sure what to put under "Customizing Object" and "Library", so I selected AFPDS which is the type of DDS file I am using and the library of PCNEWLOD, which is the library where our source RPG and DDS files are stored.

Am I Missing something? Is there a step that I am not performing?



RELATED CONTENT
iSeries PC/Windows Connectivity
How to view source files in the library
User being locked out by Windows share on iSeries
Incorrect CCSID on FTP connection from AS/400 to Windows
Blocking AS/400 DB2 users
Trouble accessing IFS path from Win2k3 server
How to use an API for adding users to EIM SSO implemenation
Remove character limits from domain or users on RMTUSER
Generically send a text file from the IFS via FTP
Send parameters correctly to the browser when creating a PHP page
Automate Client Access to find files on Windows scheduler

iSeries Access (Client Access)
Modern System i reports using Client Access
Automate Client Access to find files on Windows scheduler
Saving multiple sessions on IBM iSeries Client Access when using Vista
Running a job on the iSeries after it has been transferred to a PC
SQL7008 error in iSeries Access and journals
Converting and transferring AS/400 packed decimal fields to ASCII systems
Copying the spool file stream to IFS
How to: Transfer unlimited data to Excel from AS/400
The iSeries and MS Office make good partners
Microsoft computing: Integrating the iSeries and Microsoft Office

Printing on iSeries
How to: Code the parameters for API QUSRSPLA
Bundling multiple one-page reports from IBM i into single document
Printing from the iSeries
Acknowledging control characters in a print file on IBM i without writing a program
Direct default print job to tray 2 from IBM i
Set up a HP Deskjet 6988 with a built-in internal NIC as a stand-alone printer
Solve printing problems when using Personal Communications 5.7
Determine printing options available for preprinted medical forms
Messages and spool hanging up SAVLIB jobs when OUTPUT(*PRINT) is specified
Using AFPRSC to print .jpg or .pdf files from the IFS on AS/400
Printing on iSeries Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Advanced Function Printing  (Search400.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


Shahar Mor EXPERT RESPONSE FROM: Shahar Mor

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site
ANSWERED January 2009:
You can use either work station customize object or printer type but not both. My best guess would be to use an HP compatible printer.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2010, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts