Subject: | |
From: | |
Reply To: | |
Date: | Fri, 5 Feb 1999 16:56:01 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
First, a great link for "Hewlett-Packard Laser and DeskJet Printer Escape
Code Sequences" can be found at: http://itsa.ucsf.edu/~rpb/hppcl.html
Second, good old FCOPY (w/o MI implications) has the ability to print to
slaved printers. This is a great method when working from home to get a
listing on a PC's printer. FCOPY FROM=SOURCEFL;TO=$HARD
<< BTW, does anyone know how the $ file names convention got started? I know
that the $oldpass & $newpass convention comes from IBM JCL. >>
A great performance hint: OCTCOMP and ALLOCATE fcopy!
Third, attached are some COBOL examples for coding of printer escape
sequences.
TGIF (from Ohio)
Mike Hornsby
01 SETUP-REC.
03 BASE-SETUP.
05 FILLER PIC X VALUE %33.
05 FILLER PIC X VALUE "E".
05 FILLER PIC X VALUE %33.
05 FILLER PIC X(4) VALUE "&l1O".
05 FILLER PIC X VALUE %33.
05 FILLER PIC X(4) VALUE "&k2S".
05 FILLER PIC X VALUE %33.
05 FILLER PIC X(4) VALUE "&l0L".
05 FILLER PIC X VALUE %33.
05 FILLER PIC X(4) VALUE "&l5C".
05 FILLER PIC X VALUE %33.
05 FILLER PIC X(4) VALUE "&k6H".
05 FILLER PIC X VALUE %33.
05 FILLER PIC X(4) VALUE "&a0L".
05 FILLER PIC X VALUE %33.
05 FILLER PIC X(4) VALUE "&l3E".
05 FILLER PIC X VALUE %33.
05 FILLER PIC X(4) VALUE "&a0R".
05 FILLER PIC X VALUE %33.
05 FILLER PIC X(4) VALUE "(s3B".
03 DUPLEX-SETUP.
05 FILLER PIC X VALUE %33.
05 FILLER PIC X(4) VALUE "&l1S".
-----Original Message-----
From: [log in to unmask] <[log in to unmask]>
To: [log in to unmask] <[log in to unmask]>
Date: Friday, February 05, 1999 4:37 PM
Subject: Escape Sequences
>First I want to say thanks to everyone who has been so helpful to me in the
>past - You guys/gals are great!
>
>I need to know how to enter escape sequences to control the printer output
>from a Cobol or Transact program. First, let me tell you, I don't know how
to
>issue escape sequence commands at all, next I need to issue commands that
will
>compress the print to HP deskjets or laser printers. These printers are
>spooled but are slaved to the PC, so I need to know how to turn on the log
>bottom function as well.
>
>Is there a place, book, etc., that explains all the escape sequences
>available? And can someone explain how to enter these perplexing things?
>
>Thanks in advance for all the support,
>Gordon Wong
>
>PS - How do I get on the mailing list of the hp3000-raven.utc.edu, so that
I
>too can recieve email messages??
>
>My humblest apologies for my HP ignorance!
|
|
|