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 Application Server File

former_member194669
Active Contributor
0 Likes
1,558

All,

I have a file (Drawing) that reside in a application server directory.

My question is how to print that file ?

15 REPLIES 15
Read only

Former Member
0 Likes
1,429

Hi,

Using CG3Y transaction you can download the file in application server to your local server. You can then try printing.

Hope I understand your requirement correclty.

Thanks,

Savitha

Read only

0 Likes
1,429

Your solution will not work.

Because program runs in the background. i need background printing to print a file in an appl server directory

Read only

former_member194669
Active Contributor
0 Likes
1,429

Any other suggestions ?.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,429

Just an Idea,

What about configuring an OS command in SM69 for printing and then executing the command using fm SXPG_COMMAND_EXECUTE from the program in background.

The parameter ADDITIONAL_PARAMETERS in the signature of the fm accepts the path of file.

I also got a fm from google CV150_PRINT_DOC

Edited by: Keshav.T on Jan 30, 2010 3:22 PM

Read only

0 Likes
1,429

Keshav,

Thanks for your reply.

CV150_RPINT_DOC works only in the frontend execution.

I tried with Sm69 for prdf files

please check this following thead

http://searchsap.techtarget.com/tip/0,289483,sid21_gci817618,00.html#

But drawing files this not working

Read only

0 Likes
1,429

Hi is it PDF or PRDF ?

Read only

0 Likes
1,429

Hi,

Can you please try the command from OS command prompt, if it works then surely it will work from sm69.

Read only

0 Likes
1,429

HI,

In FM SAP_PDF_VIEWER_DEMO there is a method for print.

May be this is also supported in foreground only.

Read only

0 Likes
1,429

Its spell error. Its pdf file

Somehow its not working. I tried from command prompt as well as creating .BAT and tried but both failed

Read only

0 Likes
1,429

Now i got it is a CAD File.

There must be a special method for executing drawing files.

Read only

0 Likes
1,429

Yes you are right. Its created thru CAD. But just like acrobat32.exe there is nothing i could find in case of CAD

Read only

0 Likes
1,429

I think for CAD its autocad.exe.

There must be a exe file in the server right ?????

Without any extension support files in the server i doubt whether it will open.

Is it able to view directly ????

Read only

0 Likes
1,429

No its not working. autocad.exe

May i will try with convert the cad file into pdf and try to print thru acrobat32.exe in sm69

Read only

0 Likes
1,429

Please update if anything positive.

Keshav

Read only

0 Likes
1,429

Alignment not coming properly while converting drawing file to pdf.

Thanks All

Closing this thread