Printing Reversed (white on black) text

Hi

We have a system (Progress 9.1D) that creates A4 despatch note files (.prn) that can then be printed on PCL 6 compatible HP Printers

I've got to make a change that involves creating some white text on a black box. The text will be the parcel force routing codes so it will be different per despatch.

For what seems to be a simple task I've been going round in circles for days!

I've attached my latest attempt which uses some PCL 5 code I found but all it does is print the control codes out so I'm clearly doing something wrong.

Any help appreciated or if you have an example of doing something similar that would be great.

Many Thanks
Ian


AttachmentSize
anotherBoxAttempt.p2.89 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Solution

We finally found out that the problem was with a stand alone VB6 program that pre views the .prn file and is then used to send the file to the printer. The VB6 program didn't handle the printer control codes used for transparency and opaque. Once that was amended (after relearning VB6!) we were able to make progress with the original control codes. Thanks for all the replies.


Printing With PCL

Not sure why you have all the pre-defines in there, but I presume you have your reasons. From the excerpt provided, they don't seem to be providing much. I noticed that you have
RESET_PRINTER {&CONTROL} "~033E". defined before
&SCOPED-DEFINE CONTROL {&STREAM} CONTROL,

upon which it relies. Perhaps that is related? Have you tried simplifying this code to use hard-coded "PUT CONTROL" commands?


Thanks for replying. The

Thanks for replying.

The pre-defines are just there because they've been copied from the original program. I've tried switching them around and then removing them and using hard coded commands but no difference in results.


Reverse Printing

Ok, so, if these are Windows clients that are printing directly to the printers (vs. printing from a non-Windows server session), have you added the -Wa -wpp parameters to the prowin command line?