Home > Ask the AS/400 Experts > iSeries Application Development Questions & Answers > Is there a way to do both page breaks & overlays?
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Is there a way to do both page breaks & overlays?

Tim Granatir EXPERT RESPONSE FROM: Tim Granatir

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: 01 May 2001
Using CPYSPLF & CPYTOPCD or FTP gives me a .txt file that doesn't page break correctly brought into Word. Drag & Drop from Operations Navigator (CS Express on V4R4 400) or print to a Client Access Printer pointed at print-to-file PC printer page breaks, but it doesn't handle overlays like underlining, bolding, and print data substution. Do you have any advice on how to do both page breaks & overlays?

>

Assuming that this is a network printer:

Step 1. Configure your print server with an IP address.

Step 2. Give your printer a name by adding a host table entry. If you need to setup a net host table entry, they you can do that by typing GO CFGTCP and selecting option 10. If you plan to use LPD, then this would be the name and IP address of the PC that is attached to the network.

Step 3. Create your outq. This example shows how you would create an outq for an HP Laser Jet 4 printer.

 CRTOUTQ OUTQ(mylib/LASER1) RMTSYS('Laser1.yourdomain.com') RMTPRTQ('LASER1') CNNTYPE(*IP) DESTTYPE(*OTHER) TRANSFORM(*YES) MFRTYPMDL(*HP4)

The RMTSYS parameter is the name that you added to your host table entry in Step 2

Step 4. Start your output queue with the STRRMTWTR command.

Assuming that you are using LPD:

Step 1. Do steps 2 thru 4 listed above but in step 2 the IP address and name would be the name of your PC.

Step 2. Start your LPD printer program on your PC.

You will probably need to purchase this piece of software. There are two types of LPD programs that you will want to consider. If you have a printer that is natively supported by the AS/400, there are a lot of LPD programs to pick from. When I need to use LPD, I personally prefer and use the LPD program developed by Netmanage.

If you have a printer that is not natively supported by the AS/400 then your choices are more limited. The only LPD program that I've found in this category is from Mochasoft. The Mochasoft LPD also can handle basic printing but cannot handle Advanced Function Printing.


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



RELATED CONTENT
iSeries CL programming
Taking advantage of CL advancements, starting with V5R3
Checking in on your IBM i authorization lists
Running PHP open source applications: NOBODY needs authority
Simplify the process of converting a spool file from iSeries into an Excel spreadsheet
CL program for daily backups
An automated CL method of moving a query from AS/400 to Excel
Changing user password expiration
Eight steps for creating program documentation using AS/400 utilities
DAYSPAST CLLE program for AS/400: Compares object creation date with today's date
Advanced Job Scheduler help

iSeries Application Development
Monitoring escape messages and using RCVMSG for diagnostic messages
Listing contents of multiple FTP directories on AS/400
Chain operation error after converting RPG3 to ILE RPG (RPGIV)
Space offset X'0015FF00' or X'0000000000000000' is outside current limit for object QIGC2424C
Searching fields for values
iSeries application display subfiles with other program windows
Searching part of a name or address in AS/400
Passing parameters in an ILE RPG module
What's happening to my subfile?
What happening to my subfile?

RPG iSeries programming
Enhancing RPG with external SQL stored procedures
Introduction to SQLRPGLE on IBM i: Making a report
Making the most of RPG data handling on IBM i
IBM i shop boosts online sales with RPG-based Web platform
Migrating from RPG to EGL on IBM i
Allow access to data from a stored procedure result set using COBOL or RPG
EGL Rich UI on IBM i: Do you Dojo?
Programming for the Web on the IBM i, what is possible
A taste of COMMON: ILE, IBM releases, Web applications and new products
Documenting nested program structures on the AS/400

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Report Program Generator  (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



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