C # Call Codesoft control two printer printing

Source: Internet
Author: User

Because the project needs, the customer should print different specifications of the label at the same time, so it is necessary to control the two printers work simultaneously. Have tried before, only the new print process, select the printer in the Codesoft template settings, and open a different codesoft template when the program calls print. But this will have a problem, call printing, always in the default printer to print, should be on another machine on the printer, the result ran to another one up. This will not control. Finally in a variety of toss under finally can be achieved, the way to achieve the following:

The 1.c# program new two printing processes, two processes open two templates respectively. Simply put, the original print part of the code is again copy.

2. The important point is to specify the name of the printer that is invoked in the code. (This can Baidu to, its own Baidu to go.) )

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.