Can StratoIO WebPrinter directly print files in PDF format? StratoIO WebPrinter FAQ


1. Does the print control support double-sided printing?

Our control supports double-sided printing. Since printers are divided into double-sided and non-duplex, our control will detect whether your printer supports double-sided printing to present your final printing method. If it is a double-sided printer, you can check the double-sided printing in the following figure. Otherwise, it cannot be selected.

2. Is it possible to print files in PDF format directly?

The PDF printing function has been integrated into the version after 1.2, but it is still in the testing stage, and frequent and large printing may cause the control to crash. API parameters for PDF printing:
config:{
type:”PDFURL”,
content:”http://xxx/xxx.pdf”
}

3. Can the print control realize the printing of the background (watermark)?

The print control itself does not provide the function of watermarking, but you can implement it yourself through CSS. This one can be customized according to your needs!
4. How to set the default printing method of the printer?
[img]http://s.zim-soft.com/webprint/doc/faq/faq_02.png
[/img]
Find the printer in the print console and click the default
. 5. Does this control need to be connected to the Internet to print?

The print control itself has no requirements on the network environment, and whether it is connected to the Internet depends on your application scenario.
6. On which operating systems does the control work?

It currently runs on Windows 7 (inclusive) and later versions of Windows, and supports both 32- and 64-bit versions of Windows.
7. Can the mobile phone print?

It is not supported to run this control directly on the mobile phone, but it can be realized by connecting to the print server through the Remote JS API.
8. What services does the product support?

We provide the following free services: a. Online technical consulting service; b. Control vulnerability repair service

and the following paid services: a. Template customization service; b. Application docking service
9. Why is the printed content smaller than that of other software? ?

This may be because you have not set the margins, the printer's default margins will be used, which will look smaller than the normal printed layout. It can be solved by simply specifying marginTop, marginBottom, marginLeft, and marginRight in the API. The printer's default margins can also be set in the print console.
10. How to import external JS?

You can directly use the script tag to import external js to render the page. It should be noted that the link in the src must be an absolute path accessible to the printing user. Also, javascript needs to be set to true when requesting the API (default is true).
11. How to import external CSS?

You can directly use tags to import external CSS. The only thing you need to pay attention to is that the link in the href must be an absolute path accessible to the printing user.
12. How to batch print documents?

The Strato Web Print Control provides two methods for batch printing, which are accomplished by passing in the following parameters in the API:

a.copies: Using this property during printing is equivalent to specifying the "number of copies" for the printer, and the printer completes batch printing.

b.repeats: For some special printers (such as thermal), the number of copies may be poorly supported. In this case, the repeats parameter can be used, and the print control loops the tasks to the printer to complete the printing, which can be viewed in the print console Print the progress (eg 1/10). The actual number of copies will be determined by two parameters, such as copies=2, repeats=10000, then a total of 2000 copies will be printed, and the console display progress format is n/1000. Please use the most suitable method according to the printer.
13. How to formulate print page numbers?

Print pages can be specified using the pageRanges option, such as
config:{ pageRanges:"1,5,7-10,22" }


At this point 1,5,7,8,9,10,22 pages will be printed.
Article source: Reprinted from http://webprint.stratoio.com/doc/faq

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326484493&siteId=291194637