Create a batch file with command C:\Temp>copy X(filename) \\19x.16y.20z.k\HPLJetPxxxx. (network path for printer is needed, not port)
Put this batch file on application server.
Read the file path of application server.
Go to SM69 and create new command with additional parameter allowed option and pass the file path of batch file.
Now use FM 'SXPG_COMMAND_EXECUTE' (pass command name created in SM69).