-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Printers Archive
- Turning a PJL to a PCL macro

Create an account on the HP Community to personalize your profile and ask a question

04-26-2016 07:54 AM
>> ... The orientation of the signature was presumably determined by how the sheet was oriented when you scanned it ...
You could presumably use the -R option in mkpcl to change this, when generating the PCL macro from the original image?
04-26-2016 07:59 AM - edited 04-26-2016 08:06 AM
>> ... But I thought he fixed it in sig.pcl...no? ...
If you are referring to the positioning of the signature, I noted:
- An attempt is made to set the PCL cursor position, but because the sequence is incorrect (the 'root' should be <Esc>*p) this will be ignored (it doesn't affect the 'extra page ' problem, but it will affect the position of the signature.
But I did not change this (and this error is in form.pcl (and the modified version form_x01.pcl), not sig.pcl anyway.
sig.pcl defines the raster image (within a macro) but does not itself include any positional information; so when the macro is executed, the position will be relative to the current cursor position in the calling print job.
04-26-2016 08:23 AM
That's right...I didn't touch sig.pcl. I modified form_x01.pcl by adding <esc>*p625x500Y and other x,Y values with no change in the output. I put the *p at the biginning after &f2y2X, then at the end, before <esc>E.
Reed
04-26-2016 08:38 AM
I think it's all good now, guys! I used the -R option with mkpcl, and now the positioning works too 🙂
Thank you both VERY much for holding my hand through this learning experience...No way I couldn've done this by myself!
Reed
04-26-2016 08:41 AM - edited 04-26-2016 08:45 AM
>> ... I modified form_x01.pcl by adding <esc>*p625x500Y and other x,Y values with no change in the output. I put the *p at the biginning after &f2y2X, then at the end, before <esc>E ...
The <Esc>*p625x500Y sequence should be before the <Esc>&f2y2X sequence (which executes the macro) not after it.
in fact all you need to do is to correct the erroneous <Esc>*625x500Y sequence (already before the macro execute sequences) to insert the missing 'p' after the '*' character.
I've no idea why you also want to put it at the end to set a cursor position just before the end of the job.
04-26-2016 08:56 AM
... by the way; your form.pcl job (and the derived variants) contains two other errors (at offsets 2173 and 2571 in the original file) where you have 'orphan' partial sequences of <Esc>* which are both followed immediately by the a <Esc> character at the start of a new (valid) sequence.
From the analysis file:
. . . . . . 0000002142 PCL Parameterised <Esc>&a4080v Cursor Position Vertical (4080 decipoints) 0000002150 3960H Cursor Position Horizontal (3960 decipoints) 0000002155 Data return to service. *** Warning *** <Esc> found before termination of next sequence 0000002173 PCL Parameterised <Esc>* ***** Unknown sequence ***** 0000002175 PCL Parameterised <Esc>&a4290v Cursor Position Vertical (4290 decipoints) 0000002183 144H Cursor Position Horizontal (144 decipoints) 0000002187 Data 13b. Authorized Signature: . . . . . . 0000002539 PCL Parameterised <Esc>&a6120H Cursor Position Horizontal (6120 decipoints) 0000002547 Data 14e. Date (dd/mmm/yyyy): *** Warning *** <Esc> found before termination of next sequence 0000002571 PCL Parameterised <Esc>* ***** Unknown sequence ***** 0000002573 PCL Parameterised <Esc>&a4920v Cursor Position Vertical (4920 decipoints) 0000002581 144H Cursor Position Horizontal (144 decipoints) 0000002585 Data It is important to understand that the existence of . . . . . .
- « Previous
- Next »
