×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

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

Selecting bac 4 on a Lexmark T642 from Unix

Selecting bac 4 on a Lexmark T642 from Unix

Selecting bac 4 on a Lexmark T642 from Unix

(OP)
Anyone knows the PCL code to choose the bac 4 on the Lexmark T642 from a Unix system.
With esc &l4H I was able to select bac2
With esc &l5H I was able to select bac3
But I tried from &l1H to &l8H and was never able to select the right paper source. Bac 4 is the big cassette containing 2000 sheet.
This printer emulates PCL6.

Thanks.

RE: Selecting bac 4 on a Lexmark T642 from Unix

These are all PCL5 commands.

If it is truly a PCL6 printer without PCL5,
then you will have to get familiar with PCL6.

It would be VERY difficult in this context.

Perhaps DansDad will have a suggestion?



 

Jim Asman
http://www.spectracolorservices.com

RE: Selecting bac 4 on a Lexmark T642 from Unix

(OP)
Hi Jim,
The printer was also supporting PCL5 because I just found that I could use &l20G to get to high density back and it worked. I was able to select it.

I was going to write back a note that I found it but we were faster than me.

Thanks for your reply.

André

RE: Selecting bac 4 on a Lexmark T642 from Unix

As Jim indicates, if the printer were PCL6 only, then generating a PCL6 print stream is much harder than generating an equivalent one with PCL5.

[PCL6 is a highly structured language, using a binary post-fix notation, whilst PCL5 is an escape based system using (mainly) ASCII characters.]

However (as you have discovered) most (current) printers (except for the cheap 'host-based' ones) support both Page Description Languages.

I realise that you are trying to generate the print stream on a *n*x system - but do you have access to a Windows system?

If you do, install the relevant Windows PCL5 driver for the printer, and you may be able to discover the required PCL identifiers for the Paper Source ({esc}&l#H) and Output Bin ({esc}&l#G) escape sequences relevant to that printer model, as follows:


(a) If the driver follows the standard Windows driver model, the installation will probably have placed one or more .GPD files in the %WinDir%\System32\Spool\Drivers folder tree.

Examination (use NotePad) of these files (the names aren't necessarily obvious) may yield entries of the form:

CODE

    *Option: Tray5
    {
        *rcNameID: =IDS_TRAY5
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l9H"
        }
    }


(b) If that doesn't provide the answer, use the Windows driver to print ('to file') a small sample document, having first selected the required paper source and/or output bin via the driver Properties dialogue.

Then examine the generated print file to determine what PCL escape sequences (or PJL statements?) were used to select the tray/bin.

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