vyoung Posted February 13, 2002 Posted February 13, 2002 I created a script which searches the database, finds a set of records, say 10 records, then prints them. Works great no problem. If the user decides to later print say records 90 to 100 in a 100 record database the program remembers this last print request. Now if that same user uses the script to find and print, say the find finds 10 records matching the search, nothing is printed because the program is trying to print records 90-100 and there are only 10 records in the found set. Is there any way to fix the print setup in the script so it can not be changed when other printing is done? The only way to fix the problem is go to print, change the printing to print found set,hit print, then the program says printing 100 records, then cancel the print. If you just change it without hitting print it does not keep the changes. Any ideas.
vyoung Posted February 15, 2002 Author Posted February 15, 2002 After a little consultation, tech support was able to solve this. Do the find, and print the found set with the printer settings needed. Then before print in the script, add printer setup and select the option restore (and I chose no dialogue so the step looks like this) Printer Setup (restore, No dialogue) Print (No Dialogue) I did this, then changed the printer settings in the program, but the script ran correctly.
Recommended Posts
This topic is 8329 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