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

PCL??? I Think.

PCL??? I Think.

PCL??? I Think.

Hi Everyone, I have this file that starts with the following code:


I think it's PCL, but I'm not sure. I do not know what the arrows are.  I'm guessing they are PCL escape sequences, but my printer does not recognize them.

The file was generated from an application on a UNIX platform then FTP'd to me on a Windows platform.

It is not printing the file correctly. It only is printing the first line and some of the second line.

Please help...

Here is a sample of the original file:


                                    MYFAKE MEDICAL CENTER
                                   1234 EAST FIRST STREET
                                    WARWICK, RI 02601
     A.J. FAKENAME, M.D.            R.G. NOBODY, M.D.           D.J. DOE, M.D.
    NAME: PAN,PETE                                     DR:                                         
    MR#: 001234                                 LOC: ICU           AGE: 36Y   SEX: M
    ACCT#: 1111111111                           SS#: 999-99-9999    ADMIT DATE  07/18/2011

(s13.6H       H30121 COLL: 07/17/2011 13:45 REC: 07/17/2011 17:02 PHYS: BEAR,TEDDY A.

       VANCOMYCIN TROUGH             
         VANCOMYCIN TROUGH             (s0B&d@(s0S
                                 18.9(s0B&d@(s0S                UG/ML              (s0B&d@(s0S
         DOSE                    UNKNOWN(s0B&d@(s0S                                (s0B&d@(s0S

       H30182 COLL: 07/17/2011 16:16 REC: 07/17/2011 18:17 PHYS: BEAR,TEDDY A.

       VANCOMYCIN PEAK           26.8(s0B&d@(s0S                UG/ML              STAT(s0B&d@(s0S

    07/18/2011                                                    NAME: PAN,PETE         
    10:04                                      PAGE: 1            MR#: 001234     DOB: 07/18/1974
    INTERIM REPORT                                                ADMIT DATE: 07/18/2011




RE: PCL??? I Think.

Somewhere between the Unix box and the printer on the DOS box the escape chr; i,e,, chr(27) has been transformed into something else. I see it here as a small box. Perhaps your ftp was not set to binary mode for the transfer. Thus the print codes are simply being printed as text rather than being interpreted by the printer.

What kind of print command are you using on the DOS side?

Jim Asman

RE: PCL??? I Think.

The most important question is what kind of printer are you trying to print on?  Does it even support PCL5?  Note that PCL6 is a whole 'nuther language.

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