Re: [foxboro] Moving old shell scripts to the new 8.3 Windows box.
- From: "Moore, Kenneth, Celanese/US" <ken.e.moore@xxxxxxxxxxxx>
- To: <foxboro@xxxxxxxxxxxxx>
- Date: Wed, 13 Aug 2008 12:25:06 -0500
You can map a printer to LPT1 and then copy the file to the printer from
within your script.
" net use LPT1: \\server\printername "
(space required between the colon : and the double backslash \\)
"C:\copy file.txt LPT1"
Ken Moore
Celanese
Enoree, SC
-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of Larry Mantei
Sent: Wednesday, August 13, 2008 1:19 PM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] Moving old shell scripts to the new 8.3 Windows box.
We are moving from a 4.3/51B system to the 8.3/P91s.
We have a couple of scripts that run to generate and then print the
shift reports. This system has worked great for years....
Now when we move it over to the windows box they tell me we will lose
these (non Foxboro = no support) scripts.
I have set up the correct folders and files on the new box. I need to
set crontab (crontab is what trigger them on the old system) to trigger
them, and change the script to do a windows print function instead of
the lp -d function.
What am I missing, this seems too easy, and what is the windows print
function ???
Thank you for your support.
Larry Mantei
Process Control Tech.
Fairbanks Gold Mining
PO Box 73726
Fairbanks, Alaska 99707-3726
(907)488-4653 ext. 2306
larry.mantei@xxxxxxxxxxx
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
- Follow-Ups:
- Re: [foxboro] Moving old shell scripts to the new 8.3 Windows box.
- From: Johnson, Alex P (IPS)
- References:
- [foxboro] Moving old shell scripts to the new 8.3 Windows box.
- From: Larry Mantei
Other related posts:
- » Re: [foxboro] Moving old shell scripts to the new 8.3 Windows box.
- » Re: [foxboro] Moving old shell scripts to the new 8.3 Windows box.
- » Re: [foxboro] Moving old shell scripts to the new 8.3 Windows box.
- » Re: [foxboro] Moving old shell scripts to the new 8.3 Windows box.
- » Re: [foxboro] Moving old shell scripts to the new 8.3 Windows box.
- » Re: [foxboro] Moving old shell scripts to the new 8.3 Windows box.
- » Re: [foxboro] Moving old shell scripts to the new 8.3 Windows box.
- » Re: [foxboro] Moving old shell scripts to the new 8.3 Windows box.
- Re: [foxboro] Moving old shell scripts to the new 8.3 Windows box.
- From: Johnson, Alex P (IPS)
- [foxboro] Moving old shell scripts to the new 8.3 Windows box.
- From: Larry Mantei