全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1684
推到 Plurk!
推到 Facebook!

QuickRep 點選Printer Preview 之後在列印字體就不同 ?

尚未結案
chubby
一般會員


發表:43
回覆:65
積分:21
註冊:2003-05-13

發送簡訊給我
#1 引用回覆 回覆 發表時間:2005-11-10 16:04:15 IP:220.135.xxx.xxx 未訂閱
使用LQ1170C 1.QuickRep 直接點選Print 列印出字體正常 2.如果先點選Printer Preview 後 在列印後字體就不同 ? (比原字體小) 設定如下: QuickRep.Font.Charset:=CHINESEBIG5_CHARSET; QuickRep.Font.Name:='新細明體'; QuickRep.Font.Size:=10; 困擾很久,不知那位大大有過此之經驗?
kgt
高階會員


發表:17
回覆:308
積分:165
註冊:2002-03-13

發送簡訊給我
#2 引用回覆 回覆 發表時間:2005-11-11 18:29:53 IP:218.165.xxx.xxx 未訂閱
Q: When I use printer fonts, the preview does not match the print out. A: A possible solution to this problem is to assign the printer specific font to your report at runtime. If you use the same font for all controls in your report you should be able to say QuickRep.Font.Name := 'Your font name' before starting your report. If Windows is able to a reasonably good substitution it should work.
kgt
高階會員


發表:17
回覆:308
積分:165
註冊:2002-03-13

發送簡訊給我
#3 引用回覆 回覆 發表時間:2005-11-11 18:36:55 IP:218.165.xxx.xxx 未訂閱
Specifies whether the characters in the font all have the same width. type TFontPitch = (fpDefault, fpVariable, fpFixed); property Pitch: TFontPitch; Description Each typeface has an associated pitch. The characters in fixed-pitch fonts are all the same width. The characters in variable-pitch fonts differ in width. Fixed pitch fonts are generally used for representing source code, because they allow the indentation to line up properly. Variable pitch fonts are generally used to give text a more natural appearance. Here are the possible values for Pitch: Value --Meaning fpDefault --The font pitch is set to the default value, which depends on the font specified in the Name property. fpFixed-- The font pitch is set to fixed. All characters in the font have the same width. fpVariable-- The font pitch is set to variable. The characters in the font have different widths. Setting the Pitch of a fixed-pitch font to fpVariable or a variable-pitch font to fpFixed will cause window system to find what it considers the best match to all of the font characteristics that have been specified. This might have no effect on the appearance of a font, or might cause the window sysytem to substitute a different font with the appropriate pitch. For example, setting the pitch of Serif (a variable-pitch font) to fpFixed causes Courier to be displayed. ----------------------------------------------------------------- Q: I am setting the control's font to Arial but it is printing as Courier (or vice versa). A: Check the control's Font.Pitch property. If you select Arial and set the pitch to fpFixed, Windows will substitute the closest match that supports that pitch.
chubby
一般會員


發表:43
回覆:65
積分:21
註冊:2003-05-13

發送簡訊給我
#4 引用回覆 回覆 發表時間:2005-11-13 12:46:52 IP:220.135.xxx.xxx 未訂閱
kgt:to be grateful 我測試在 TQuickRepPrinterSettings.UseStandardprinter:=True 目前test 尚無在點選Printer Setup 後發生字體不一情行 不知我test結果對否 ?
kgt
高階會員


發表:17
回覆:308
積分:165
註冊:2002-03-13

發送簡訊給我
#5 引用回覆 回覆 發表時間:2005-11-13 17:09:34 IP:61.219.xxx.xxx 未訂閱
只要沒有發生問題的答案,就是好答案。 我只是去找了QUICKREP中的FAQ罷了,每篇看,眼睛是有點累啦!
系統時間:2024-04-27 2:57:43
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!