Newbies nevermore44 Posted April 21, 2004 Newbies Posted April 21, 2004 I am wondering if anyone out there could help me out on building a simple script. I don't know too much about scripting so hold tight. I am printing a PS file over the network into a folder on a server. I need a script that automatically takes any file that appears in that folder and moves it to the printer's RIP folder. Only the drop boxes are shared on our network, so I can't directly print to the RIP folder. And I don't want have the RIP folder shared in our network I will list exact folder paths to make it easier. I need any files that get added to server/users/filserver/public/drop box/lop file server/to print and move it to server/applications/hp designjet 20ps RIP/jobs/hp designjet 20ps To avoid any errors from duplicate named files appearing in the RIPs folder..... i was thinking you could (if you are feeling extra nice) script it to trash the file after it is printed in the RIP.. OR add a suffix to the end of the file name (.a, .b, .c etc) Though either of these extras are just icing on the cake Platform: Mac OS X Jaguar
Doug Leib Posted April 22, 2004 Posted April 22, 2004 First of all, if the the RIP folder is not shared I don't know how you'll copy or move a file to it. Never the less... You'll either need a plug-in to do this or Applescript. This is beyond my basic Applescript knowledge but I could guide you using a plug-in. Waves in Motion and Troi both make a plug that will handle this task.
Newbies nevermore44 Posted April 22, 2004 Author Newbies Posted April 22, 2004 Our OSX apps can print directly to the RIP folder. The OS9 can't. So what we were doing as a workaround was to print a PS file.. then drag it to the RIP folder manually on the server cpu. Only the shared folder is available via the network (which doesn't include the RIP folder). When the printer folder, including the RIP folder, is moved to the shared folder, the OSX apps don't recognise this and can't print. So setting up a folder in the server's shared folder, which automatically moves it to the RIP folder, would be perfect. If anyone could help... that would be awesome...
Doug Leib Posted April 23, 2004 Posted April 23, 2004 This may be a permissions problem... I'll run it by my systems administrator tomorrow. Till then, Doug
Newbies nevermore44 Posted April 23, 2004 Author Newbies Posted April 23, 2004 we have it purposefully set so that the main system on the server isn't shared with everyone. So regardless.... all i would need is a script that moves any file added to "Folder A" to "Folder B" automatically.
Doug Leib Posted April 23, 2004 Posted April 23, 2004 Is your server a OS X or Unix system? If so you could use cron and its move (see man mv) command to perform this function.
Newbies nevermore44 Posted April 26, 2004 Author Newbies Posted April 26, 2004 the server is OS 10.2.2
Doug Leib Posted April 26, 2004 Posted April 26, 2004 The see the suggestion I made above for using cron to create an event as a regular time interval... say every minute that would move the file from one folder to another.
Recommended Posts
This topic is 7515 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now