We had the following code behind an action button on a view that allowed the user to print selected view. If needed, they could then go to Page Setup and select ‘Legal’-sized paper if needed:
@Command([FilePrintSetup]);
@Command([FilePrint];“”;“”;“”;“”;“printview”);
@Command([EditDeselectAll])
Now, the above code will ONLY print in Letter-Portrait. If we choose the ‘Page Setup…’ the Print Dialog Box does not appear, and the job is merely sent to the printer.
If we cut the code down to:
@PostedCommand([FilePrint])
Then the Print Dialog box does appear and allows the user to print ‘Selected View’ and ‘Landscape’, but will NOT print on Legal sized paper, even if chosen by the user-- it still prints on Letter-sized paper. There is legal-sized paper in the printer, and we have tried to send the print job to a couple of different printers, and they all behave the same (letter-sized print-outs only). Has anyone else experienced this? Is it a B-U-G??
Subject: Unable to print a view in Legal Landscape since client upgrade to R6.0.1??
I am also finding out that @Command([FilePrint]) alone without the @Command([FilePrintSetup]) will bring up the print dialog box. And, it actually seems to bring up a different dialog box that contains both print setup and page setup. I’m still playing around trying to get things to work though since it doesn’t appear to be keeping the settings I select.
Subject: Same in 6.5.3 - apparantly it’s not been fixed
Wow… that’s really great that the box comes up. It would be nice if it would actually save the settings that were changed. Click on a button with that formula in it. Change it to landscape, click ok. Click it again… look… it’s back to portrait. Great Fix Guys!