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

Form Overlays in PCL XL?

Form Overlays in PCL XL?

Form Overlays in PCL XL?

Is it possible to do Form Overlays in PCL XL?  I know PCL XL doesn't support the same syntax of escape codes as PCL 5.  I was wondering if there is a PCL XL equivilant?

RE: Form Overlays in PCL XL?

The PCLXL equivalent of PCL5 macros is 'user-defined streams'. Describing how to use these is beyond a simple reply in the forum.

I suggest that you read up on 'user-defined streams' in the HP documentation (but it is a bit sparse, and does contain some errors!), and try using them.
Then, if you hit a particular problem which you can't resolve, post an update to this thread, posing the problem.

RE: Form Overlays in PCL XL?

I've had a bit more time to think about some simple rules: as a rough guide, to convert the output from a standard PCLXL driver to a 'user-defined stream' suitable for use as a macro equivalent, you will need to do, as a minimum:
  • Remove the UEL sequence.
  • Remove the PJL statements.
  • (Optionally) replace the original stream header with an alternative (e.g. different comment field).
  • Replace the BeginSession operator (and its preceding attribute list) with the equivalent SetPageScale operator, in order to maintain independence of user units between the overlay and the parent stream.
  • Ignore all other operators (and their preceding attribute lists) up to, and including, the first BeginPage operator (except perhaps for embedded font downloads, etc.).
  • Retain subsequent operators (and their preceding attribute lists) up to the first EndPage operator, except for SetPageDefaultCTM (which would upset, for example, binding margin settings made by the parent stream.
  • Remove the first EndPage operator (including its preceding attribute list), and all subsequent data.

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