cancel
Showing results for 
Search instead for 
Did you mean: 

Check Sapscript, determine name of printer in page window

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

brad_bohn
Active Contributor
0 Kudos

Can't you just use '&PAR_PRIZ&' directly w/o a subroutine call?

Former Member
0 Kudos

Brad,

Thanks for the answer.

Bruce

Edited by: Bruce Tjosvold on Jan 25, 2011 7:11 PM

Answers (0)