The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
Difference between revisions of "PRINT"
Line 1: | Line 1: | ||
Prints the current browser window on your default printer. | Prints the current browser window on your default printer. | ||
+ | |||
+ | When you use the PRINT command the dialog manager takes over with the values defined in the ONPRINT command. Thus you can select a specific printer by using ONPRINT P=3. In this case the third printer is used. If you use only P= or P=* the most recently selected printer is used. Typically this is the default windows printer, but if you select another printer before (e. g. with P=3) then printer #3 is used. | ||
If the page uses frames and you want to print only a specific frame then select this frame with WINCLICK first. | If the page uses frames and you want to print only a specific frame then select this frame with WINCLICK first. |
Revision as of 11:03, 26 April 2007
Prints the current browser window on your default printer.
When you use the PRINT command the dialog manager takes over with the values defined in the ONPRINT command. Thus you can select a specific printer by using ONPRINT P=3. In this case the third printer is used. If you use only P= or P=* the most recently selected printer is used. Typically this is the default windows printer, but if you select another printer before (e. g. with P=3) then printer #3 is used.
If the page uses frames and you want to print only a specific frame then select this frame with WINCLICK first.
Tip: If you want to print PDF files with the Acrobat Reader Plug-In you need to add "ONDIALOG POS=1 BUTTON=OK" command before the PRINT statement.
Syntax
Parameters
None
Examples
Related example macro: Demo-Print