Problem solve Get help with specific problems with your technologies, process and projects.

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

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.


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.

This was last published in May 2001

Dig Deeper on iSeries CL programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.