Print Preview ActiveX Active Users: 54 / Visits Today: 55
Highest Active Users: 54
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Print Preview
 Help file
 == General Info
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: zzz Default Values Topic Next Topic: = Alphabetic  reference  

emiel
Administrator

Belgium
327 Posts

Posted - 07/13/2005 :  15:01:11  Show Profile
General Info



The help-topics are locked for reply. They serve only for information.
If any reply or question is desired, you can place them in the "=== Reply" topic.

To find a method you can have a first entry in the topic 'A alphabetic reference' in which you will find links to methods, properties, subs and functions.

In General :

A twip is 1/20 of a point

1 mm = 56.7 twips
1 cm = 567 twips
1 inch = 1440.2 twips

The character 'W' is in most fonts the widest character, but Courier is a font in which all charcters have the same width.

Not all printers support all barcodes.

The method DrawForm is not available for MS-Access.

Default Settings :

Drawline
LineWidth = 20 twips

AddFirstPage : (AddPage resets the following properties :
Fontname = "Arial"
FontSize = 10
Orientation = Portrait
DrawWidth = 20 twips
LineType = VbSolid = 0 (MSVBVM60.DLL = vbRuntime Objects and Procedures is needed if you are using VB-constants.)
PageWidth = A4 (take care when papersize = psPRUserDefine)
PageHeight = A4 (take care when papersize = psPRUserDefine)
PrintHeight = A4 minus n twips (where n is printer related)
Printwidth = A4 minus n twips
PageSize = A4
PaperSize = A4
LeadingVal = 0
LeadingType = 3

Remark : When using PrintHeight/PrintWidth be sure you set PaperSize/PageSize before AddFirstPage and/or AddPage like :

Preview.PaperSize = prPSA3
Preview.AddFirstPage .....


Remark : When using PrintHeight/PrintWidth be sure your printer does support the papersize, if not so, printheigth and printwidth will have weird values.

Available Constants :

Paratext Tags:

Tags and their value are separated with a space and both are enclosed within '< >', like <it 1>
tag - parameter   -  Itīs function     
ac  - ascii code  -  ascii char
bd  - 1 / 0       -  bold on / off
ce  - none        -  center text
co  - r,g,b       -  forecoler
fs  - size        -  fontsize
it  - 1 / 0       -  itallic on / off
ju  - none        -  justify following text
lv  - type; val   -  leading val (white between lines)
nl  - none        -  hard new line
pg  - 1 / 0       -  pagenumber
rl  - none        -  ragged left
rr  - none        -  ragged right
ul  - 1 / 0       -  underline
tb  - none        -  tab
tc  - none        -  clear all tabs
ts  - x posotion  -  tab set
xp  - x position  -  start next text
zl  - none        -  left chevron
zr  - none        -  right chevron

notes :

<ac> allows the inclusion of special character by use of their ascii value
<fs> the size parameter is a floating point value
<pg> includes the current page number. The parameter is used in a call to preview.pagenumber and the string returned from that method is included
<ts> adds a new tab position - the parameter is in twips
<xp> the next item of text starts at the specific x position in twips.

See also:

LeadingVal --->http://www.ppreview.net/forum/topic.asp?TOPIC_ID=389
LeadingType ->http://www.ppreview.net/forum/topic.asp?TOPIC_ID=388


Interface Elements for English


## Element content                 

0  "Print Preview" 
1  "Zoom &Out" 
2  "&Zoom In" 
3  "&Print" 
4  "&Quit" 
5  "Page" 
6  "About" 
7   
8  "Dri&ves :" 
9  "&Directories :" 
10 "List Files of &Type :" 
11 "File &Name :" 
12 "Print Setup" 
13 "Copies" 
14 "N&umber of copies" 
15 "Orientation" 
16 "&Landscape" 
17 "&Portrait" 
18 "Paper" 
19 "&Source" 
20 "Si&ze" 
21 "Page range" 
22 "&All" 
23 "Curr&ent page" 
24 "Enter page numbers and/or page ranges separated by commas. For example: 1,3,5-12" 
25 "Printer" 
26 "Print to &file" 
27 "&Name" 
28 "Paper from the upper bin" 
29 "Paper from the lower bin" 
30 "Paper from the middle bin" 
31 "Manual insertion of each sheet" 
32 "Envelopes from the envelope feeder" 
33 "Paper from the current default bin" 
34 "Please wait" 
35 "Please wait : Reading file"< 
36 "Change the current page" 
37 "Display the first page" 
38 "Display the previous page" 
39 "Display the next page" 
40 "Display the last page" 
41 "Zoom Out" 
42 "Zoom In" 
43 "Print the document" 
44 "Exit the preview display" 
45 "&OK" 
46 "&Cancel" 
47 "Select File" 
48 "Pa&ges" 
49 "Structured file" 
50 "Text file" 
51 "Printing..." 
52 "Registered to :" 
53 "Double click to select a page" 
54 "Page Width" 
55 "Whole Page" 
56 "Two Pages" 
57 "Zoom control" 
58 "&Find" 
59 "Find" 
60 "&Find What :" 
61 "Search" 
62 "Current &Page" 
63 "&All pages" 
64 "Find Whole Word &Only" 
65 "Match Ca&se" 
66 "Find &Next" 
67 "Not found" 
68 "Find text in the document" 
69 "Please wait : Printing" 
70 "HTML file" 
71 "Bitmap file" 
72 "Custom button" 
73 "RTF file" 
74 "Setup" 
75 "Section" 
76 "Copy to Clipboard" 
77 "Mail the document" 
78 "Mail" 
79 "Send to the following emails. Separate multiple email addresses with a comma or semi-colon." 
80 "File Type :" 
81 "Send Mail" 
82 "To :" 
83 "Subject :" 
84 "Message :" 
85 "Attachments :" 
86 "Automatic send, no UI" 
87 "&Send EMail" 
88 "&Generate" 
89 "All pages" 
90 "Odd pages" 
91 "Even pages" 
92 "As Preview" 
93 "PDF file" 
94 "Print directly the document"


Come and visit :
www.immoassist.com
www.ppreview.net
www.vbdiamond.com
www.d2dsources.com
www.mandix.com



Edited by - emiel on 07/08/2006 11:34:40
Go to Bottom of Page
  Previous Topic: zzz Default Values Topic Next Topic: = Alphabetic  reference  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Print Preview ActiveX © Mandix Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.02