Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for printing table data based on line printing style

A technology for tabular data and printing data, applied in the field of big data, can solve the problems of browser printing compatibility, browser printing cannot modify printing parameters at any time, browser printing cannot be flexibly and quickly modified and customized printing format, etc., to achieve flexibility Convenient printing format, flexible and convenient adjustment, and the effect of solving compatibility problems

Active Publication Date: 2021-01-15
ZHONGBO INFORMATION TECH RES INST CO LTD
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a method and device for printing table data based on the line printing style, solve the problem of printing compatibility of existing browsers, solve the problem that browser printing cannot modify printing parameters at any time, and solve the problem that browser printing cannot be modified flexibly and quickly Technical issues with custom print formats

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 and device for printing table data based on line printing style
  • Method and device for printing table data based on line printing style
  • Method and device for printing table data based on line printing style

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] like Figure 1-Figure 8 As shown, a method for printing tabular data based on the row printing style includes the following steps:

[0050] Step 1: The client obtains the printing business to be processed and the printing data source, defines the basic printing parameters of the printing template, edits the printing style of the row and merges items, and generates a preset printing template;

[0051] Step 2: The client submits the preset printing device template to the printing server. The printing server connects to the printing device, obtains the properties of the printing device, assigns and corrects the basic printing parameters, and obtains the width and height of the printing page defined by the printing template. The width and height of each print font in the font set;

[0052] Step 3: The printing server configures the row printing style;

[0053] Step 4: The printing server marks all data rows in the print data according to the row printing style defined in ...

Embodiment 2

[0153] The device for printing form data based on the line printing style described in embodiment 2 is matched with the method for printing form data based on the line printing style described in embodiment 1, including a client, a printing server and a printing device, Both the client and the print service are servers. The client uses WEB pages, and the print server provides an HTTP service interface. The client interacts with the print server through POST or GET. The interactive data adopts JSON format data or XML format data. The printing server is connected to the printing device through a network cable.

[0154] A method and device for printing table data based on a line printing style according to the present invention solves the printing compatibility problem of existing browsers and solves the problem that printing parameters (line spacing, page margin, font and line style) cannot be modified at any time during browser printing. ) problem, to solve the technical proble...

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 and device for printing table data based on a line printing style, and belongs to the technical field of big data, and the method comprises the steps that a client obtains a to-be-handled printing business and a printing data source, defines basic printing parameters of a printing template, and edits the line printing style and merge items; the printing server performs assignment and correction on the basic printing parameters, performs line printing style configuration, marks line printing style label names, calculates position coordinates of all printing itemareas, calculates positions of all printing lines, and completes a basic printing function; and a print preview is sent to a client. According to the method, the problem of printing compatibility ofan existing browser is solved, the problem that printing parameters cannot be modified at any time in browser printing is solved, the technical problem that a printing format cannot be flexibly and rapidly modified and customized in browser printing is solved, and data printing of a relatively complex tabular layout can be rapidly customized.

Description

technical field [0001] The invention belongs to the technical field of big data, and relates to a method and a device for printing table data based on a line printing style. Background technique [0002] At present, Internet applications have spread to all aspects of our daily life, such as restaurants, hotels, supermarkets and so on. Printing on network terminals (such as receipts, vouchers, etc.) is a common application, and such printing data is basically in form. figure 2 , the hotel check-in slip is attached image 3 , the data can be text, lines, barcodes and QR codes, etc., and the table border can be explicit or implicit. [0003] Most of the applications on the network terminal use the browser printing method. This printing method is relatively simple, but the disadvantages are also obvious: it is impossible to accurately locate the printing position, and it is impossible to quickly and flexibly modify the font style, line spacing, and page margins, and customize ...

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/1205G06F3/1208G06F3/1253G06F3/1255G06F3/1257
Inventor 朱云杰
Owner ZHONGBO INFORMATION TECH RES INST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products