Home > Software engineering >  Whether the form to print alternative
Whether the form to print alternative

Time:09-26

Made a Courier single set of dozen of small programs, is in the form of print, how can type the words look like photo print is not like text printing, speed also feel has difference with pure text printing, is there any way can print according to the text form, or in other ways instead of the form to print?

CodePudding user response:

"Form to print" must be "image" in the form of processing,

You can use a Word document template to process printing,
If you have a "list" of no high requirements on the format can be output to a text file, and then use the Shell statement execution:
Sheel " Notepad. Exe/p output file ", vbHide
Through the notepad program to print, pay attention to the "output file" had better use the full path,

In addition, is to see if the print content directly to the output to the printer, the method of

CodePudding user response:

So no good, I is used to express a single, a format position demand, if use word or notepad this third-party software output, one is the format is not good control, and could not read data continuous printing, it is not enough...

CodePudding user response:

"Delivery list", should be a good control,
1. If use TXT file, put a notepad font, font size set, font to use "monospaced font", such as new song typeface, song typeface can,
Then, the output file, with Spaces to fill an alignment,
2. The use of Excel spreadsheets in the template, adjust good format,
Program, open the template file, to output the contents of the fill in the corresponding cell, then print,
With this, "control" is convenient, than with TXT file

CodePudding user response:

Don't use the picture printed
If you set is excel well set
Can't learn a little bit like crystal reports again very good
How can there be a text image clarity?

CodePudding user response:

Print directly to the specified coordinates, has already wrote one set of the envelope,
Measured with a ruler XY, type text directly, is very simple,
QQ: 5507350

CodePudding user response:

Print to picturebox and saveimage
  • Related