Changes for page Print-Service-Plugin


From version 5.1
edited by sas
on 26.11.2021, 17:42
Change comment: There is no comment for this version
To version 4.4
edited by gru
on 02.09.2021, 08:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.sas
1 +XWiki.gru
Content
... ... @@ -1,9 +1,5 @@
1 1  [[**Plugin-Download**>>url:https://customer.formcycle.eu/index.php/apps/files/?dir=/FORMCYCLE%20-%20Plugins%20Customer/fc-plugin-print-service&fileid=8194||rel="noopener noreferrer" target="_blank"]] (requires login)
2 2  
3 -{{info}}
4 -{{formcycle/}} Version 7 requires the //Print-Service// plugin version to be **4.0.0** or higher.
5 -{{/info}}
6 -
7 7  {{content/}}
8 8  
9 9  The plugin //Print Services// is available separately and lets you create a PDF document from a form that is optimized for printing. This plugin is subject to additional charge.
... ... @@ -117,7 +117,6 @@
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 -
121 121  * Disable the phantom plugin
122 122  * Delete the phantom plugin
123 123  * Upload new print service plugin
... ... @@ -164,7 +164,9 @@
164 164  ==== Downloading Chromium fails ====
165 165  
166 166  The following error message appears on the console after running "npm install":
167 -{{code language="none"}}Error: unable to verify the first certificate{{/code}}
162 +{{code language="none"}}
163 +Error: unable to verify the first certificate
164 +{{/code}}
168 168  
169 169  The described steps are only a workaround and the environment variables should be set back to the default values after the successful installation!
170 170  
... ... @@ -191,10 +191,9 @@
191 191  : 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.
192 192  
193 193  == CSS-Anpassungen für Druckbild ==
194 -
195 195  === Input elements ===
196 196  
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.
193 +To optimize the form for printing, form elements of type [[input field>>Formcycle.FormDesigner.FormElements.Input]], [[text area>>Formcycle.FormDesigner.FormElements.Textarea]] und [[select>>Formcycle.FormDesigner.FormElements.Selection]] (Drop-Down) may be converted to plain text fields, if the print mode is set to Input elements as text.
198 198  
199 199  Additionally, the CSS classes //print// and //XSpan// are added to the converted input element that can be used for styling them. For example, in order to change the font size, you can use the following CSS:
200 200  
... ... @@ -227,31 +227,6 @@
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 -
255 255  === Usage of other fonts ===
256 256  
257 257  ==== Technical requirements ====