Link to home
Start Free TrialLog in
Avatar of newbie22
newbie22

asked on

Problem with printing on generic printer.

Hello everyone I have problem when I try to print my textboxes on generic printer (STAR Tsp550 II) ( That printer is used in stores or snack bars or restaurants , you get recipe on that kind of printer -it print only text)

So when I print my form on normal printer there is no problem , But when I try tu print it on generic one I get this message:  

 An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.drawing.dll

Additional information: The data area passed to a system call is too small

AND MY CODE : PrintDocument1.Print() ------------- IS GREEN.

I use visual studio.NET 2002.


PLEASE HELP.

P.S.  I can normally print things on that printer from word or excel.
ASKER CERTIFIED SOLUTION
Avatar of kidcarson
kidcarson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial