cancel
Showing results for 
Search instead for 
Did you mean: 

Actual print goes to next line different from the print preview.

Former Member
0 Kudos

Good Day:

I have created a smartform for printing one of our company's invoice, my problem is that the last column of a table in my main window goes to next line even though there is enough space on the right side of the paper. I have previously used this template and it works fine prior to my adjustment to the right by 1.5 CM to accomodate a continous paper.

What really bothers me is that the PRINT PREVIEW shows that all data suits in one line, but when it prints the last column goes to the next line

PRINT PREVIEW:

COLUMN1 COLUMN2 COLUMN3

AA BB CC

ACTUAL PRINT:

COLUMN1 COLUMN2 COLUMN3

AA BB

CC

Other info: column 3 is right aligned.

Hope you guys can help me out.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Martin,

First of all use a border for the output in table. This will help you to analyse why there is a deviation in output.

Second as you said that the output is displaying fine when previewed. So this may be the fault of printer. Just try to check your printer settings.

Hope by taking care of this 2 issues you would be able to resolve the issue.

BR,

Vinit

Former Member
0 Kudos

Thanks Vinit,

I have a good feeling that you are correct that this issue can be resolved by fixing the printer set up.

I am currently testing by configuring from my Operating system's printer control panel by defaulting a paper type with the same specifications as the one im using. I have so far failed.

If it is not pushing it, can someone help me set the printer up. I may have to configure someting on the device set up (transaction code: SPAD). Or probabaly I should switch on a different thread.

thanks.

Former Member
0 Kudos

Hi Martyn,

I guess your variable has defualt length is more and not able to acomodate in that space. You can reduce that space by putting formatting option.

e.g. if you varible is gv_value and it has capacity to hold 30 char

then you can do gv_value(C10). This will print only 10 characters from your value.

Hope you will get come clue from this.

Thanks and Regards,

Vijay

Answers (1)

Answers (1)

Former Member
0 Kudos

hii,

Decrease the page width of Main window.

regards,

Sridhar.V

Former Member
0 Kudos

Hi Mr. Sridhar.V,

Thank you for your input, but as mentioned before the same page width was previously working fine before I Adjusted the window a few centimeters to the right. I also adjusted the page format ensuring that there is enough space to print at.

I cannot decrease the width of the window since the table inside uses all of the table width.

I am wondering if there is a border or margin set up that I am missing somewhere.

Thanks.