INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

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.

Jobs

PJL with PCL or PS file question

PJL with PCL or PS file question

(OP)
In PJL is it possible to switch languages based on what the printer supports.

i.e. I add both PCL and PS code to the print file and the printer decides. I won't know what it supports as it's used on multiple printers some PS and some PCL.

is it possible with a command??? thanks.


below sends two jobs:-

<ESC>%–12345X@PJL <CR><LF>
@PJL COMMENT ** Beginning PCL Job ** <CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
@PJL SET LPARM : PCL SYMSET = DESKTOP <CR><LF>
<ESC>E . . . . PCL job . . . .<ESC>E
~<ESC>%–12345X@PJL COMMENT End PCL <CR><LF>
@PJL COMMENT Ready for PostScript Job <CR><LF>
@PJL ENTER LANGUAGE = POSTSCRIPT <CR><LF>
%!PS-ADOBE ... PostScript print job ... ^D
~<ESC>%–12345X

RE: PJL with PCL or PS file question

The target printer must support the target Page Description Language which is specified in the @PJL ENTER LANGUAGE = xxx command, otherwise the effect is undefined.

... and you are of course assuming that the printer supports PJL (most LaserJet devices do, except perhaps for the cheaper 'host-based' or 'mobile' printers)

RE: PJL with PCL or PS file question

(OP)
but the problem is say I have 10 printers and ALL support PJL but some are postscript only and some are PCL only.

can I combine both print languages into one print job and let the printer decide which it supports with PJL?

RE: PJL with PCL or PS file question

>> ... can I combine both print languages into one print job and let the printer decide which it supports with PJL? ...

No.

You are effectively sending two print jobs.

Depending on which PDLs the printer supports you may get:
  • Both jobs printed - i.e. your data printed twice.
  • One job printed successfully; the other may cause garbage to be printed (perhaps over hundreds of pages), or may even cause the printer to fail, and (perhaps) automatically reboot.
  • Neither job printed successfully; again, what gets printed, etc. is somewhat undefined.

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!

Resources

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