Home > Ask the AS/400 Experts > Questions & Answers > Pagination is lost when printing reports
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Pagination is lost when printing reports

Ken Graap EXPERT RESPONSE FROM: Ken Graap

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 16 October 2001

I am using OpsNav to send AS/400 reports to users via e-mail using the following procedure: With both OpsNav and Explorer windows opened, I drag and drop selected reports to c:my temp files. The reports are then in .txt format on my C drive. I then attach that reportxxx.txt to an e-mail. The problem is when we print these reports the pagination is lost. Is there a better way to do this without losing the page format?


>

When you drag and drop a spool file to your desk top using OPS Nav all it does is a simple translation to a .TXT file. In order to maintain page breaks you would have to write a program that copies the spool file to a database file along with forms control characters:

*FCFC
Specifies that the first character of every record contains one of the ANSI forms control codes listed in the CL Reference manual.

And then read these control characters using this information to determine line spacing and page breaks.

Personally, I have not taken the time to develop a program like this because there are several software developers who have already done this. It is cheaper for me to spend a few bucks purchasing their software than to have my company pay me to develop something from scratch.

My personal choice is the spool manipulation products from Gumbo Software. The one I think you would find to be extremely useful is SpoolMail. Using their command interface, it is possible to e-mail a Spoolfile to a list of addresses in several different formats RTF, PDF and TIFF, not only TXT.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



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



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 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts