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

Mixing PCL and PostScript

Mixing PCL and PostScript

Mixing PCL and PostScript


I need to write code that gets a PostScript file and appends some code that it says "Released: <date>" (where <date> is today's date) on the corner of the page.

At first I thought I could get PJL to do it with a LabelString but it doesn't seem to be supported with our printers. So instead I'm using PCL to do it. I can get it to print text vertically and I can get it to print the PostScript drawing but it prints them out one at a time, that is, the printer prints a page with the text generated by the PCL code and then prints another page with the PostScript code. What do I do to put them together?

This is what my code looks like so far:


@PJL JOB NAME="PostScript_04-28-06"
Hello WorldE%-12345X@PJL
%%Creator: System Development PostScript Output Library
%%Copyright: System Development, Inc., All rights reserved
%%BoundingBox: 62 12 549 779
%%BeginProcSet: SDI_PS_Functions
/d{def}bind def/b{bind}bind d/bd{b d}b d/x{exch}bd/dp

/t{true}bd/f{false}bd/xd{x d}bd/r{roll}bd/c{copy}bd/i


... post script ...

458.033 80.246 458.723 79.541 458.033 78.85 457.327 79.541

458.033 80.246
4 M
gr sp

- ken

RE: Mixing PCL and PostScript

Q. What do I do to put them together?

A. You can't; you can't mix page description languages on the same sheet.

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