连接打印机¶
打印机安装可以通过几个简单的步骤完成。打印机可以用于打印收据、标签、订单,甚至是来自不同的Odoo应用程序的报告。此外,可以将打印机操作分配为制造过程中的 触发器操作 ,或添加到质量控制点或质量检查中。
警告
The only way to connect a printer directly to an Odoo database is through the use of an IoT box.
Without an IoT box, printing can still occur, but it is managed through the printer itself, which is not the recommended process.
连接¶
The IoT box supports printers connected through USB, network connection, or Bluetooth. Supported printers are detected automatically, and appear in the Devices list of the IoT app.
注解
Printers can take up to two minutes to appear in the IoT app Devices list.
链接打印机¶
将打印机链接到工作订单¶
工作订单 可以通过质量控制点与打印机关联,用于打印制造产品的标签。
在 质量应用 中,可以在质量控制点上设置设备。要做到这一点,请转到
,然后打开要链接打印机的所需控制点。重要
一个 制造操作 和 工单操作 需要附加到质量控制点,然后 Type 字段才允许选择 Print Label 选项。
从这里开始,通过选择 Type 字段,然后从选项的下拉菜单中选择 Print Label 来编辑控制点。这样做会显示一个名为 Device 的字段,可以在其中选择附加的 设备。如果需要,可以 Save 更改。
打印机现在可以与所选的质量控制点一起使用。当在制造过程中达到质量控制点时,数据库会提供打印特定产品标签的选项。
小技巧
质量控制点也可以通过导航到 Quality Control Points 选项卡,可以在该设备上添加。
,然后选择设备来访问。有一个注解
On a quality check detail form, the Type of check can also be specified to Print Label. To create new quality checks, navigate to .
另请参阅
链接打印机到报告¶
It is possible to link report types to a specific printer. In the IoT app, go to the Devices menu, and select the desired printer to be configured.
From here, go to the Printer Reports tab, and click Add a line. In the window that appears, check all the types of Reports that should be linked to this printer.
小技巧
Reports can also be configured in the Technical menu of the Settings app, while in debug mode. To do that, navigate to . From here, select the desired report from the list. Then, an IoT Device can be set on the report.
The first time a linked report is selected to print, a Select Printers pop-up window appears. Tick the checkbox next to the correct printer for the report, and click Print. At that point, the report is linked to the printer.
Clear device printer cache¶
After a printer is linked to print a report, the setting is saved in a browser’s cache. This means a user can have different devices saved in their cache for different reports, based on the device they use to access Odoo. It also means different users can have a report automatically printed from different printers, based on their preferences.
To unlink a report from a printer, navigate to Unlink button next to each report to remove the link.
. This generates a list of reports that are linked to a printer on the current device. Click the重要
This step only prevents the report from automatically printing to the listed printer from the current browser. The report is still linked on the device, under the Printer Reports tab.
另请参阅