Hello list, Subject: print screen Foxview displays to .pdf file on terminal server (I/A 8.2) First I briefly explain what I've done so far but I do have some questions (at the end) ! After some more experimenting I ended up with the Pdf995 software (see www.pdf995.com <http://www.pdf995.com/> ). The PdfEdit995 utility offers some nice features, like printing all print jobs to one pdf file. I make sure the primary Foxview is full screen on the terminal server and leave it in the init environment. From my desktop PC I start a terminal session to the terminal server. I then start the PdfEdit tool and make settings such that all print jobs are appended in one pdf document, disable the 'Auto open pdf after printing' and set image resolution to 600 dpi. From a nutcracker command window I then execute the script as shown below, from the directory which holds the mimic fdf files and pass the primary display manager name as a parameter. (This could be done locally on the terminal server as well but I would like to do this remote) The mimics will be shown one by one on the local (primary) terminal server screen and printed to the pdf file as specified with PdfEdit. (Anybody using the terminal server locally will be surprised) After each print command the pdf995 printer-driver shows a 'nag' sponsor screen for about 20 seconds, this is the reason for the 22 second sleep. The 2 second sleep is to make sure the display is displayed completely with dynamic data (display call-up on the terminal server is very fast!) I end up with a pdf document with all mimics from the directory concerned (in our case, typically a process unit). Works very well! I can now put these .pdf files on our intranet for everyone to view, and it does not take to much time to update them! (I guess we will have to get a 'key' for the Pdf995 software to disable the 'nag' screen which would speed up things drastically!) The preliminary script (need to check for $1 entered yes/no) #!/bin/sh echo "Make sure FoxView is in fullview!" sleep 5 for FILE in `ls *.fdf` #for FILE in `ls u221_[0][0][0-1]T.fdf` #for FILE in `ls u309_000.fdf` do echo "/usr/local/pref -$1 dmcmd `pwd`/$FILE" #/usr/local/pref -$DMNAME dmcmd `pwd`/$FILE /usr/local/pref -$1 dmcmd `pwd`/$FILE sleep 2 #/usr/local/pref -$DMNAME dmcmd psc /usr/local/pref -$1 dmcmd psc sleep 22 done Questions: The foxview print screen function seems to print only the Foxview window (does not necessarily need to be full screen) but if any window is on top of this, this will also appear in the print-out. Q: Is there a way to force the Foxview window to the FRONT, preferably to be included in the above script? When the print screen is executed, a 'document' name is created which can be seen from the spooler window and which could also be used to automatically create one .pdf file for each print-job (so one pdf for each mimic). To document name format looks something like this: Foxview: 8TS0001:8TS0001 u309_. The last 5 characters however are (unfortunately) truncated to 5 characters while the actual full name should be u309_001.fdf . The next graphic would be u309_002.fdf etc. Printing all graphics to separate files will all be printed to u309_.pdf which renders this function useless! Q: Is there a way to change this behaviour; ideally I would like the document name to be identical to the .fdf file name, so in this case u309_001.fdf would be printed to u309_001.pdf ?? Any suggestions welcome! Kind regards, Patrick Martens, Total Raff. Ned. N.V. _______________________________________________________________________ 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: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave