Method for setting system default printer and invoking print file

A technology for printing files and printers, applied in the direction of digital output to printing unit, input/output process of data processing, instruments, etc., can solve problems such as increased workload of implementation and development personnel, increased error rate, troubles, etc., to achieve reduction Development and debugging workload, the effect of reducing errors

Inactive Publication Date: 2020-07-07
INSPUR FINANCIAL INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the bank-hospital autonomous system, various types of printers or receipt printers are often used to print hospital documents in various formats. If multiple controls are used to call, it is not only cumbersome to use but also easy to confuse, which increases the implementation and development personnel. workload
[0003] The existing bank-hospital self-service system requires the manufacturer to provide the underlying interface or oid command for calling printers of various models, and then carry out secondary development on this basis to generate corresponding printer controls, which not only increases the workload of development and implementation, but also reduces the As a result, the error rate increases. After using this method, you only need to install the system print driver provided by the manufacturer, which not only significantly reduces and reduces the workload and error rate of development, but also adapts to the requirements of most projects.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for setting system default printer and invoking print file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0009] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, so as to define the protection scope of the present invention more clearly.

[0010] see figure 1 , the embodiment of the present invention includes:

[0011] A method for setting the default printer of the system and calling the print file, comprising: based on C++, mainly adopting the API function provided by windows to set the default printer through the printer names of different printers, and then inputting the root directory file name of the file to be printed to call the system printer Print the output files in doc, txt, pdf, jpg and other formats. The specific implementation steps are as follows: The bank-medical self-service kiosk system with BS architecture sets the default printer before calling the printer. If...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for setting a system default printer and invoking a print file. The method comprises the steps of: setting a default printer by means of printer names of different printers by adopting an API function provided by windows on the basis of C++; and then inputting a root directory file name of a to-be-printed file to invoke a system printer to print input files in theformats of doc, txt, pdf, jpg and the like. By means of the mode, the method can be suitable for printers of various types, can reduce development and debugging workloads, and reduces errors in development or use.

Description

technical field [0001] The invention relates to the field of bank-hospital self-service systems, in particular to a method for setting a system default printer and calling for printing files. Background technique [0002] In the bank-hospital autonomous system, various types of printers or receipt printers are often used to print hospital documents in various formats. If multiple controls are used to call, it is not only troublesome to use but also easy to confuse, which increases the implementation and development personnel. workload. [0003] The existing bank-hospital self-service system requires the manufacturer to provide the underlying interface or oid command for calling the printers of various models, and then carry out secondary development on this basis to generate corresponding printer controls, which not only increases the workload of development and implementation, but also reduces the As a result, the error rate increases. After using this method, you only nee...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/12
CPCG06F3/1203G06F3/1231G06F3/1268
Inventor 高强刘吉超苏蕾李贵莫仁超
Owner INSPUR FINANCIAL INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products