Print Image without PrintDIALOG()
Posted: Sat Oct 02, 2010 6:45 pm
hi,
I have to print some text and a picture to the default printer for my current projekt. (meassurement system that bases on an own gui for industry)
(you can choose the default printer if you want to via an own dialogwindow)
how can I print something without calling the Printdialog()-command?
yours
walker
example-code (doesn't function
) :
I have to print some text and a picture to the default printer for my current projekt. (meassurement system that bases on an own gui for industry)
(you can choose the default printer if you want to via an own dialogwindow)
how can I print something without calling the Printdialog()-command?
yours
walker
example-code (doesn't function
Code: Select all
str.s = Space(100)
Debug GetProfileString_ ("windows", "Device", "1", @str,101)
Debug str
StartPrinting("hallo welt")
If StartDrawing(PrinterOutput())
Box(10,10,100,100,RGB(233,23,23))
StopDrawing()
EndIf
StopPrinting()