Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Print Signature on SAP Script by printer hp LaserJet 2420

Former Member
0 Kudos

Hi All,

Now I try to print out the signature in Check by using SAP Script form. I get the escape sequencefor two signature as the following:

<esc>(1Q<es>(s1p36.0v0s0b0T

<esc>(2Q<es>(s1p36.0v0s0b0T

and I have change to hex code and put the code in SAP as the following:

/: HEX TYPE PCL

/= 1B2831511B2873317033362E3076307330623054

/: ENDHEX

/: HEX TYPE PCL

/= 1B2832511B2873317033362E3076307330623054

/: ENDHEX

But it still do not have anythings print out. Have I done something wrong?

Appreciate all helps.

Thanks and Regards,

Rujiphorn T.

4 REPLIES 4

Sougata
Active Contributor
0 Kudos

Hi,

It might be a better idea to upload the signature file as a .tif file in SAP via SE78 or SO10 then use syntax:

INCLUDE <object_name> OBJECT TEXT ID ST.

in the sapscript instead of HEX...ENDHEX.

Cheers,

Sougata.

Former Member
0 Kudos

Hi Sougata,

Thanks for your reply.

Actually, I also need to do that. But our customer already provide signature in the printer. And we need to print that signature from printer.

That's why we need to get signature from printer to print in SAP-Script.

Do you have any idea how to do that? Or did I do something wrong

Thanks and Regards,

Rujiphorn T.

0 Kudos

Check with below links :

http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a95d651ea11d189570000e829fbbd/frameset.htm

also check with service.sap.com ,there you can find out about HEX Code

Thanks

Seshu

Former Member
0 Kudos

Hi,

Did you mean we need to set print device for this printer?

Regards,

Rujiphorn T.