简体   繁体   English

在JPOS.xml中添加PDF打印机

[英]Adding PDF Printer in JPOS.xml

I'm new in JAVA, and especially in ORPOS application. 我是JAVA的新手,尤其是ORPOS应用程序。 I need to add a PDF Printer to ORPOS application to simulate the real printer. 我需要将PDF打印机添加到ORPOS应用程序以模拟真实打印机。
I find that in JPOS.xml I must change the printer details but I don't know what details to change. 我发现在JPOS.xml我必须更改打印机详细信息,但是我不知道要更改哪些详细信息。 I installed the PDF24 printer but how to add in JPOS.xml ? 我安装了PDF24打印机, 但是如何添加JPOS.xml

Oracle doesn't test network printing to the PDF24 driver so no guarantee that the following will work nor is this configuration supported. Oracle不会对使用PDF24驱动程序的网络打印进行测试,因此无法保证以下操作也将有效,也不保证此配置不受支持。

You will need to install the ORPOS client for a Network printer as JPOS won't work without JPOS drivers for PDF24. 您将需要为网络打印机安装ORPOS客户端,因为如果没有适用于PDF24的JPOS驱动程序,JPOS将无法工作。 Let's assume a Windows client with the PDF24 driver installed and ORPOS 14.0. 假设安装了PDF24驱动程序和ORPOS 14.0的Windows客户端。

For 14.0 there will be a prompt during the install for Network Printer Support, choose Page Printer and NEXT. 对于14.0,在安装过程中将提示您“网络打印机支持”,选择“页面打印机”和“下一步”。 Enter the printer name PDF24 PDF (or whatever name it has). 输入打印机名称PDF24 PDF(或其他名称)。 The Print Language should be PostScript. 打印语言应为PostScript。 Enter next and complete the install. 输入下一步并完成安装。 Don't select the option for a JPOS printer! 不要为JPOS打印机选择选项! For other releases there may be only an option for a Network printer without the option for page or roll, so check network printer and enter the name and language. 对于其他版本,网络打印机可能只有一个选项,而没有页面或纸卷选项,因此请检查网络打印机并输入名称和语言。

If you're intent is to just be able to test without a printer then leave the JPOS printer simulated and the printer output will be sent to the Java console. 如果您打算仅在没有打印机的情况下进行测试,则将JPOS打印机保持模拟状态,然后将打印机输出发送到Java控制台。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM