I have generated a PJL print sequence that will print a graphic to an HP2550 PCL6 printer. I am trying to print data to the printer and tell it to use that PJL code as the form. Any one had success with this?
So is it possible to print using PJL somewhat like it was with PCL, where a macro could be defined then called by a print job? If the printer is "setup" using PJL, can that setup be used by a print job? Can I ember the data into the actual PJL code? Thanks for the reply...
Further, the last PJL command selects the printer language being used. PJL does nothing for you for getting data to the printer. My guess is that you are out of luck.
You're going to have to get intimate with PCL6 as I don't believe your printer has PCL5.
HP has done nothing inappropriate. The 2550 is simply a PCL6 only printer. You need to be working with a PCL5 printer if you want to use macros. PCL6 is not backwards compatible with PCL5 and that is really all there is to it.
DansDadUK - THANKS FOR THE INFO on the HP Site.
I have been thru some of it already from other sites, but was not aware of the site you referenced.
I get the idea of the "user streams", and actually have a PCL6 strream that generates a form to my HP2550 PCL6 printer. Comes out in color and looks great.
But I am having some difficulty with inserting data to be placed on the pages. So far no luck. I know that the solution is in the PCL docs, but am having no luck so far in deciphering the solution.
Do you know of a site / source with an example(s) of PCL6 streams that have forms and data on the forms?
THANKS AGAIN FOR THE GREAT REPSPONSE.
I'm not sure just what you mean by 'inserting data to be placed on the pages'.
If you (or your application) is totally in control of writing the PCL6 parent print stream (encapsulating whatever dependent user-defined streams the parent needs), then you should have no difficulty in inserting the appropriate PCL XL operators (preceded by their attribute lists) at the appopriate points in the (highly-structured) print stream.
If, however, you are just using another application (e.g. Word) and attempting to inject occasional PCL XL operators into the output print stream (in the way that you can insert escape sequences for the relatively unstructured PCL5 language) then I don't think that you will get this to work at all.
I don't think that it is possible to set up user-defined streams outside of a parent stream, and then retain (persist) the user-defined streams so that they are available to another parent (job) stream - although I might be wrong here.
You have not told us what type programming language you are using to print. There are lots of products in the market that deals with PCL printing. In our case we use SQR to do high graphic printing(forms processing) etc. Once in a while we also use msaccess to do simple jobs.
To jmanj,
Thanks for the response - currently I use Formflow Formdesigner. I generate the PCL code by printing the form design to a file. I then edit the file slightly, making it into the macro that I need. I then place some PCL code at the start of my documents to call the required macro when printing. As near as I can tell from many resources, this is not possible under PCL6. I would be more than willing to go to a different tool that would give the same type activity.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.