Return to home pageGo to previous document on same levelGo to next document on same levelMove up one levelGo to sitemapmailto:dpwolfer@swissonline.ch

Print Surface Document statement

 [/h/]Prsf
   [[/h/]Name[=window_name]]
   [[/h/]Hgt[=graph_height]]
   [[/h/]Wdt[=graph_width]]
   [[/h/]Htx[=header_text]]
   [[/h/]Ftx[=footer_text]]
   [[/h/]Optn[=None-Htx-Ftx-Tri-Sca]]
   [[/h/]Tgt[=Printer|Clipboard]]
   [[/h/]Prn[="device,spooler,port"]]

Type conventions and statement syntax are explained in the Glossary.

Parameters...

Name
Name parameter indicating the name of the surface document to be affected by the command. Default: the topmost surface document.

Hgt
Number parameter indicating the maximal height of the created graph.

Wdt
Number parameter indicating the maximal width of the created graph.

Htx
Text parameter indicating a header text for the page. You may use {file} to insert the filename and path, {date} to insert the current date, {time} to insert the current time.

Ftx
Text parameter indicating a footer text for the page. You may use {file} to insert the filename and path, {date} to insert the current date, {time} to insert the current time.

Optn
Check box parameter indicating execution options. None deselects all options (and is the default) else specify any combination of:

  • Htx = print the text of the Htx parameter centered at the top of the page (ignored when placing the graph on the clipboard),
  • Ftx = print the text of the Ftx field centered at the bottom of the page (ignored when placing the graph on the clipboard).

Tgt
Radio button parameter indicating the target. Default = Printer, else any of the following two options:

  • Printer = print to the current printer,
  • Clipboard = do not print, but instead place the graph on the clipboard for transfer to other Windows™ applications.

Prn
Printer parameter indicating device name, spooler name and port name of the desired target printer. Default is the current Windows printer.

Note that...

If Tgt=Clipboard, the Htx and Ftx in Optn will be ignored, as well as any text specified in Htx and Ftx: neither headers, footers, nor trial numbers can be copied to the clipboard. The Prn parameter needs only to be specified if Tgt=Printer and is ignored if collection of printed output has previously been initiated using the Begin Collecting Output statement.

Additional information...


Go to previous document on same levelGo to next document on same levelMove up one levelGo to sitemap