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

Printing method

A technology for starting printing and printing content, applied in the field of printing, can solve the problems of optimization, low degree of intelligence, and inconvenient adjustment of the probability distribution of winning content.

Pending Publication Date: 2021-04-16
DELI GROUP CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, when printing lottery tickets, the lottery tickets should be printed with contents such as winning a prize and thank you for purchasing. When printing such tasks, the existing printing method does not optimize such tasks. The more conventional method is to simply print the , and then mix and scramble. Once the number is large, it is very troublesome. Moreover, it is not convenient to adjust the winning probability distribution of the winning content. Generally speaking, the degree of intelligence is low

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
  • Printing method
  • Printing method
  • Printing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] Such as figure 1 Shown is a schematic flow chart of Embodiment 1. In this example, content A "Thank you for your patronage" and content B "One more bottle" are randomly printed and output. Content A is preset as the content corresponding to the first range, and content B The default is the content corresponding to the second range, set the first range to 80, and set the value greater than 80 to less than 100 as the second range.

[0041] Embodiment one includes the following processes:

[0042] 1) To start printing, first take a random number and define the random number as a positive number less than 1;

[0043] 2) Multiply the random number by 100 to get a value, then compare the value with 80;

[0044] 3) If the value is less than or equal to 80, print content A, otherwise print content B.

[0045] Repeat steps 1), 2), and 3) to perform continuous printouts.

Embodiment 2

[0047] Such as figure 2 Shown is a schematic flow chart of Embodiment 2, which realizes a single type of character string printout.

[0048] Embodiment two includes the following processes:

[0049] 1) To start printing, first take a random number;

[0050] 2) Bring the random number into the random content generation unit to generate content, the content generated by the first random number is recorded as the first content, repeat 1) and 2) until the Nth content is generated, N is the preset number of times of generation;

[0051] 3) Print out the first content to the Nth content.

[0052] The first content to the Nth content are combined into a character string, and N is the number of digits of the preset character string, such as 9 digits, then the first content to the ninth content need to be generated, one character at a time.

[0053] The process of generating content by the random content generating unit is: processing the random number so that it can be compared wi...

Embodiment 3

[0058] Such as image 3 Shown is a schematic flow chart of Embodiment 3, which realizes various types of character string printouts.

[0059] Compared with Embodiment 2, Embodiment 3 adds a process, that is, first judges which type of content the content belongs to according to the random number, and after determining the type of content, processes the random number so that it can be compared with the ASCII table to obtain Random content under one type.

[0060] In this example, the random number is defined as a positive number less than 1, and the random number is multiplied by 3 and rounded up. In this way, three integers can be obtained, namely 0, 1, and 2. Define 0 to correspond to the first type (capital letters) , definition 1 corresponds to the second type (lowercase letters), definition 2 corresponds to the third type (number), then before generating the first content to the Nth content, first determine which type of character the random number should be generated for...

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 relates to a printing method, which comprises the following steps of: 1) starting printing, and firstly taking a random number; 2) comparing the random number with each preset range, and judging which range the random number falls into; and 3) if the printing content falls into one range, printing the printing content predefined in the range, otherwise, skipping to the step 1) to re-fetch the random number. The method has the advantages that the random and controllable range and controllable probability printing content can be realized, the improvement of the intelligent degree is facilitated, and the method can be suitable for a lottery ticket printing task; the invention further provides a printing method which can achieve random printing output of the first content to the Nth content.

Description

technical field [0001] The invention relates to the technical field of printers, in particular to a printing method. Background technique [0002] At present, when printing lottery tickets, the lottery tickets should be printed with contents such as winning a prize and thank you for purchasing. When printing such tasks, the existing printing method does not optimize such tasks. The more conventional method is to simply print the , and then mix and scramble. Once the number is large, it is very troublesome. Moreover, it is not convenient to adjust the winning probability distribution of the winning content. Generally speaking, the degree of intelligence is low. Contents of the invention [0003] (1) Technical issues [0004] The technical problem to be solved by the present invention is: to overcome the shortcomings and deficiencies of the above prior art, and propose a printing method that can realize random and controllable range and controllable probability of printing ...

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
Inventor 钟梦城
Owner DELI GROUP 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