Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Problem of getting extra blank pages

Problem of getting extra blank pages

Problem of getting extra blank pages


I have a problem with a program, in which 2 extra blank pages are getting printed before the report starts printing. I am not sending any command explicitly to print blank pages. What may be the reason of this? What all commands can cause blank pages?


RE: Problem of getting extra blank pages

A formfeed (^L) is the only command that I know of that for sure will unconditionally print a blank page.

There are a few others that will cause a page eject, but these usuallly require printable data already exist it the printer. Page size, tray select.

Can you direct the output to a file and then look for clues?

Which printer? Which OS? Which program?

Jim Asman

RE: Problem of getting extra blank pages

I agree with Jim with one further suggestion- print to file and then open it in a hex editor, which will allow you see form feeds and other "invisible" characters. The form feed in Ascii is 0C hex, carriage returns are 0D and line feeds are 0A.

RE: Problem of getting extra blank pages

As Jim mentioned, the reset EscE (if I recall correctly)
will force a page eject but normally only if there is
data printed on the page. It might do it if you send
any command to the printer first (such as a font) but
I'm not sure about that. Normally the problem is getting
blank page(s) between pages which is usually the result of
going past the vertical printable area of the page. (for example trying to print too many lines) like printing to line 65 on a page that will only accept 64 lines.

RE: Problem of getting extra blank pages

Perhaps some PJL, or similar, statements are preceding the report, are not being recognised by the device, and are hence being 'printed' - but in the unprintable area at top?

As Jim Brown suggests, examination of a 'print to file' sample would be useful in determining the cause.

RE: Problem of getting extra blank pages

Hi All,

I am encountering this problem while dealing with an online program in CICS(Mainframe). Somebody please tell me how can I get the output report of an Online program into a file.

Thanking you,

RE: Problem of getting extra blank pages

You'll probably need to post in the CICS forum forum312, rather than this PCL one, to get an answer to your last question.

RE: Problem of getting extra blank pages

I don't know about CICS, but in output systems like JES you would change one of the control cards to output to say tape. You should speak to one of your CICS support guys or post in the CICS forum as suggested.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close