Ask the Expert

Why is my printer printing in the wrong mode?

We are using HP Laserjet printers on TCP/IP for printing our iSeries 400 reports through the printer files. By default it prints in landscape mode. We have a requirement to print in portrait mode (80 columns wide) for some reports.

You Can View User Feedback To This Q&A

This is most likely due to your print file settings. The default on the CRTPRTF command is to create a print file with a width of 132 characters. The HP Laserjets will print in landscape mode a file defined as 132 characters in width, regardless of how much is used. Use either the CHGPRTF or CRTPRTF commands to specify a width of 80 characters on your print file and you should be printing in portrait mode. If you are still not printing in a portrait mode, check the options on your HP printer menu.

USER FEEDBACK:

  • Try 122 chars if you're doing compressed print (CPI-15). George P Duda
  • I think most laser printer configurations use a PAGRTT (page rotate) parameter of *AUTO or *COR (computer output reduction) to force-fit their output on an 8 1/2" x 11" page. When you have a short-width print output and want it to print full-size, the default still assumes that it should be size-reduced and rotated anyway. Rather than change the print file, which sometimes is a generic name and affects a wide variety of output for which I do want the default, I have usually had luck with most laser printer setups when I do an OVRPRTF with PAGRTT(0), setting the rotation to zero, which also seems to abort the *COR shrinking, and gives me the portrait output I want in those cases. Linda Ireland

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

The Best Web Links: tips, tutorials and more.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

This was first published in April 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: