on 04-13-2007 8:40 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.