trichview.com

trichview.support




Re: Print


Return to index


Author

Message

Sergey Tkachenko

Posted: 06/15/2003 23:27:22


Preview can be made by creating empty RichView document for printing (must

contain at least one empty text item, otherwise it will not be printed at

all), and drawing pages using OnPagePrepaint event.


Example is attached


> Hello, Sergey!

> You wrote:

>

>  ST> It's possible with TRVReportHelper component.

>  ST>

>  ST> Look at the example in Demos\Delphi\Assorted\Printing\ReportHelper\

>  ST>

>  ST> It shows how to print two pages per sheet. You modify this code to

>  ST> print a specified number of pages per sheet.

>

> Thats right - printing, but not print preview... :(

>

>



begin 666 preview.zip

M4$L#!!0``@`(`$4#T"ZVOM?97@8``#@2```)````56YI=#$N<&%SK5=M;UHW

M%/X^:?_A?%A7:"\L1-L76*8E)"R12(((336U566N#7BYV%>V(:"J_WWGV/<5

M2!MMJ2KBZ_-^SG..[2^ME_WWXP\`YV*INY :J9Q4<^ Z7BV%<A96EKXGX_NQ

M2+5QER))A6F3R&0A+7"4@T0S;F%\/X"93 1(!6:]:(]EO+B7XA&8XD&S!>F\

M*)*/09)RP<'I0(6%8%R8+C1:D+*Y`*6AU41^DCCE:Z8<[EK0,W!D>BG<0O,N

M45% 6RNG,I%N2PJ7[$% O+).+R'6RS01FTR]]>[,M':XCH#+V4P8C!2W#*F"

MRA9Y87L'#4C221E"+Y5UJ),9#@G;ZI5#M44BK5@+PY(RH<$&IJ@TPXQ@&);"

ML 18MA3><"1<["LC+?M.\(HR*-:4ZP9SD* Z%^&N@T?I%E2\$?DS"CS-((2>

M@A(A_S%+XE7"G "6))@\,Y?*$H>Q(IGY"KPTY,B)@38@-HQ2&7E_8J9 IT*5

M6(HQ-PZ=G&[A-'92JXG8.&A(%2<K3@E&.E^*MEG/FAY:Y]H'[HPO$R$S*)H9

MA (E6'#IT*X';H-@;S^^^7CA-VWV%SI-3)!T6#7A"T8:8XTEP+HQ7"6)\,Y0

M.:S;)@)+;C5)4 13X8- K[5*MN@ZJ6!IFLB8D92%!5N3[V[!W$%M'O0OW.5?

M2>=*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+"T!^8OB,W?0/DIJ_//J8OM,_LIN]3GB9Z)I2I

M6G-U+664;?C-8?Q7M./F5YX:8CS^9KKRV+377[EIF^6E&E]GZZV0RKL5F?8>

M<YV(3'GFE- LE_72<$OBF&<3(\-&R(2K<=O]3DE4TDC79"IFN)$N& U3SJ>.

M<HPXPC'T43<,4*_LVR9\"@5H&XA%12SPJJF 3O&3@>$/>L6/W/ CF^Q=&M0&

MN4MC(M+]+@-5<MAZ*2VPM/B-`94&1!H+KK'7!E*WCMI 6X/M25&:&BDLE./3

MJ5:+HJK7,]L)*A)@U*A%\;"04^#6,(5NS"EV6CWIQWRQ-9ACBW&O3HEZ4'58

M<R!J:+"VYB& PVCX;LTSYK" U$E=<TK_+.:$.C'O9 &JYPQU@HYH]PAV4OH7

MLELE:- HT1G>& P;WK0_O$>]X4V=X>V[P_NC%&B %-;EUTS+P\P6?CFQRGV[

MW+YF%18(RK'UN+*'FX7D0P=6K8UM[75\4.=<$ P;6)CTS@74;0VV;C^=#/9T

MRU?[S;W8V(/YP+,9K;H;8K#I;K3M;L3F_P`*A+C=C8# H>#.-F0-#H-[L8[2

M921/*E8$_(H$8C6)8EEK9]OU`!((!FX<1M"-0W"<Q$),Q<6].2(-C$$#OTTC

M`CMIQ(8U&P)Z:418;\(X:408^*3$4&_"X%Z%`7?"L-Z$L93-:]:CC+D<&Y!/

M6_%^9U^&B@%B+B9;OG[E<:7?[6FG85I5H4W;>M8&)ZN'`]A3CSAG78BZ9UW;

M$&W1676%*EXFZG7G#>]?4$L!`A0`% `"``@`10/0+K:^U]E>!@``.!(```D`

M`````````0`@`+:!`````%5N:70Q+G!A<U!+`0(4`!0``@`(`'"J=BU+R\QZ

MB ```, ````0``````````$`( "V@84&``!297!O<G1(96QP97(N9'!R4$L!

M`A0`% `"``@`AUI\+A_QE==Q`0``; ,``! ````````````@`+:!.P<``%)E

M<&]R=$AE;'!E<BYR97-02P$"% `4``(`" #:`M NK3%O+]\$``!U+@``"0``

M```````!`" `MH':" ``56YI=#$N9&9M4$L!`A0`% `"``@`4@/0+NRN)ETJ

M!0```1(``! ``````````0`@`+:!X T``%)E<&]R=$AE;'!E<BYD<VM02P4&

2``````4`!0`H`0``.!,`````

`

end





Powered by ABC Amber Outlook Express Converter