Home > other >  Call the problem of stylus printer on web
Call the problem of stylus printer on web

Time:12-18



Business code would only write four years of development, the distributed high concurrency also can't be a programmer? ->>


Now has a set of CRM system based on web, need to cooperate with a stylus printer to print invoices, invoices are fixed, the size of the how?

CodePudding user response:


First of all, your application needs to be divided into two parts:

1, invoice printing part 2, the web launch part

A, stylus printer mainly to print some paper, such as express delivery list, invoice, etc., before writing code, test the best in you the machine whether can connect to the printer, print, if you are unable to print, the machine don't expect the program can also print,

B, the machine can be connected to the printer and after printing, you can start writing code, first to write a simple program to print one of the most simple, the process of writing refer to the manual of stylus printer secondary development, according to actual condition to select the correct language, for example, you can use Java print: http://blog.csdn.net/amos318/article/details/50962076

C, then you need to consider is how to design the network (how the CRM system will need to print the instructions sent to the printer), according to what you say, have a printer, the printer should be able to connect to a PC, and CRM system can access to it (CRM system in the actual situation of server/PC, the best is that CRM system and printer are working on the same PC, otherwise, you need to lock in the printer connection WindowsPC installed on a printing process, then the CRM system by means of a socket or other ways to communicate with the print program),

D, when the user operation on the CRM web interface trigger printing business, the CRM system will need to print the contents of the sent to the printer by means of similar to the socket's PC for printing can print program,



CodePudding user response:


Have the same demand, focus on first,

CodePudding user response:


Lodop plug-ins can



CodePudding user response:


Generating PDF your own print

CodePudding user response:

Jie table cloud print version free of charge
  • Related