Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterDescription of FieldsCommentsDefault
Parm1 - FileName<1> FileNameProcess FileName"Printing"
 <2> Load RTFRTF filename to load""
 <3> Export Format

0 = No export

1 = RTF

2 = HTML

3 = DHTML

4 = HTML with pages

5 = DHTML with pages

6 = PDF

7 = CSV with header

8 = CSV without header

9 = TXT file

10 = OIPI Print File

11 = Archive Reports

0
 <4> Export File NameFile name for the export or Archive Name""
 <5, 1> PDF Owner passwordNote: Applies to OIPI.Net only with Patch v4 or higher.

Password that allows permission changes to the PDF document.

""
 <5, 2> PDF User passwordNote: Applies to OIPI.Net only with Patch v4 or higher.

Password that only allows the opening of the PDF document.

""
 <5, 3> PDF PermissionsNote: Applies to OIPI.Net only with Patch v4 or higher.

String of single character flags that indicate what permissions are granted to the PDF document:

C = Copy

E = Edit

P = Print

A = Annotation Edit

""
Parm2 - Title<1> Print Title"Title String""Printing"
 <2> Preview TitleMust be an unique string"Print Preview"
 <3> Cancel Button TextUse "&" to underline a specific character"&Cancel"
 <4> Device TextThe first "%s" is printer name and the second "%s" is the port name"on the %s on %s"
 <5> Page TextThe "%d" is the current page number"Now Printing Page %d of"
Parm3 - PageInfo<1> LeftMarginLeft margin0.5
 <2> TopMarginTop margin0.5
 <3> RightMarginRight margin0.5
 <4> BottomMarginBottom margin0.5
 <5> PageWidthPage Width in inches8.5
 <6> PageHeightPage Height in inches11.0
 <7> PageSizeSee OIPRINT_EQUATES 
 <8> CopiesNumber of copies to print 
 <9> Shortcuts

0=None

1=Copy to clipboard

0
Parm4 - PageSetup<1> Orientation

0=Port

1=Land

""
 <2> Units

1=Inches

2=Mm

3=cm

4=twips

5=points

 
 <3, 1> Export Top NavigationCustomizes the navigation at the top of the exported pages""
 <3, 2> Export Bottom NavigationCustomizes the navigation at the bottom of the exported pages""
 <4, 1> ColumnsNumber of columns in the report 
 <4, 2> ColumnSpacingSpacing between columns0.125
Parm5 - PrintSetup<1, 1> Style

0=Print to printer

1=Display PrintSetup

2=Preview normal

3=Maximized

4=Last location

5=Specific location

99=Print to printer with the WMF Fix.

0
 <1, 2> Buttons

0=Display All Buttons

1=Display Print Setup Button Only

2=Display Print Button Only

3=Hide All Buttons

4=Display PDF Button Only

5=Display Print and PDF Buttons

6=Display Print and Print Setup Buttons

2
 <1, 3> Hide0=Display

1=Hide the Printing Window

0
 <1, 4> StartMode

0=Normal

1=Minimized

2=Hidden

3=Completely Hidden

0
 <1, 5> AllowPageRange

0=No Page Range

1=Page Range Dialog Box

0
 <1, 6> Mouse Support

0=No support

1=Mouse

2=Mouse wheel

3=Mouse and wheel

4=Keyboard

5=Mouse and keyboard

6=Wheel and keyboard

7=All

0
 <2> Zoom

>0=Zoom

-1=Page Width

-2=Whole Page

100
 <3> SpecificX1to 100%0
 <4> SpecificY1to 100%0
 <5> SpecificX2to 100%0
 <6> SpecificY2to 100%0
 <7> Duplex

1= Simplex

2=Horizontal Duplex

3= Vertical Duplex

1
 <8> Hidden Export FormatsExport Format. When the Export Formats window is launched from the Preview window, it is possible to disable the export to specific formats.

Set the specific values to 1 within this parameter to disable the format.

Note: Applies to OpenInsight Versions 8.0 and above.

""
 <8,1>PDFSet to 1 to disable option.""
 <8,2>RTFSet to 1 to disable option.""
 <8,3> Save ReportSet to 1 to disable option.""
 <8,4> Load ReportSet to 1 to disable option.""
 <8,5> CSVSet to 1 to disable option.""
 <8,6> ArchiveSet to 1 to disable option.""
 <8,7> N/AN/A""
 <8,8> HTMLSet to 1 to disable option.""
 <9>BackcolorPreview window background color. An RGB number is expected.""
Parm6 - Printer<1,1> DeviceDevice String""
 <1,2> Default PrinterBoolean.

When set to true the Windows default printer will be changed to the printer specified in the Device parameter.

""
 <2> PortPort String""
 <3> ScaleOutputScales the output to the printer100
 <4> BinBin Number""
Parm7 - CharMapCharMap510 bytes""
Parm8 - Image Display In the Preview window, custom images may be used for the icons on the OIPI standard buttons.

Note: Applies to OpenInsight Versions 8.0 and above.

 
 <1,1>Print Dialog Button""
 <1,2>Print Button""
 <1,3>Export Format Button""
 <1,4>First Page Arrow Button""
 <1,5>Prev Page Arrow Button""
 <1,6>Next Page Arrow Button""
 <1,7>Last Page Arrow Button""
 <1,8>FInd Button""
 <1,9>Close Button""
Parm9 - Pagebreak Programs Stored Procedures to call prior to and after the printer control executes its Pagebreak.

Note: Applies to OpenInsight Versions 8.0.2 and above.

 
 <1,1>The name of the program to execute prior to the printer control executing a page break.""
 <1,2>The name of the program to execute after the printer control executes a page break.""

...