2015 Dec 10 3:34 PM
Hi guys,
I would like to execute a bat file on a remote Windows print server from SAP AIX server. The bat file includes a command which sends a text file to a windows shared network printer's spool.
the command is as follows "copy c:\test.txt \\10.0.0.1\Printer".
This setup is working on a SAP windows server by using SXPG_COMMAND_EXECUTE by creating an O/S command in SM69 but we are migrating our servers to AIX.
So i tried a few ways to achieve it but i could not manage to get the process working. I tried creating an entry on AIX server which uses LPR command to directly send the text file on printer's queue, but no deal. Any help will be appreciated
Thanks in advance.
Cem.
2015 Dec 13 10:32 AM
solved by using LPR command.
2015 Dec 13 10:32 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |