cancel
Showing results for 
Search instead for 
Did you mean: 

Print Check Signature from Printer Flash Card

chaiphon
Contributor
0 Kudos

Dear all,

I need to print the signature from the Flash Card on the printer. They won't allow me to upload graphic into SAP system because of security reason.

How can I find an escape sequence and a character sequence for a print control from HP printer (4350tn)?

And please provide me an example of SAPscript code to print the signature.

Thanks very much,

Chaiphon Pulnitiporn

Accepted Solutions (1)

Accepted Solutions (1)

raymond_giuseppi
Active Contributor
0 Kudos

First you will have to fin the correct sequence of characters which, when send to printer, print the signature.

Then call transaction SPAD Spool Administration) to display Spool Administration: Initial Screen. Then click the Full Administration button. Select the Device Types tab and select the printer that will be printing the signature (HPLJ4, for example).

Select the green check mark after entry of the Device Type to display the Spool Administration: Device Type screen, then click on the Print Controls tab.

The Print Controls page displays a list of defined print control sequences, each identified by a name. You can create new sequences or modify existing sequences. Let's create a control sequence named <your instruction here> to define the prefix that will print the signature:

- Escape Code (hex 1B) usually at the beggining

- The code for printing the signature

- An upper case X to mark the end of the command (hex 58) usually

So by calling the new instruction you will print the signature:

- simple ABAP - <i>PRINT-CONTROL FUNCTION `<your instruction here>'</i>

-SAPSCRIPT : <i>/: PRINT-CONTROL <your instruction here></i>

If you have many signatures, maybe there will a part variable, so you will need two instructions : before and after to use before and after the id of the signature.

If all printer of the same type don't have flash cards, you have to duplicate the device type and update the copy, then assign the new type to the correct printers.

Regards

raymond_giuseppi
Active Contributor
0 Kudos

Look into flashcards and hp documentation, if lost look at hp.com

E.g. <a href="http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00250183/c00250183.pdf">HP LaserJet 4250/4350 series Software Technical Reference</a>

Regards

Answers (1)

Answers (1)

chaiphon
Contributor
0 Kudos

Send the signature to external vendor to put in the flash card. Then they will give you escape sequence. Use it to print out signature via SAP SCRIPT command