Changes for page Print-Service-Plugin


From version 9.1
edited by awa
on 13.06.2022, 18:29
Change comment: There is no comment for this version
To version 7.1
edited by sas
on 02.03.2022, 14:49
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.awa
1 +XWiki.sas
Content
... ... @@ -92,7 +92,7 @@
92 92  
93 93  Translated with www.DeepL.com/Translator (free version)
94 94  
95 -=== Uninstall ===
95 +==== Uninstall ====
96 96  
97 97  To uninstall the Print Server, open a command line (cmd) with administrative privileges and execute the following commands:
98 98  
... ... @@ -133,17 +133,17 @@
133 133  
134 134  This completes the setup of the print service plugin and it is available as an action in the [[workflow processing>>doc:Formcycle.Designer.Workflow.WebHome]].
135 135  
136 -== Troubleshooting ==
136 +=== Troubleshooting ===
137 137  
138 -=== Command npm not found ===
138 +==== Command npm not found ====
139 139  
140 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 141  
142 142  * Call up the environment variables via Control Panel > System > Advanced System Settings > Environment Variables button.
143 143  * In Path you should find the following entries: {{info}}C:\Users\{username}\AppData\Roaming\npm;C:\Program Files\nodejs{{/info}}
144 -* Confirm everything with Ok. The console then be opened again with admin rights.
144 +* Confirm with Ok. The console then be opened again with admin rights.
145 145  
146 -=== Command npm install leads to timeout ===
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:
149 149  
... ... @@ -161,15 +161,15 @@
161 161  
162 162  More information can also be found here: http://www.fladi.de/2014/02/06/howto-npm-hinter-einem-proxy-verwenden/
163 163  
164 -=== Printing does not work ===
164 +==== Printing does not work ====
165 165  
166 166  If printing via {{formcycle/}} is not possible, the cause could be that the print service is not reachable. This can be solved by the loopback URL. Under System > General > Loopback URL, loopback base URL: {{code language="none"}}http://localhost:<port>/formcycle{{/code}}
167 167  
168 -=== PDF is printed, but the message 404 appears ===
168 +==== PDF is printed, but the message 404 appears ====
169 169  
170 170  In this case the print service works correctly because a PDF is already created. It must be checked whether the loopback URL is entered correctly so that the URL to the print service is resolved correctly.
171 171  
172 -=== Downloading Chromium fails ===
172 +==== Downloading Chromium fails ====
173 173  
174 174  The following error message appears on the console after running "npm install":
175 175  {{code language="none"}}Error: unable to verify the first certificate{{/code}}
... ... @@ -185,19 +185,17 @@
185 185  
186 186  To use this plugin, go to the workflow processing configuration, click on new action and select this plugin. The following options are used to configure the plugin action:
187 187  
188 -; File name
188 +; **File name**
189 189  : File name of the created PDF document.
190 -; Print mode
190 +; **Print mode**
191 191  : Input elements as text: Input elements are converted into plain text fields and the form is adapted to the width of the page.
192 -; Print mode
193 -: By default, are form fields such as input fields and select fields are converted to plain text. If you choose to disable this conversion, no changes are made to the form and it is printed so that it looks as closely as it does in a web browser as possible.
194 -; Zoom factor
195 -: Scale factor for the form. Use this to magnify or scale down very large or very small forms.
196 -; Blank form
197 -: Can be used to create PDF documents that can be printed out and filled out manually with a pen. When enabled, all form field values are cleared and all hidden fields are shown. In addition, the maximum number of element repetitions are created.
198 -; User groups
192 +; **Print mode**
193 +: Web view: No changes are made to the form and it is converted so that it looks as closely as it does in a web browser as possible.
194 +; **Zoom factor**
195 +: Factory by which the form is scaled. Use this to magnify or scale down very large or very small forms.
196 +; **User groups**
199 199  : 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.
200 -; URL parameter
198 +; **URL parameter**
201 201  : 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.
202 202  
203 203  == CSS-Anpassungen für Druckbild ==
... ... @@ -237,6 +237,8 @@
237 237  }
238 238  {{/code}}
239 239  
238 +
239 +
240 240  === Avoid page break ===
241 241  
242 242  The default setting for printing is that a page break is inserted after each page of the form: