2006 Sep 07 7:23 PM
Hi,
I am looking for some help on how to get the Printer Resident Singature on to the Check using SAP Script. We have a HP LaserJet 4250 Priter in which the Chip Contains the Signature ( Printer Resident Singaure ) and currently the external application is able to print this signature on the checks. Right now we are in Migration to SAP and we are trying to get this Signature to print on the Check using SAP Script.
Any idea how this can be done?
2006 Sep 07 7:28 PM
Hi
Get the signature into SAP, (upload into SAP as an image) and then use this in your sapscript.
Regards,
Raj
Hi,
I am looking for some help on how to get the Printer Resident Singature on to the Check using SAP Script. We have a HP LaserJet 4250 Priter in which the Chip Contains the Signature ( Printer Resident Singaure ) and currently the external application is able to print this signature on the checks. Right now we are in Migration to SAP and we are trying to get this Signature to print on the Check using SAP Script.
Any idea how this can be done?
2006 Sep 07 7:28 PM
Hi
Get the signature into SAP, (upload into SAP as an image) and then use this in your sapscript.
Regards,
Raj
2006 Sep 07 7:34 PM
No. My requirement is we need to print printer resident signature. It can not be taken from SAP.
2006 Sep 07 7:53 PM
You can print the printer resident signature using HEX ENDHEX command.
First Print the Printer font list from the printer's configuration menu, Find the signature in the font list, next to it there'll be esacape sequence in ASCII and Hex format.
Add the following command in the sapscript window of the signature:
/: HEX TYPE PCL
/= Enter the Hex escape sequence(begins with 1B) from first step
/: ENDHEX
Regards
Sridhar
2006 Sep 07 7:57 PM
Hi Sridhar,
I tried printing font list.
I am getting Font name as: Signature and infront of that escape sequence as: <esc>(4B<esc>s1p41.0v0s0b102T
Do we have to write like this:
/: HEX TYPE PCL
/= <esc>(4B<esc>s1p41.0v0s0b102T
/: ENDHEX
I have tried this but it is not working. Is there any configuration required?
2006 Sep 07 8:03 PM
The escape sequence should be in hex, is there hex seq next to <esc>(4B... in the print out.
if not i've converted the escape seq to hex: add the following as middle line
/= 1B2834421B73317034312E30763073306231303254
removed 0D0A from end of the hex seqence
Regards
Sridhar
Message was edited by: Sridhar K
2006 Sep 07 8:54 PM
Hi Sridhar,
I contacted vendor to get the singanture font. They send us one file. using which we came to know which font is called for Signature and it prints the singature.
On this printout it shows FONT CALL :
<esc>(4B<esc>(s1p53v0s0b102T
How do we get hex code for this?
Thanks in advance,
Umesh
2006 Sep 07 9:01 PM
Here's the hex conversion of the asci escape seq you've posted: 1B2834421B287331703533763073306231303254
Used hex viewer to get the hex string.
Regards
Sridhar
2006 Sep 07 9:14 PM
2006 Sep 07 9:20 PM
Does the vendor document show any escape seq and how to use in applications? usually they include two characters like (S=)at the end of esc sequence.
Add 533D at the end to the the prev hex seq i've posted.
Contact the vendor and get escape seq or check with them the one you are using is the right one.
Regards
Sridhar
2006 Sep 07 9:27 PM
Umesh,
U need to find out the escape sequence to print the same...how does the other application handle it ?
Regards
Anurag
2006 Sep 07 10:20 PM
Hi Sridhar,
I asked vendor to give hex sequence for the font. Now it is working fine.
Thanks a lot for all your help.
I will give you points
Regards,
Umesh
2007 Feb 07 9:40 PM
For future readers of this post, I had the same problem and the code from Sridhar K got me 99% of the way. I only modified his hex string by adding the hex for "abcdef" to the end.
This programming example is from the "Programming Example for TROY Digital Image Fonts (non-Microsoft Windows)" section of Troy Group's "Digital Image User's Guide for HP Printers":
<esc>(201Q<esc>(s0p2h72v0s0b201T 'select the Digital Image.
<esc>*p1800x900Yabcdef 'cursor position followed by pattern of charcters
Notice that the first line is just selecting the font. It isn't printing anything yet. The second line does two things. It sets the position of the cursor (<esc>*p1800x900Y) and then gives the actual "word" to be printed in that font (abcdef).
I entered the following code into SAPscript:
/: HEX TYPE PCL
/= 1B28323031511B28733070683732763073306232303154616263646566
/: ENDHEX
In this case, the portion "1B28323031511B28733070683732763073306232303154" is setting the font to be used and "616263646566" is the hex equivalent of "abcdef". If you leave off the "abcdef", it won't print anything.
The actual sequence of characters to enter will be on the Digital Image Data Sheet that should have been received with the order. Also take note of the escape sequence on each sheet. If more than one signature was ordered, the font name (and the PCL Image Selection Sequence) will be different as well.
2007 May 31 12:03 AM
We are also having difficulty getting our Troy Signature programmed to print correctly. Our programmers entered the following into the SAPScript text elements to call and print the signature.
/: BOX XPOS '0' IN YPOS '0' IN WIDTH '2' IN HEIGHT '0' IN FRAME 10 TW
/: HEX TYPE PCL
/= 1B28323031511B28733070322E30306837322E30763073306232303154616263646566
/: ENDHEX
/* PRINT-CONTROL SBP01
/*
SG <SI>test</>
/: BOX XPOS '0' IN YPOS '0.50' IN WIDTH '2' IN HEIGHT '0' IN FRAME 10 TW
Does this look correct? Are we missing something? Any help would be greatly appreciated.
2009 Sep 09 12:59 PM
I am looking for the HEX sequence for <esc>(4B<esc>(s0p3h9.12v0s0b102T. I do not understand how to get this from the printer documentation. So if anyone could help on the Hex for this I would appreciate it.