Component PDFPRINTER

Attribute summary

Typically used attributes

All attributes are

General attributes are

Positioning

Used inside: BEANPROCESSING

Attribute details

abortonwrongprintername

If printing without print dialog and if passing the client printer name then by default the print dialog is opened if the client printer name does not fit to the client side printers. If defining true with this attribute then no printer selection dialog will show up but the printing will be aborted. If having defined WITHSERVERPRINTNOTIFICATION as true then a corresponding ERROR-callback will be done to the server side.

falsePrinter selection will pop up if client printer name is not correct (default)
truePrinting will be aborted.

actionListener

Binding to server side method that processes the events coming from this component.

#{methodBinding}Method binding

adapterbinding

Special binding to component adapter object instance on server side. The component adapter must be an instance of IComponentAdapterBinding. For some components (e.g. FIXGRID) there is an extended interface (e.g. IFIXGRIDComponentAdapterBinding).

#{tobedefined}Binding to IComponentAdapter instance

attributemacro

Name of macro that is used for generating certain attributes of this component. Please pay attention: the value of this attribute is read one time for each control and cannot be changed afterwards.

clientprintername

Name of printer to which the printing is directed.

clientprintertrayname

Name of tray to which the printing is directed.

 Default tray (default)
topTop tray
middleMiddle tray
bottomBottom tray
......or any other tray name of your local configuration

comment

Comment that can be asigned to any component. The comment is not operationally used.

Any textAny text

configinfo

Configuration information that is attached to this component. This information is not functionally used by CaptainCasa, but may be used for any application specific purpose.

numberofcopies

Number of copies that are printed. Any integer value.

1(default) 1 copy
22 copies
33 copies

paperheight

Paper height in inch for printing.

11.6911.69 inch (default))

papermargin

Width of margin in inch that is arranged around the printed document.

0.10.1 inch (default))
0No margin

paperwidth

Paper width in inch for printing.

8.268.26 inch (default))

pdf

Hexadecimal representation of byte stream that represents the PDF to be output.

reference

Reference to an outside object that is the content behind the component. E.g. a field is representing a certain field of a database table: in this case you could define the value table;column. The reference plays a siginficant role within the attributemacro management.

refOne reference
ref1;ref2Two references
ref1;ref2;ref3Three references

rendered

Flag that indicated if this component is rendered at all. If set to false then the component is not rendered - there is no component data sent to the client.

trueComponent is rendered (default)
falseComponent is not rendered

stylevariant

In CaptainCasa you can define styles definitions for components. A style definition is a definition of a set of default attribute values that are applied to the component. In case you want to differenciate between different usage types of the component you can apply multiple styles - and use the stylevariant attribute to select between.

triggerprint

Trigger value: if the value changes then the component's print function is executed on client side. Use class Trigger on server side for implementations of this property.

withprintdialog

Defines if to shop printer selection and configuration popup on client side.

trueShow dialog (default)
falseNo dialog, printing to default printer

withserverprintnotification

Defines is a notification about the printing is sent to the server. If true, then the action listener will be called.

trueWith notification of server on print
falseWithout notification of server on print (default)