Frank
Your getting me real close. The green, and purple seem to work.
The Blue looks like purple -- seems a little weird. I tried a
MS Word and blue is blue... so I'm not out of ink.
Red kills the printer with all the lights flashing - YUK...
You have me curious. What are the Stcolor and dfcolor for?
Where exactly did you get this info. I looked again at HP's site
and don't see this anywhere... I have done many searches and
checked out a ton of links through HP's search engine..
Any more help greatly appreciated
Jim Limburg
Frank Conroy wrote:
>
> Jim,
>
> We have been printing color reports since HP made the first DeskJet 800's
> Heres how I do it from a DOS report
>
> define the following printer control codes
>
> Stcolor = <027 042 114 045 052 085>
> dfcolor = <027 042 118 053 050 083>
> Redcolor = <027 042 114 052 085>
> grncolor = <027 042 118 053 056 083>
> blkcolor= <027 042 118 053 049 083>
> blucolor = <027 042 118 053 053 048>
> purcolor = <027 042 118 053 053 052>
>
> now in your report when you want to change the color you must use the 3
> print codes in succession
> STcolor,dfcolor,redcolor as an example for Red printing. It will stay red
> until you put another color code in, say to print a line in red you would go
> stcolor,dfcolor,redcolor -------Text ---------
> stcolor,dfcolor,blkcolor
>
> There are more colors, You can get the Hex values from HP and then convert
> them to decimal.
>
> -- Frank
>
> Frank Conroy -- Systems Network Administrator
> F.J. O'Hara & Sons, Inc. Boston, MA
> [EMAIL PROTECTED] 617-790-3093
> ----- Original Message -----
> From: "Jim Limburg" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 26, 2001 2:44 PM
> Subject: Re: Color in DOS reports -- ????
>
> > Dan
> >
> > I have tried several things close to this. I converted your suggested
> > esc codes into:
> >
> > #Black <27 42 118 48 83>
> > #Red <27 42 118 49 83>
> > #Green <27 42 118 50 83>
> > #Yellow <27 42 118 51 83>
> > #Blue <27 42 118 52 83>
> > #Magenta <27 42 118 53 83>
> > #Cyan <27 42 118 54 83>
> >
> > This did not work for the HP Deskjet 895Cse.. I get nothing but a
> > blank page now...
> >
> > B2TDB -- Back To The Drawing Board
> >
> > Thanks anyway
> > Jim Limburg
> >
> > Dan Goldberg wrote:
> > >
> > > You can add esc codes in the prd file for that printer. Here is some for
> hp
> > > printers.
> > >
> > > Esc*v0SBlack
> > >
> > > Esc*v1SRed
> > >
> > > Esc*v2SGreen
> > >
> > > Esc*v3SYellow
> > >
> > > Esc*v4SBlue
> > >
> > > Esc*v5SMagenta
> > >
> > > Esc*v6SCyan
> > >
> > > You will need to convert them to work.
> > >
> > > Dan
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > > Behalf Of Jim Limburg
> > > Sent: Thursday, July 26, 2001 7:23 AM
> > > To: RBase Listserv
> > > Subject: Color in DOS reports -- ????
> > >
> > > G-Day all
> > >
> > > I have attempting to look at changing the color of a
> > > report in DOS6.0a... Is this possible?
> > > I only want to change the Color of the text of the
> > > header.
> > > If not in DOS6.0a.. can it be done it DOS6.5++
> > >
> > > Jim Limburg
> >