Skip to Content
0
Former Member
Jan 21, 2011 at 10:07 PM

Check Sapscript, determine name of printer in page window

350 Views

Hello all,

We are getting a new printer for check printing. The old printer stored the signature on the DIM card. The new printer stores the signature on a USB stick that is physically locked inside the printer.

In order to print the signature using the new printer, we will have to create and use a different font when the signature is printed. We plan to keep the old printer as a backup.

So I need to dynamically determine which printer is used when program RFFOUS_C calls the Sapscript.

PERFORM 'DETERMINE_PRINTER' IN PROGRAM Z???

CHANGING &W_PRINTER&

ENDPERFORM

if &W_PRINTER& = 'OLD'

use paragraph with the old font

else

use paragraph with the new font

endif

What data (REGUP, REGUT, etc.) is available to use in the Sapscript window to determine the printer used when program RFFOUS_C calls the check Sapscript?

Thanks

Bruce

Edited by: Bruce Tjosvold on Jan 21, 2011 5:09 PM