On Sat, 23 Feb 2008, [EMAIL PROTECTED] wrote:

> >I have posted this in CDP once and got the enclosed answer. 
> >According to the manual that was quoted, it should be working, but 
> >it is not. I am using a Dell 3110cn Color laser printer. We are 
> >printing from Universe with a Windows 2003 server using the windows 
> >generic text driver. I do get output, but it's always in gray scale. 
> >Never in color. Note: when I print the windows test page from 
> >another pc using the dell drivers, it's in color, so color does 
> >work. Just not from the PCL below. Any Ideas would be most appreciated.
> Here is the program was provided by Frank Winans from CDP.
> Thanks in advance.
> equ ESC to CHAR(27), CBLK to 0, CRED  to 1, CGRN to 2
> equ CYEL to 3, CBLU to 4, CMGN to 5, CCYN TO 6, CWHT TO 7
> EQU ESC TO CHAR(27)
> PRINTER ON
> PRINT ESC:"*r3U":  ;* set up an rgb type 8-color palette
> PRINT ESC:"*v":CRED:"S":
> PRINT "Red  ":
> PRINT ESC:"*v":CBLU:"S":
> PRINT "Blue ":
> PRINT ESC:"*v":CBLK:"S":
> PRINT  "black"
> PRINTER OFF

In cases such as this, it is a good idea to divide the process into steps, 
and see which step has the problem. For instance, configure your printer 
driver to print to file, then run the program, then examine the file 
produced to see it it contains what you expect it to contain. Then send it 
to the printer.

Because I have an HP Color LaserJet 4550 PCL printer (and I'm a nice guy), 
I created a file that had those escape sequences (not using Pick, just a 
low-level editor), and ran it out to my printer. It printed each word in 
the proper color. So that says the code sequence is right, for an actual 
PCL printer. 

Email me privately if you'd like my test file.

Also, it's possible that there is a problem in using the Generic driver. 
Try a different driver.

But consider this: you can spend a LOT of time hand-writing PCL sequences. 
If you value your time, you might use a tool to make this easier. With our 
Print Wizard product, you could generate the following print data:

=================================================
<PWML><BODY><PRE>
<FONT color=red>Red
<FONT color=blue>Blue
<FONT color=black>Black
=================================================

...and pass it to Print Wizard, which will render the intended output on 
ANY printer with a proper Windows driver.

If you think this looks like HTML, that is intentional. We mimic HTML in 
many ways, but also include tags for barcodes, paper sizes, orientation, 
overlays, etc.

Details on our web site.

Regards,
....Bob Rasmussen,   President,   Rasmussen Software, Inc.

personal e-mail: [EMAIL PROTECTED]
 company e-mail: [EMAIL PROTECTED]
          voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
            fax: (US) 503-624-0760
            web: http://www.anzio.com
 street address: Rasmussen Software, Inc.
                 10240 SW Nimbus, Suite L9
                 Portland, OR  97223  USA
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to