Tron50 Posted January 6, 2015 Share Posted January 6, 2015 Is there anyway to suppress a layout when printing so it is not displayed? I have a menu that drops down to print several reports, essentially the script for the reports does the following Go to Layout["JPF_printitems1"(Locator)] Sort Records -Restore;No Dialog] Print [] Go to Layout ["JPF_printreports" (Locator)] The report does go to the layout but the user does not need to see the layout, I would prefer to simply "Show Custom Dialog" + with dialog message like "Please while printing" and have it print with no dialog which is easily done, but I don't seem to find a way to prevent the layout with fields from showing on screen, if possible. Just looking for a more elegant way to print, as when they print the report Link to comment Share on other sites More sharing options...
Wim Decorte Posted January 6, 2015 Share Posted January 6, 2015 Not really if you want to keep the print dialog up. One option would be to silently print to PDF and then open the PDF. The user can print from there. Link to comment Share on other sites More sharing options...
Lee Smith Posted January 6, 2015 Share Posted January 6, 2015 Is there anyway to suppress a layout when printing so it is not displayed? Go to Layout["JPF_printitems1"(Locator)] Sort Records -Restore;No Dialog] Print [] Go to Layout ["JPF_printreports" (Locator)] Have you tried using the freeze window script step? 1 Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 3406 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