Form Overlays in PCL XL? Form Overlays in PCL XL? ccaq001 (Programmer) (OP) 25 Jun 04 12:02 Is it possible to do Form Overlays in PCL XL? I know PCL XL doesn't support the same syntax of escape codes as PCL 5. I was wondering if there is a PCL XL equivilant? RE: Form Overlays in PCL XL? DansDadUK (Programmer) 26 Jun 04 12:11 The PCLXL equivalent of PCL5 macros is 'user-defined streams'. Describing how to use these is beyond a simple reply in the forum.I suggest that you read up on 'user-defined streams' in the HP documentation (but it is a bit sparse, and does contain some errors!), and try using them.Then, if you hit a particular problem which you can't resolve, post an update to this thread, posing the problem. RE: Form Overlays in PCL XL? DansDadUK (Programmer) 28 Jun 04 04:44 I've had a bit more time to think about some simple rules: as a rough guide, to convert the output from a standard PCLXL driver to a 'user-defined stream' suitable for use as a macro equivalent, you will need to do, as a minimum:Remove the UEL sequence.Remove the PJL statements.(Optionally) replace the original stream header with an alternative (e.g. different comment field).Replace the BeginSession operator (and its preceding attribute list) with the equivalent SetPageScale operator, in order to maintain independence of user units between the overlay and the parent stream.Ignore all other operators (and their preceding attribute lists) up to, and including, the first BeginPage operator (except perhaps for embedded font downloads, etc.).Retain subsequent operators (and their preceding attribute lists) up to the first EndPage operator, except for SetPageDefaultCTM (which would upset, for example, binding margin settings made by the parent stream.Remove the first EndPage operator (including its preceding attribute list), and all subsequent data.