Page 1 of 1

Dotmatrix printing

Posted: Fri May 06, 2011 6:21 am
by fabiomarcos
Hi !

I need to fill some forms using dotmatrix printing, and I need to perform a LineFeed (or blank line) to position the printing in the right location.
How could I make printer perform a linefeed or print a blankline to advance one or more lines ?

Best regards

Dotmatrix printing

Posted: Tue May 10, 2011 7:37 am
by Ivan
Hello,

Please check the UserManual from our site, article "Dot-Matrix Viewer for WinForms".
When printing in Dot-Matrix mode all the coordinates and sizes of objects are recalculated. Zoom X and Zoom Y coefficients control this conversion.
By default, Zoom X = 100%, Zoom Y = 100%. With these values of the parameter, the A4 page is converted to text with sizes of 80 characters by width and 62 rows by height.
This corresponds to using the Pica font of the printer (80 characters per line) and the line spacing 1,0.
The following values are frequently used:
- Zoom X = 100% corresponds to using the Pica font of the printer (80 characters per line);
- Zoom X = 120% corresponds to using the Elite font of the printer (96 characters per line);
- Zoom X = 170% corresponds to using the condensed font of the printer (136 characters per line);
- Zoom Y = 100% corresponds to the using the line spacing 1,0.
For control the line height you can use the Escape sequences.
In version 2010.2 good support of Escape-codes appeared.
For inserting the escape sequence to text the commands that may look like should be used
...
When printing to matrix printer and exporting to text format these commands are changed on appropriate escape sequences.
The StiEscapeCodesCollection is used for this process. It is inherited from the Hashtable class. This is a collection of "key-value" pairs where the key is the command and value is the escape-sequence. For different types of printers different collections with different set of command can be defined.
...
It is possible to add new collections of change the existing ones. The selection of the required collection is done by the name. If the collection with the name is not found then the "None" collection is used. The collection name can be selected from the DotMatrixViewer settings and passed as an option to the exporting and printing methods.
Thank you.

Dotmatrix printing

Posted: Sat Nov 12, 2011 6:47 am
by flima
Ivan wrote:Hello,

Please check the UserManual from our site, article "Dot-Matrix Viewer for WinForms".
Ivan, I cannot find this documentation. Can you provide a link to it ?

Thanks,

Fábio

Dotmatrix printing

Posted: Sat Nov 12, 2011 11:34 pm
by Andrew
Hello,

Please download USer Manual at http://www.stimulsoft.com/Documentation ... En.Pdf.zip and find the following sections
Using WinForms Viewer -> Dot-Matrix Viewer for WinForms

Thank you.