Frank
More testing and now some success. I did not get things to work out
real well on the 895Cse printer, so I started using the 960c which
was what the user was likely to use anyway and used the following
codes and all works fine.
#Stcolor = <027 042 114 045 052 085>
#dfcolor = <027 042 118 053 050 083>
#Redcolor = <027 042 118 049 050 083>
#grncolor = <027 042 118 049 048 083>
#blkcolor= <027 042 118 049 052 083>
#blucolor = <027 042 118 054 083>
#yelcolor = <027 042 118 056 083>
#magcolor = <027 042 118 052 083>
#cyacolor = <027 042 118 050 083>
I would still like to understand more about this though. From
what I researched lately, having never been down this road, I
see where the StColor tells it to use the KCMY pallete. I can't
find any reference for the codes you present as:
dfcolor = <027 042 118 053 050 083>
I was wondering why you don't have to tell it to start and end
the Raster graphics. Does RBase use Raster as the default or ??
#start_raster = <027 042 114 048 065>
#end_raster = <027 042 114 067>
Just a thought or two.
Thanks to Troy, Dennis, Rich, Ron, Dan, and Frank for sure
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
> >