Windows Develop Bookmark and Share   
 index > Windows Forms Designer > printing in a roll paper (dot matrix printer)
 

printing in a roll paper (dot matrix printer)

Hi,

Im using a Dot Matrix printer and want to print continuously (without page break). But now with printer object i was able to print only upto 15 inches (which is the maximum - my printer driver supported). any ideas?

regards
ackid32
ackid32  Thursday, February 05, 2009 5:58 AM
Hi ackid32,

I think it still depends on your printer. I found the following information from MSDN:Printer.Height Property. Hoping that could help you.

For the Printer object, the Height and Width properties are always measured in twips; they return the physical dimensions of the paper that the printing device is currently set to use. If set at run time, values in these properties are used instead of the setting of the PaperSize property.

If you set the Height and Width properties for a printer driver that does not allow these properties to be set, no error occurs. The size of the paper remains unchanged.

If you set a Height or Width value for a printer driver that does not allow that value, no error occurs. The property is set to a value that the driver allows. For example, you could set Height to 150 and the driver would set it to 144.

Best regards,

Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Wednesday, February 11, 2009 12:16 PM
Hi ackid32,

I think it still depends on your printer. I found the following information from MSDN:Printer.Height Property. Hoping that could help you.

For the Printer object, the Height and Width properties are always measured in twips; they return the physical dimensions of the paper that the printing device is currently set to use. If set at run time, values in these properties are used instead of the setting of the PaperSize property.

If you set the Height and Width properties for a printer driver that does not allow these properties to be set, no error occurs. The size of the paper remains unchanged.

If you set a Height or Width value for a printer driver that does not allow that value, no error occurs. The property is set to a value that the driver allows. For example, you could set Height to 150 and the driver would set it to 144.

Best regards,

Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Wednesday, February 11, 2009 12:16 PM

You can use google to search for other answers

Custom Search

More Threads

• Windows Forms Designer's Undo Engine
• Children of a control incorrectly respond to the mouse popup menu interaction during design time.
• VS2005 RTM - grid/guide toggling broken
• Select the Design Surface
• Registry editor type design(treeview control??)
• Stopping the Designer adding columns
• Extender Provider
• Formdesigner doesn't display controls
• How can I add collection of control like VB6?
• Multiline Attribute used in TextBox.Text property