Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

print Script

Former Member
0 Likes
1,393

Hi I have drawn a skeleton of a script program only with windows.

When I print using utilities, it prints with the borders of the window, i have not drawn any boxes. Y is this happening, how can i remove it?

Secondly When i print it goes to the spool requst. I go to sp01 to exe it. how do i get it directly print?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,356

Hello,

Make sure the small button(with a square window), in the Preview section in the Output Options of a Window Node, is not clicked i.e the preview doesnt show a border around the window.

Hit back with a reply,

Shehryar

14 REPLIES 14
Read only

Former Member
0 Likes
1,356

Hi

Checkout how the printer settings are configured. If you select the 'New spool request' Checkbox the output will go to spool.

In page layout, see if any borders are given, if yes, remove the borders for the window.

Regards,

Raj

Read only

0 Likes
1,356

I am sorry Raj can you give a clear explanation.

Where exactly i check for those settings?

Read only

0 Likes
1,356

@Raj

1.The New spool request is not checked

2. how to remove?

Read only

Former Member
0 Likes
1,356

Check the Check box "Print Immediately" and select the SAP Coverage value to b "Print" and then press "Print" Button.

See that in the Output device Correct Printer name is given.

Read only

0 Likes
1,356

@ Dharini,

I tried, it still goes to spool.

Read only

Former Member
0 Likes
1,357

Hello,

Make sure the small button(with a square window), in the Preview section in the Output Options of a Window Node, is not clicked i.e the preview doesnt show a border around the window.

Hit back with a reply,

Shehryar

Read only

0 Likes
1,356

@Shehryar,

where is the ouput option of a window node?

Why am i not able to see it?

Read only

0 Likes
1,356

hi,

When u r selecting Printing Test..

In the window thats displayed..

select the option Print Immediately under Spool Control...

hope this helps,

do reward if it helps,

priya.

Read only

Former Member
0 Likes
1,356

Kantheri,

are you using smartforms or sap script.?

Read only

0 Likes
1,356

Thanks Dharini, some how it is working, i am not sure wht made it work. Coz i did no much changes.

@ shehryar,

I am using Sapscript.

I dont understand y there is a light border showing up while prinitng or previewing, though i have not included any boxes.

I am not sure where to look up for the border settings of a sap script

Read only

0 Likes
1,356

Kantheri ,

why dont you know compare yur script settings with some sap standard script. Maybe you can come up with sumthing,

Regards,

Shehryar

Read only

Former Member
0 Likes
1,356

After getting a Popup for the Print,see that Output device name and Front end printer name are correct.And in the Spool control tab,Print Immediately should be checked.SAP Cover page should have the value Print and then press Print.Though the status message shows Spool is generated,u will get the Print out.

Read only

0 Likes
1,356

Hello,

i hope you arnt filling the 'NO_DIALOG' field(with 'X') of the ' ssfcompop' structure before calling yur smartform in your driver program.

Are you?

Regards,

Shehryar

Read only

Former Member
0 Likes
1,356

Closing this long pending question.

Seems to be a minor issue, some printer setting would definetly help.