Query |
Details |
Is there a way to print the barcode in silent mode? I mean avoiding to show the SfDialog |
Currently, we will use the browser default print functionalities for printing the PDF document in our PDF Viewer control. So the browser does not support silent printing (print directly to a local printer). In web technologies, do not support direct printing without additional client-side software because it creates valid security risks. So we were unable to perform the silent printing on our end. |
what is the best practice to print a barcode directly to a print? Not necessary to add it to a pdf document. |
We will analyze further on your requirement and update you with more details on December 30, 2020 |
Query |
Details |
PDF |
As mentioned earlier, Currently, we will use the browser default print functionalities for printing the PDF document in our PDF Viewer control. So the browser does not support silent printing (print directly to a local printer). In web technologies, do not support direct printing without additional client-side software because it creates valid security risks. So we were unable to perform the silent printing on our end |
Word |
Barcode in Document editor.
In Word document we can insert barcode as text by applying barcode font or as image by creating from barcode generators.
Currently we are working on sample to insert barcode as image to document editor. We will share the sample on or before Jan 5th,2021.
Silent printing
We are sorry to let you know that silent printing is not possible in web platforms. As a work around it can be achieved using the browsers settings. Eg. https://stackoverflow.com/questions/36265503/silent-print-from-browser
|
<SfRichTextEditor @ref="rtb" Value="@contenutortb" Width="0" Height="0" HtmlAttributes="@CustomAttributes">
<RichTextEditorToolbarSettings Enable="false" Items="@Tools" />
</SfRichTextEditor>
Dictionary<string, object> CustomAttributes = new Dictionary<string, object>() {
{"style", "display: none;" }
}; |