cancel
Showing results for 
Search instead for 
Did you mean: 

SMARTFORMS: Printing Problem.

Former Member
0 Kudos

Dear Experts,

I have stationary with 6 IN height and 10 IN width.

First page is geting printed very well, but it is not getting page break. so printing start on same page with out page skip.

I also have used command node for page break.

My contents are very dynamic ... some times i print 2-3 lines some times 10 lines....

it is more or less like label printing.....

any suggestions ??

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi.

Please try.

  • First page...

WA_SSFCTRLOP-NO_OPEN = SPACE. "OPEN

WA_SSFCTRLOP-NO_CLOSE = 'X'. "NOT CLOSE

CALL FUNCTION 'SMARTFORMS Function'

.....

  • Next page...

WA_SSFCTRLOP-NO_OPEN = 'X'. "NOT OPEN

WA_SSFCTRLOP-NO_CLOSE = SPACE. "CLOSE

CALL FUNCTION 'SMARTFORMS Function'

.....

Former Member
0 Kudos

Thankx For Reply,

I am passing full internal table to smartform, and then using loop i m printing.

So how to use OPEN and CLOSE functions?

Thankx again.

Former Member
0 Kudos
  • First page...

WA_SSFCTRLOP-NO_OPEN = SPACE. "OPEN

WA_SSFCTRLOP-NO_CLOSE = 'X'. "NOT CLOSE

CALL FUNCTION 'SMARTFORMS Function'

.....

  • Page break...

WA_SSFCTRLOP-NO_OPEN = 'X'. "NOT OPEN

WA_SSFCTRLOP-NO_CLOSE = 'X'. "NOT CLOSE

CALL FUNCTION 'SMARTFORMS Function'

.....

  • Last page...

WA_SSFCTRLOP-NO_OPEN = 'X'. "NOT OPEN

WA_SSFCTRLOP-NO_CLOSE = SPACE. "CLOSE

CALL FUNCTION 'SMARTFORMS Function'

.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Please check the Page Format attribute of the smartform under Global Settings->Form Attributes->Output Options Tab.

Does it match with the page format for which you have designed the smartform(i.e dina4, dina 3 etc).

Secondly, I hope you are getting a screen to enter the device type before issuing the print command.Check if the issue is not with the device type.Check by using the device type with some other smartform or standard report on the printer and stationary you are using. Does it get printed correctly? If yes , then the device type is ok.

I am assuming you are not passing any control parameters while calling the smartform.

Regards,

Rijuraj

former_member205763
Active Contributor
0 Kudos

How r u giving page break?