Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

printer settings in a script


vyoung

This topic is 8266 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 8266 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.