Make an AppleScript from a MS-DOS batch file

I have a MS-DOS .bat (batch file) that I would like to convert in order to use on a Mac OSX as an applescript.  Here is the .bat file:

copy %1 \\computer_name\printer_share_name

Basically this allows the user to send a file to the shared printer that is located on a windows PC withouth having to map drives, and configure IP printing.  The actual .bat file is:

copy %1 \\rip2\10in_2

Thanks for any assistance.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

How would you send a file to the shared printer from the Mac without AppleScript?
EaglePressAuthor Commented:
Currently, I am using AppleTalk with a 3rd party app (PC MacLAN) running on the windows machines that host the shared printers.  PC MacLAN makes the windows printers appear as apple printers.  I have the shared printerd configured on the mac normally.
Here is the catch.  The files that I am having to send to the printer are .ps (post script) files. And the printer is actually an Imagsetter plate making maching that produces plates that are used on printing presses.  Now without going into a bunch of meaningless details, the Imagesetter appears and is treated like a normal paper (laserjet) network printer.
When attempting to send the .ps files to the printer by just dragging the .ps file to the printer the file is not processed correctly.  I was hoping that using a applescript on the mac will give me the same results as the batch file on the PC.

But to answer you question...I just drag the file to the printer description within the printer list.  On the pc i just drag the file to the .bat file that then copies the file to the shared printer.
Andrew DuffyTechnical Services CoordinatorCommented:
The batch file method on the PC is very specific to that platform and in this case doesn't offer a solution on the Mac. Printing a Postscript file on a Mac is as simple as dragging it onto the printer's icon on the Desktop (provided Desktop Printing is set up, of course - and it should be). There's no need for Applescript to play a part in this process.

If you're doing this correctly and everything is set up as it should but are still having output problems, then it could be you need to change the System's printer driver. The two most commonly used are LaserWriter 8 and AdobePS - if you're using one of these, try the other and we'll take it from there.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apple Hardware

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.