For what it is worth, several years ago I spent a great deal of time trying to print color text on an HP inkjet using PCLe from mvBase. Completely frustrated. In the end, I was able to accomplish what I needed using an Epson inkjet and their ESC/P codes. But even that solution only allowed me to print entire lines in one color (acceptable for the job I had at hand.)
On Sat, Feb 23, 2008 at 5:16 PM, Bill Haskett <[EMAIL PROTECTED]> wrote: > Curt: > > Also, the manual should give you the escape sequences and codes to produce > what you > need. I don't have a manual present but I've worked with PCL and graphics > modes for > years and the test environment takes some getting used to. For instance, > you can > always use DOS commands to copy a file to a printer. This helps to > identify if there > are any print driver or U2 specific problems. > > Once you know a print job is headed to the correctly defined printer, it's > much > easier to use BASIC. > > Bill > > >-----Original Message----- > >From: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED] On Behalf Of Dave Taylor > >Sent: Saturday, February 23, 2008 3:01 PM > >To: [email protected] > >Subject: Re: [U2] Color Laser PCL > > > >Hi Curt, > > > >Don't know if this is the problem or not but, if you are using the > >manufacturer's printer driver, it will block all ESC sequences from > reaching > >the printer. > > > >You need to install the printer as a Windows printer using the Generic / > >Text Only driver from the Generic Manufacturer. > > > >I don't have a color laser printer to test this on, and the color inkjet > >printer in my office does not recognize PCL commands. > > > >hth, > > > >Dave > > > >Dave Taylor > >Sysmark Information Systems, Inc. > >Authorized IBM Business Partner > >49 Aspen Way > >Rolling Hills Estates, CA 90274 > >(O) 800-SYSMARK (800-797-6275) > >(F) 310-377-3550 > >(C) 310-561-5200 > >www.sysmarkinfo.com > >----- Original Message ----- > >From: <[EMAIL PROTECTED]> > >To: <[email protected]> > >Sent: Saturday, February 23, 2008 1:48 PM > >Subject: [U2] Color Laser PCL > > > > > >>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 > >> > >> From info in topics: "simple color mode" and "foreground color" > >> in file BPL1312.PDF from www.hp.com which is the > >> "PCL 5 Color Technical Reference Manual" > >> > >> > >> Curt Lashley > >> 2803 North Boulevard > >> Tampa, FL 33602 > >> Cell: (813) 293-2878 or (800) 886-2878 > >> Home: (813) 226-2878 or (800) 524-2878 > >> Fax: (813) 229-2878 > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ > -- George Smith, Phoenix, AZ Member of the Independent Computer Consultants Association since 1983 ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
