‎2010 Jan 29 5:53 AM
All,
I have a file (Drawing) that reside in a application server directory.
My question is how to print that file ?
a®
‎2010 Jan 29 7:34 AM
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
‎2010 Jan 29 8:07 AM
Your solution will not work.
Because program runs in the background. i need background printing to print a file in an appl server directory
a®
‎2010 Jan 29 10:31 AM
‎2010 Jan 30 9:49 AM
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
‎2010 Jan 30 10:19 AM
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
a®
‎2010 Jan 30 10:29 AM
‎2010 Jan 30 10:32 AM
Hi,
Can you please try the command from OS command prompt, if it works then surely it will work from sm69.
‎2010 Jan 30 10:46 AM
HI,
In FM SAP_PDF_VIEWER_DEMO there is a method for print.
May be this is also supported in foreground only.
‎2010 Jan 30 10:50 AM
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
a®
‎2010 Jan 30 10:56 AM
Now i got it is a CAD File.
There must be a special method for executing drawing files.
‎2010 Jan 30 10:59 AM
Yes you are right. Its created thru CAD. But just like acrobat32.exe there is nothing i could find in case of CAD
a®
‎2010 Jan 30 11:07 AM
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 ????
‎2010 Jan 30 11:15 AM
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
a®
‎2010 Jan 30 11:23 AM
‎2010 Feb 01 8:51 AM
Alignment not coming properly while converting drawing file to pdf.
Thanks All
Closing this thread
a®