I'm not sure about just doing a logo, but we do something similar to print an entire form (which contains a logo). The form is created with whatever layout program you want (like PageMaker), then printed in Windows using a PCL5 print driver, but capturing to a file. The HP Forms & Fonts Manager is used to upload the file to a flash DIMM in the printer as a PCL macro. Then it is just a matter of sending a short PCL sequence just before the form-feed for each page.
For example, if the form is stored as macro 100, this would be the sequence: CHAR(27):"&f100y3X" The ESC &f100Y selects the desired macro, while the ESC &f3X merges it into the page. Again, this sequence is sent AFTER all the other information for the page and just before sending a CHAR(12): I am not sure if you can use this technique to store the form in RAM. We have not tried that. =========================================================== Norman Morgan <> [EMAIL PROTECTED] <> http://www.brake.com =========================================================== Exercise daily. Eat wisely. Die anyway. =========================================================== > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Friday, March 03, 2006 1:28 PM > To: u2-users@listserver.u2ug.org > Subject: [U2] PCL within a form > > We have a PCL logo that we'd like to include in an invoice, > but when we try sending it, we get a separate page with the > logo on it. > > Here's what we've tried: > > scanning the logo and then placing it on the 'page' where we > want it, then printing it to a PCL file. That is the file we > cat to the invoice. > > It seems that when printing to a PCL file, the top of form > and page end are set for us and embedded in the PCL output > file. We've seen the ESC:'E' > character at both the top and bottom of the PCL file, but > removing them doesn't help. > > Any ideas? ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/