Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dox matrix printer cannot print a wide line???

Status
Not open for further replies.

jusan

Programmer
Mar 1, 2002
26
US
I am using VB6 on window 2000/xp. I am trying to print 132 characters per line out to Epson DFX 5000 dot matrix printer. But the printer quit at 102 characters per line. I tried to set printer.papersize to wider paper size. But it still won't print out the full width of the text. If anyone can give me some help, it is highly appreciated.

 

Set margins to zero in settings (if those settings are there), beyond that, ???

Good Luck

 
Thank you for your prompt response. But I don'w know where the margin setting is. Is that in printer object?
 

I mean the settings for the printer in the printer dialog box (Start>Settings>Printers).

Good Luck

 
Thank you very much. I went to the Control Panel and changed the settings in the printer property to select paper size US Std Fanfold. Now it can print out the whole line. Thanks again. However, I wondered why I cannot control those settings inside my program.
 

You can but it takes a whole lot more than the printer object to be able to change these settings.

Good Luck

 
Thank you very much for your prompt response. Is it possible you can give me some sample of code to show us how to change those settings inside vb programs? Your help is highly appreciated.
 

Search this site for GetDeviceSettings. I just put some API's up needed to work with a printer.

Good Luck

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top