| ... |
... |
@@ -117,6 +117,7 @@ |
| 117 |
117 |
In order for the plugin to be available in {{formcycle/}} as an action in the workflow, it must be deployed in the System Plugin section of the management interface. Instructions for installing plugins can be found [[here>>doc:Formcycle.UserInterface.Client.Plugins.WebHome]]. |
| 118 |
118 |
|
| 119 |
119 |
If the old version of the print service plugin (phantom plugin) was already installed, the following procedure is recommended for installation: |
|
120 |
+ |
| 120 |
120 |
* Disable the phantom plugin |
| 121 |
121 |
* Delete the phantom plugin |
| 122 |
122 |
* Upload new print service plugin |
| ... |
... |
@@ -163,9 +163,7 @@ |
| 163 |
163 |
==== Downloading Chromium fails ==== |
| 164 |
164 |
|
| 165 |
165 |
The following error message appears on the console after running "npm install": |
| 166 |
|
-{{code language="none"}} |
| 167 |
|
-Error: unable to verify the first certificate |
| 168 |
|
-{{/code}} |
|
167 |
+{{code language="none"}}Error: unable to verify the first certificate{{/code}} |
| 169 |
169 |
|
| 170 |
170 |
The described steps are only a workaround and the environment variables should be set back to the default values after the successful installation! |
| 171 |
171 |
|
| ... |
... |
@@ -192,6 +192,7 @@ |
| 192 |
192 |
: Additional URL parameters added to the URL used when opening the form with Selenium. You can use URL parameters to [[prefill form fields>>Formcycle.Designer.Form.URLParameter]] or access them from within JavaScript. |
| 193 |
193 |
|
| 194 |
194 |
== CSS-Anpassungen für Druckbild == |
|
194 |
+ |
| 195 |
195 |
=== Input elements === |
| 196 |
196 |
|
| 197 |
197 |
To optimize the form for printing, form elements of type [[input field>>Formcycle.Designer.Form.FormElements.Input]], [[text area>>Formcycle.Designer.Form.FormElements.Textarea]] und [[select>>Formcycle.Designer.Form.FormElements.Selection]] (Drop-Down) may be converted to plain text fields, if the print mode is set to Input elements as text. |
| ... |
... |
@@ -227,6 +227,31 @@ |
| 227 |
227 |
} |
| 228 |
228 |
{{/code}} |
| 229 |
229 |
|
|
230 |
+ |
|
231 |
+ |
|
232 |
+=== Avoid page break === |
|
233 |
+ |
|
234 |
+The default setting for printing is that a page break is inserted after each page of the form: |
|
235 |
+ |
|
236 |
+{{code language="css"}} |
|
237 |
+@media print { |
|
238 |
+ .CXPage:not(:first-child ), .page-break { |
|
239 |
+ display: block !important; |
|
240 |
+ page-break-before: always; |
|
241 |
+ } |
|
242 |
+} |
|
243 |
+{{/code}} |
|
244 |
+ |
|
245 |
+In order to avoid breaks, the following rule needs to be defined in the CSS tab of the form: |
|
246 |
+ |
|
247 |
+{{code language="css"}} |
|
248 |
+@media print { |
|
249 |
+ .CXPage:not(:first-child ) { |
|
250 |
+ page-break-before: avoid; |
|
251 |
+ } |
|
252 |
+} |
|
253 |
+{{/code}} |
|
254 |
+ |
| 230 |
230 |
=== Usage of other fonts === |
| 231 |
231 |
|
| 232 |
232 |
==== Technical requirements ==== |