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

Error in passing print parameters

Former Member
0 Likes
1,384

Hi,

I am submitting a report in background and using FM Get_print_parameters to get and pass print parameters to the dialog box appears while submitting that report.

My problem is that i am passing printing device 'lab1' to dialog box through function module get_print_parameters but '$lab1' appears in the dialog box and hence due to invalid device spool request is not getting generated.I am running program in background so can't remove

'$' from the device name.

Kindly advice me what can be done to solve this problem...

Regards..

Edited by: shekhar kumar on Nov 1, 2008 6:20 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,026

Generally the $ sign comes when the output device does not exist. Just check in SPAD tcode whether the output device lab1 is present or not? If it is not then create or use the some other output device. But if it is there and then also you are getting the error then dbl click on the output device and try to pass the short text of the output device instead of lab1.

Regards

Shiba Prasad Dutta

Hi,

I am submitting a report in background and using FM Get_print_parameters to get and pass print parameters to the dialog box appears while submitting that report.

My problem is that i am passing printing device 'lab1' to dialog box through function module get_print_parameters but '$lab1' appears in the dialog box and hence due to invalid device spool request is not getting generated.I am running program in background so can't remove

'$' from the device name.

Kindly advice me what can be done to solve this problem...

Regards..

Edited by: shekhar kumar on Nov 1, 2008 6:20 AM

3 REPLIES 3
Read only

Former Member
0 Likes
1,025

Hi,

My suggestion is redo your printer setting.

Cheers!!

VEnk@

Read only

Former Member
0 Likes
1,027

Generally the $ sign comes when the output device does not exist. Just check in SPAD tcode whether the output device lab1 is present or not? If it is not then create or use the some other output device. But if it is there and then also you are getting the error then dbl click on the output device and try to pass the short text of the output device instead of lab1.

Regards

Shiba Prasad Dutta

Read only

0 Likes
1,025

Thanks Shiba...its working...