Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #5892 > unrolled thread
| Started by | George Tritsos <GeorgeTritsos@yahoo.gr> |
|---|---|
| First post | 2013-10-03 09:40 -0700 |
| Last post | 2013-10-03 09:42 -0700 |
| Articles | 2 — 1 participant |
Back to article view | Back to comp.lang.clipper.visual-objects
NewRichEdit control problem with print. George Tritsos <GeorgeTritsos@yahoo.gr> - 2013-10-03 09:40 -0700
Re: NewRichEdit control problem with print. George Tritsos <GeorgeTritsos@yahoo.gr> - 2013-10-03 09:42 -0700
| From | George Tritsos <GeorgeTritsos@yahoo.gr> |
|---|---|
| Date | 2013-10-03 09:40 -0700 |
| Subject | NewRichEdit control problem with print. |
| Message-ID | <d87e4c66-e9e8-41ea-821f-e186b23eccdc@googlegroups.com> |
I use the NewRichEdit control (downloaded from www.piko.com).
My code:
Class MyDlgPrint AS DIALOGWINDOW
PROTECT oPrinter AS PrintingDevice
METHOD BtnPrint() CLASS MyDlgPrint
LOCAL strucDevMode AS _WINDEVMODE
oPrinter:=PrintingDevice{}
structDevMode:=oPrinter:GetDevMode()
structDevMode.dmOrientation:=2
structDevMode.dmCopies:=2
*
oPrinter:UpdateDevMode()
oDCRichEdit1:TextValue:=PrintText
oDCRichEdit1:Print(oPrinter)
RETURN NIL
1)After oPrinter:UpdateDevMode() i 've checked the properties and its ok for orientation and copies but printing always orientation=1 and copies=1, i also checked NewRichEdit Print method with debugger and the printing device has the right properties.
2)And how to print from Page 1 to 2 or from 2 to 3.
Thanks in advance
George
[toc] | [next] | [standalone]
| From | George Tritsos <GeorgeTritsos@yahoo.gr> |
|---|---|
| Date | 2013-10-03 09:42 -0700 |
| Message-ID | <384c9e6a-d2d9-429d-9930-6af57d8ee4d3@googlegroups.com> |
| In reply to | #5892 |
also i checked with Function FUNCTION ACF_LastErrorMessage() and i taked error message "The data is not valid"
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web