Color Printing problem

Richard Kreiss rkreiss at gccconsulting.net
Fri Feb 17 21:57:01 PST 2017


Thanks J.P.

Jim Asman has been working with me on this issue. It appears that the HP-2500 print code table is the one to use as the hp-8xx prints nothing.

I modified my code and output format to handle the color change.  Tabs need to be set to insure everything lines up properly for the amount field.

It took a bit of experimenting and checking the pcl file Jim sent me.  By comparing his codes in his PCL file with the codes in mine, I was able to see where I was making mistakes.

Just a tip to those of you printing to an inkjet printer.  Apparently there are 2 type of black.  One is composite black using multiple inks to print black.  Then there is, As Jim calls it, "True black" - that's the one which uses just the black ink cartridge.  Take a look at the coding for True black and the composite Black and note the difference.  You might want to consider using this print code as part of your inkjet reports or forms.  I am not sure what version of black is the native black - printing from other than filePro. (no direct PCL output).


Richard Kreiss
GCC Consulting



> -----Original Message-----
> From: Filepro-list [mailto:filepro-list-
> bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of Jean-Pierre
> Radley via Filepro-list
> Sent: Friday, February 17, 2017 4:02 PM
> To: filePro Mailing List <filepro-list at lists.celestial.com>
> Subject: Re: Color Printing problem
> 
> Richard Kreiss averred (on Wed, Feb 15, 2017 at 10:25:12PM +0000):
> | Purchased an HP 7740 OfficeJet Multifunction Printer.
> |
> | The Print drive seemed to indicate that this was PCL-3 compatible -
> | Drive Name HP OfficeJet 7740 series PCL-3
> |
> | filePro could not print to this printer even though the print job went to the
> spooler and disappeared from the listing.
> |
> | I printed out the Printer Test page which indicated it was using the
> | above print driver Data Format: RAW Print Processor: winprint (seems
> | to indicate this driver might as well be PCL-6) Drive type: Type 4 -
> | user mode
> |
> | I then tried using the universal PCL5 print driver and that didn't work at all.  The
> test page printed out "junk"
> |
> | I then installed the HP OfficeJet 7400 print driver.  This worked and filePro
> could print to the printer.
> | Print Processor: hpzppwn7
> | Drive Type: Type3 - user mode
> |
> | Where my problem is, I have a report where I would like credit
> balances(negative numbers) to print in red.
> |
> |
> | 1.      I am not sure which of the print tables to use for this printer.  I have tried
> HP-8XX and HP-2500 tables.
> |
> | 2.      I am using the following programming to change the color from black to
> red but it doesn't work.  The field is either blanked or still prints black.
> |
> | ::Ec(1,*,g)=chr("27")
> | ::Am(len(5),edit(5))=5
> | : 5 lt ".00":qq(8,rj)=ec{"*r-3u"<ec{"v6S{am{ec{"r1u"{ec"*v1S" (using
> | the HP-2500 print table
> | : 5 lt ".00":qq(8,rj)=ec{*v12S{am{ec{"v1S" (using the HP-8xx print
> | table
> |
> | In both cases I don't get the negative number in red.
> |
> | What am I doing wrong?
> |
> | Richard Kreiss
> 
> As has twice been pointed out, qq is MUCH too small.
> 
> The 8XX color codes take up 7 (black) or 8 (red) characters, and the color codes
> in the 2500 table each use 11 characters. Do NOT include a space after the
> ESCape, i.e. use '{' where you have '<'. Then, I dare say, your dollar variable,
> field 5, takes up more than zero characters.
> 
> Simplify the code, don't bother with field am, just use field 5.
> I don't think you need to give qq a specific length at all.
> 
> You must NOT change the case of PCL commands.  If the table has the sequence
> "3U", do NOT change it to "3u".  PCL3 commamnds know they're at the end of
> their sequence when they hit a capital letter.
> 
> I print color from filePro using thc shorter sequences.  I don't see what the
> <esc>*r-3U command does for you.  It's described in PCL3 reference guides as
> "simple color (3 plane)", and I have no idea what that mens.
> 
> 
> --
> JP
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 12871 bytes
Desc: not available
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20170218/39e6627a/attachment.bin>


More information about the Filepro-list mailing list