cancel
Showing results for 
Search instead for 
Did you mean: 

Signature in Sapscript

Former Member
0 Kudos

Hi,

Can someone explain to me the meaning of syntax in Sapscript below?

It is in the window SIGN1, so I assumed that it's a signature.

/* !!Printing the TROY Formatted Signature!!

TS !"#$%&'()*

TS +,-./01234

TS 56789:;<=>

TS ?@ABCDEFGH

Your <removed by moderator> response is very much appreciated.

Thanks so much.

Regards,

-Anna

Edited by: Thomas Zloch on Jul 11, 2011 10:07 AM

Accepted Solutions (1)

Accepted Solutions (1)

aidan_black
Active Contributor
0 Kudos

Hi,

Lets say the signature is: \e(4C\e(s0p3.00h12.0v0s0b103T

You should first remove the contents above inwindow SIGN1. i.e.

/* !!Printing the TROY Formatted Signature!!

TS !"#$%&'()*

TS +,-./01234

TS 56789:;<=>

TS ?@ABCDEFGH

I think the best way is to create a print control in the used device type and issue this print control command from the window SIGN1 in the form.

First add a print control called e.g. ZSIGN to the device type used for the printing?

SPAD -> Full Admin -> Device Types -> <Device Type> -> Print controls

Here create a new print control called ZSIGN with the contents:

\e(4C\e(s0p3.00h12.0v0s0b103T

In the window SIGN1 of the SAPSCRIPT form add the following:

(usingthe old line editor)

  • <32>

/: PRINT-CONTROL ZSIGN

= abcdef

Regards,

Aidan

Former Member
0 Kudos

Hi,

Can i just directly change the current content of window SIGN1 with the sequence you mentioned without using the PRINT CONTROL?

Thanks so much.

Regards,

-Anna

aidan_black
Active Contributor
0 Kudos

Hi Anna,

You can try it that way and see if it works.

Regards,

Aidan

Former Member
0 Kudos

Hi,

I think I cannot change this series of codes as per my further investigation, this codes are for the signature FONT text and size.

I found out that TS means TROY SIGNATURE FONT.

/* !!Printing the TROY Formatted Signature!!

TS !"#$%&'()*

TS +,-./01234

TS 56789:;<=>

TS ?@ABCDEFGH

I also think that the Escape Sequence was maintained in Standard Text because of the codes below.

/* -


Signature -


/* !! not currently used !!

/* INCLUDE &REGUH-TXTUN& OBJECT TEXT ID FIKO

/E 515

I just want to know what's in the text element 515, is there any way of debugging Sapscript aside in activating it's debugger.

Your thought is very much appreciated.

Thanks so much.

Regards,

Anna

Answers (2)

Answers (2)

Former Member
0 Kudos

Added new query in line with the first questions.

aidan_black
Active Contributor
0 Kudos

Hi,

For signatures, these are often stored in the printer itself. A certain command sequence needs to be sent from SAP to trigger the signature. It is likely that the codes above are intended to trigger the signature stored in a certain printer. You will need to check your printer to see if this is the correct commands sequence.

regards,

Aidan

Former Member
0 Kudos

Hi Aidan,

Thanks for the helpful thoughts. Points will be given to you.

Former Member
0 Kudos

Hi,

In line with my query below, what if the sequence in printer and in SAP is different. I've just recieved the sequence of the printer and it is vey much different in SAP. Please advise.

Your response is very much appreciated.

Thanks so much.

Regards,

-Anna

Edited by: ascapilos on Aug 10, 2011 8:26 AM