Changes for page Print-Service-Plugin


From version 7.1
edited by sas
on 02.03.2022, 14:49
Change comment: There is no comment for this version
To version 4.3
edited by gru
on 02.09.2021, 08:02
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
... ... @@ -135,14 +135,6 @@
135 135  
136 136  === Troubleshooting ===
137 137  
138 -==== Command npm not found ====
139 -
140 -Under Windows it is possible that after the NodeJS installation the environment variables are not set correctly and so npm install cannot be executed. This was also the case if the default path under C:/Programs was not used during the NodeJS installation. So check in the path if these are existing. The following must be done for this:
141 -
142 -* Call up the environment variables via Control Panel > System > Advanced System Settings > Environment Variables button.
143 -* In Path you should find the following entries: {{info}}C:\Users\{username}\AppData\Roaming\npm;C:\Program Files\nodejs{{/info}}
144 -* Confirm with Ok. The console then be opened again with admin rights.
145 -
146 146  ==== Command npm install leads to timeout ====
147 147  
148 148  If the npm install command does not work due to a proxy, then the general proxy setting is not sufficient. Therefore, the following must be executed via console:
... ... @@ -172,7 +172,9 @@
172 172  ==== Downloading Chromium fails ====
173 173  
174 174  The following error message appears on the console after running "npm install":
175 -{{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}}
176 176  
177 177  The described steps are only a workaround and the environment variables should be set back to the default values after the successful installation!
178 178  
... ... @@ -196,13 +196,12 @@
196 196  ; **User groups**
197 197  : A virtual user is created when opening the form with Selenium. Select the user groups here to which this virtual user should belong to. Form elements can be configured to be displayed or editable only for certain user groups.
198 198  ; **URL parameter**
199 -: 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.
188 +: Additional URL parameters added to the URL used when opening the form with Selenium. You can use URL parameters to [[prefill form fields>>Formcycle.FormDesigner.URLParameter]] or access them from within JavaScript.
200 200  
201 201  == CSS-Anpassungen für Druckbild ==
202 -
203 203  === Input elements ===
204 204  
205 -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.
206 206  
207 207  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:
208 208  
... ... @@ -235,31 +235,6 @@
235 235  }
236 236  {{/code}}
237 237  
238 -
239 -
240 -=== Avoid page break ===
241 -
242 -The default setting for printing is that a page break is inserted after each page of the form:
243 -
244 -{{code language="css"}}
245 -@media print {
246 - .CXPage:not(:first-child ), .page-break {
247 - display: block !important;
248 - page-break-before: always;
249 - }
250 -}
251 -{{/code}}
252 -
253 -In order to avoid breaks, the following rule needs to be defined in the CSS tab of the form:
254 -
255 -{{code language="css"}}
256 -@media print {
257 - .CXPage:not(:first-child ) {
258 - page-break-before: avoid;
259 - }
260 -}
261 -{{/code}}
262 -
263 263  === Usage of other fonts ===
264 264  
265 265  ==== Technical requirements ====