cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in continous printing

Former Member
0 Kudos

hi,

In the Excise Invoice printing (SAP Script), when the user (@ production) trying to print more than 2 Excise Invoices(Continous Printing) , at that time 1st excise invoice getting printed correctly...but in 2nd Invoice, everything getting printed 5mm upward 4m the desired place and 3rd excise invoice 10 mm upward and so on.....

what may b the causes???

(note: the FORM design contain only 1 page... i.e. everything is getting printed in one page)

if i change the window height in FORM then this also affects the 1st Invoice...but 1st Invoice is getting printed correctly..

whether FORM needs any modification or it is printer problem??

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In yur Driver Program.....

Call function 'OPEN_FORM'.

Loop at itab. "

CALL FUNCTION 'START_FORM'

EXPORTING

language = sy-langu

startpage = 'PAGE1'.

CALL FUNCTION 'WRITE_FORM'

EXPORTING

element = 'MAIN'

function = 'SET'

window = 'INVOICE'

EXCEPTIONS

element = 1

function = 2

type = 3

unopened = 4

unstarted = 5

window = 6

bad_pageformat_for_print = 7

spool_error = 8

OTHERS = 9.

IF sy-subrc 0.

ENDIF.

CALL FUNCTION 'END_FORM'.

Endloop.

CALL FUNCTION 'CLOSE_FORM'.

U do like that.... Ur probelm will solve.....

Reward if useful.......

Thanks,

Durai.V

Answers (1)

Answers (1)

Former Member
0 Kudos

Answered