Quantcast
Viewing all articles
Browse latest Browse all 6647

RGB Text in PCL5

I'm trying to print arbitrary color text on a PCL5 printer, but am not having much luck.

 

Every example and document only describes how to do "simple color" (*r3U) text; I'd like to be able to do RGB colors.

 

I have managed to use CID (*v#W) *PLUS* the pallet config parameters (*v#a#b#c#I) and it works beautifully... but it seems like I'm missing something easy to not have to define 16M colors at the start of every document...

 

Does the direct-index thing (*v6W[2][3][0][8][8][8]) ONLY work on graphics, leaving us to have to define every text color before using it if it isn't in the simple color list?

 

To be clear, I'm doing (*v#S) to set foreground color, and I do *GET* color, depending on what options I choose for *v#W, but they are FAR from the RGB colors I am expecting them to be (mostly blue, black, red, white for RGB and yellow, cyan, grey, and black for CYMK pallets).

 

TIA!


Viewing all articles
Browse latest Browse all 6647

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>