SlideShare a Scribd company logo
1 of 3
Download to read offline
GRAPHICS/STYLES
Seeing is Believing
Printing a 5.1 graphics catalog
Sometimes minor problems are the
most vexing. Forgetting what a
graphic file looks like,just when you're
about to enter thefilename,is one such
annoyance. This memory lapse forces
you to retrieve the graphic image and
take a look at it
Such delay causes frayed nerves,
indigestion and aggressive freeway
driving.
A better way exists. Using a style
and a 5.1 macro, you can create a print-
out of your graphics, along with their
filenames, so you can decide at a
glance which graphic you want. Before
creating this macro, here are a few
things you must do to ensure that it
runs correctly.
Know your directory
Know which directory contains
your graphic files. If you haven't made
a subdirectory for your graphics, do
so. I keep my graphic files in a direc-
tory called C:WP51GRAPHIC. You
can make such a directory by pressing
list (F5), (7) Other Directory, dien
typing the new directory name and
pressing (Enter). You must also type
the new directory path in Setup (Shift-
Fl), (6) Location of Files, (6) Graphic
Files.
Move your graphics into this
directory by marking each file with an
asterisk (*) and pressing (8) Copy.
Write down the graphics directory
pathname for future reference.
For this macro to work, you need a
WordPerfect 5.1 release dated
6/29/90 or later, or any 5.1 release and
the 3.0 version of Shell. Shell is a menu
program that ships with DrawPerfect
and Office 3.0.
If you have Shell, but don't know the
version, press Help (F3) at the Shell
menu screen. The version number
appears in the upper right-hand
corner. You can also press Help (F3)
at a 5.1 document screen to find tiie
version and release date. If you have a
release of WordPerfect 5.1 dated
6/29/90 or later, you don't need to
create the Shell macro.
The style
The first step is to create a style that
formats the printout. This speeds up
the process, since the macro won't
have to execute keystrokes to set mar-
gins, fonts and graphic options. Also,
using a style makes it easier to make
changes to the printout format.
Because the font you select limits the
space for the graphic image, you'll
want to choose the smallest available
font when creating this style.
Press Style (Alt-F8), (3) Create, (1)
Name, type G-List and press (Enter).
Press (4) Codes, Format (Shift-F8),
(2) Page, (5) Margins, enter .45" for
the top and .22" for the bottom and
press (Enter). Press (1) Line, (7) Mar-
gins and enter .5" for both left and
right. Press (4) Line Height, (2) Fbced
and enter i " as the line height.
Press (8) Tab Set, press (Ctrl-End)
to clear tabs, type 0,1 and press
(Enter) to set a tab stop every inch
from the left margin. Press Exit (F7)
twice to return to the Style: code
screen.
Now press Font (Cb-1-F8), (4) Base
Font, highlight the smallest font avail-
able and press (1) Select. Press
Graphics (Alt-F9), (1) Figure, (4)
Options, (3) Inside Border Space. Set
s
by Kevin J. Marshall
WordPerfect the Magazine • January 1991 79
GRAPHICS/STYLES
Place Style On Codes above, and Style Off Codes below.
Style: Press Exit when done Doc 1 Pg 1 Ln 1" Pos 1"
A { k k A .A A A A
[T/B Mar;0.45",0.22"][L/R Mar:0.5",0..r'][Ln Height:l"][Tab Set:Rel: 0", every
l"][Font:Helv 6pt (AC)][Fig Opt][Coniment]
Screen 1. The Style Codes
1 {DISPLAY OFF}
2 {IF}{SYSTEM}shellver~<768~
3 {PROMPT}Shell version - 3.0 or- higher- not loaded."
4 {WAIT}30~{QUIT}
{END IF}
6 {Style}7g-list.sty{Enter}l
7 {List}C;WP51GRAPH{Enter}{Right}
8 {ASSIGN}stop~{SYSTEM}list~-2~
9 {Exit}
10 {FOR}limit~l~{VARIABLE}stop~ ~ 1 ~
11 {Graphics}FCTC
12 SB.9"{Enter}.9"{Enter}F
13 {DISPLAY ON}{List}{List}{Right}
14 {SHELL MACRO}COLUMN.SHM~
1.'i {DISPLAY OFF}
16 {IF}({VARIABLE}limit~%7)=0~ {Enter}
17 {ELSE}
18 {Tab} {END IF}
19 {PROMPT}Box-{VARIABLE}Iimit-
20 {END FOR}
21 {DISPLAY ON}{Backspace}{Right}
22 {DISPLAY OFF}
23 {Prlnt}TD{Exit}
24 {Save}GRAPH.LST{Enter}
2."; {IF}{STATE}&1024~Y{END IF}
of {VARIABLE}stop~ • completed.'
Screen 2. The Graphics Macro—Be sure to customize line 7
the border space for all sides to .05".
Next, choose (6) Caption Number
Style, press (Ctrl-End) and (Enter).
Finally, select (7) Position of Caption,
(2) Above Box, (2) Inside of Border.
Press Exit (F7). Your screen should
look like Screen 1. Press Exit (FT)
twice to return to the Styles screen.
Press (6) Save, type G-List.sty, (Enter)
and press Exit (FT) again to return to
the document screen. The style is now
in your style subdirectory.
The Shell macro
Now you're ready to create the
Shell macro. You need a Shell macro
so the WordPerfect macro can incor-
porate each filename into the caption
of the figure boxes. Remember—you
don't need to create the Shell macro if
your copy of WordPerfect is dated
6/29/90 or later.
Press Graphics (Alt-F9), (1) Fig-
ure, (1) Create, (1) Filename. Press
List (F5), (Enter) and position the cur-
sor on any graphic file. Press Shell
Macro Define (Ctrl-Shift-FlO), type
column.shm and press (Enter), then
type Gets graphic filename and press
(Enter). Press Screen Copy (Alt-
Shift-Minus), (Enter), then press
(RightArrow) 14 times. Press (Enter),
(1) Save, and continue by pressing (1)
Retrieve, (3) Caption, then Screen
Retrieve (Alt-Shift-Plus). Press
(Home), (Home), (Up Arrow), then
Replace (Alt-F2). Press (N) No,
(Space Bar), Search (F2) twice and
Exit (F7) twice.
End the process by pressing Shell
Macro Define (Ctrl-Shift-FlO) again.
The Shell macro is saved to the
pathname specified in the Shell setup
menu. If no pathname is specified, the
macro is saved to the WordPerfect
default directory
The WordPerfect macro
With the Shell macro complete, you
can create the main macro. At a blank
document screen (or the document
screen in which you created the
G-List.sty), press (Home), Macro
Define (Ctrl-10). Press (Alt-G), then
type Makes graphics document as a
description and press (Enter). You'll
be in the Macro: Action screen. Press
(Right Arrow) and (Enter) twice to
bring the cursor down two lines.
Now enter the macro commands in
Screen 2. Be sure to enter the com-
plete path of your graphics directory in
line 7. If you have a 5.1 release dated
after 6/29/90, omit lines 2 through 6,
and replace lines 13, 14 and 15 with
those in Screen 3.
If you're unfamiliar with the Macro:
Action screen, here are a few tips: To
insert most function key commands,
such as {Font} or (Format), into the
Macro: Action screen, press the
appropriate function key. To insert spe-
cial function keys, such as {Cancel!,
{Tabl and lExitl, first press (Ctrl-V),
then the function key.
To insert other key commands,
such as {Right}, (Home! and {Enter},
press (Ctrl-V), followed by the desired
key. No promptappears after you press
(Ctrl-V). To enter the {IF}, {SYSTEM}
13 {List} {List}{Right}
14 {ASSIGN}filename~{SYSTEM}entry~ '
15 RC{VARIABLE}filename~{Exit}{Exit}
Screen 3. Replacement Macro Codes
80 WordPerfect the Magazine • January 1991
GRAPHICS/STYLES
or any other advanced macro com-
mands (those in caps), press Macro
Commands (Ctrl-Pg Up), highlight the
desired command and press (Enter).
How it works
The macro works like this: Lines 2
through 5 determine whether you're
using the appropriate version of Shell.
If you don't have Shell 3.0 or a later
version, the macro lets you know, then
stops. At line 6, the macro goes into the
Styles menu and retrieves G-List.sty,
then turns on the style to format the
document.
Lines 7 through 9 list the files of the
specified directory and find the
To run the macro,
press (Alt-G) at a clear
screen. Within seconds,
a document is created
that contains a picture
of every graphic you
own, with the
filename above it.
number of files in that directory. Lines
10 through 20 repeat to create a figure
box for each graphic. Line 21 turns the
display on, so you see where any extra
hard returns or tabs are taken out that
may be at the end of the document.
Line 23 changes text quality to draft, to
speed up printing.
Lines 24 and 25 name and save your
document. Unless you change line 24,
your document will be named
GRAPH.LST.
To run the macro, press (Alt-G) at a
clear screen. Within seconds, a
document is created that contains a
picture of every graphic you own, with
the filename above it.
Use this illustrated catalog, and
your blood pressure will never again
skyrocket when you forget what your
graphic file looks like. •
Author Kevin J. Marshall is
employed as a Customer Support
representative at WordPerfect
Corporation.
- 9 .
Applications available on
Disk of the Month, page 83.
W)rdPerfect® Document Management
P C D O C S NEW VERSION 3.0
A powerful, comprehensive program
that easily locates, retrieves and stores
large volumes of WordPerfect^ documents
on a Novell Network
Total integration with WordPerfect®
Optional Rill-Text Indexing allows users to
search for any word or phrase in a document
Version Control allows users to track, retrieve and
store up to 99 versions of the same document
Supports multiple file serv'ers, transparent
to the user
Utilizes NetWare 386 file level security to
prevent users from bypassing application level
security througli DOS
PC DOCS' interfece with third party Redlining
packages sudi as DocuComp or CompareRite,
allows users to compare two documents or
two versions of the same document by
higliligliting the differences
T!ie Document Import feaaire allows users to
conveniently search and retrieve pre-existing
documents
CCS
TM
For more information:
CALL (800) 933-DOCS
CIRCLE 58 ON READER SERVICE CARD
WordPerfect the Magazine • January 1991 81

More Related Content

What's hot

What's hot (14)

Statistics Level 3
Statistics Level 3Statistics Level 3
Statistics Level 3
 
Using List Views
Using List ViewsUsing List Views
Using List Views
 
Lecture 10: introduction to computer
Lecture 10: introduction to computerLecture 10: introduction to computer
Lecture 10: introduction to computer
 
Some Short cut keys of Computer
Some Short cut keys of ComputerSome Short cut keys of Computer
Some Short cut keys of Computer
 
Ccc
CccCcc
Ccc
 
Noise Mapping
Noise MappingNoise Mapping
Noise Mapping
 
Visio tutorial 2013
Visio tutorial 2013Visio tutorial 2013
Visio tutorial 2013
 
Ms word kb_shortcuts_pc
Ms word kb_shortcuts_pcMs word kb_shortcuts_pc
Ms word kb_shortcuts_pc
 
Chapter.08
Chapter.08Chapter.08
Chapter.08
 
Excelshortcuts
ExcelshortcutsExcelshortcuts
Excelshortcuts
 
Word chapter 3
Word chapter 3Word chapter 3
Word chapter 3
 
Vulcan tutorial 01
Vulcan tutorial 01Vulcan tutorial 01
Vulcan tutorial 01
 
CBIS 327 ~ Chapter 03
CBIS 327 ~ Chapter 03CBIS 327 ~ Chapter 03
CBIS 327 ~ Chapter 03
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
 

Viewers also liked (11)

Presentation beonpush (eng)
Presentation beonpush (eng)Presentation beonpush (eng)
Presentation beonpush (eng)
 
Franshiza club
Franshiza club Franshiza club
Franshiza club
 
Franshiza club 2
Franshiza club 2Franshiza club 2
Franshiza club 2
 
Franshiza club 3
Franshiza club 3Franshiza club 3
Franshiza club 3
 
Green abraham final_ppp_slides
Green abraham final_ppp_slidesGreen abraham final_ppp_slides
Green abraham final_ppp_slides
 
презентация Beonpush на русском
презентация Beonpush на русскомпрезентация Beonpush на русском
презентация Beonpush на русском
 
W int pres_en
W int pres_enW int pres_en
W int pres_en
 
San vicente
San vicenteSan vicente
San vicente
 
Wor(L)dGN int pres_en
Wor(L)dGN int pres_enWor(L)dGN int pres_en
Wor(L)dGN int pres_en
 
W int pres_ru
W int pres_ruW int pres_ru
W int pres_ru
 
Outdoor living - Patio Comfort Heating
Outdoor living - Patio Comfort HeatingOutdoor living - Patio Comfort Heating
Outdoor living - Patio Comfort Heating
 

Similar to WPM199101_Seeing (20)

Figma Cheatsheet.pdf
 Figma Cheatsheet.pdf Figma Cheatsheet.pdf
Figma Cheatsheet.pdf
 
Manual word 2007 ingles
Manual word 2007 inglesManual word 2007 ingles
Manual word 2007 ingles
 
Autocad
AutocadAutocad
Autocad
 
Autocad
AutocadAutocad
Autocad
 
MSC Generator
MSC GeneratorMSC Generator
MSC Generator
 
AutoCAD
AutoCADAutoCAD
AutoCAD
 
Autocad 131102050945-phpapp02
Autocad 131102050945-phpapp02Autocad 131102050945-phpapp02
Autocad 131102050945-phpapp02
 
CAD/CAM - Wood picnic table (CATIA)
CAD/CAM - Wood picnic table (CATIA)CAD/CAM - Wood picnic table (CATIA)
CAD/CAM - Wood picnic table (CATIA)
 
CHAPTER 1 - Introduction to AutoCAD.ppt
CHAPTER 1 - Introduction to AutoCAD.pptCHAPTER 1 - Introduction to AutoCAD.ppt
CHAPTER 1 - Introduction to AutoCAD.ppt
 
2D CAD Module by gonzalochris
2D CAD Module by gonzalochris2D CAD Module by gonzalochris
2D CAD Module by gonzalochris
 
Eagle tut
Eagle tutEagle tut
Eagle tut
 
Autocad
AutocadAutocad
Autocad
 
Autocad
AutocadAutocad
Autocad
 
2 d autocad_2009
2 d autocad_20092 d autocad_2009
2 d autocad_2009
 
2 d autocad_2009
2 d autocad_20092 d autocad_2009
2 d autocad_2009
 
2D CAD worksheet
2D CAD worksheet2D CAD worksheet
2D CAD worksheet
 
FEAColor3DPrinting
FEAColor3DPrintingFEAColor3DPrinting
FEAColor3DPrinting
 
Adobe Photoshop CS5 Tutorial
Adobe Photoshop CS5 TutorialAdobe Photoshop CS5 Tutorial
Adobe Photoshop CS5 Tutorial
 
Aragaw Gebremedhin auto cad lecture notes
Aragaw Gebremedhin auto cad lecture notesAragaw Gebremedhin auto cad lecture notes
Aragaw Gebremedhin auto cad lecture notes
 
Autocad 2007
Autocad 2007Autocad 2007
Autocad 2007
 

WPM199101_Seeing

  • 1. GRAPHICS/STYLES Seeing is Believing Printing a 5.1 graphics catalog Sometimes minor problems are the most vexing. Forgetting what a graphic file looks like,just when you're about to enter thefilename,is one such annoyance. This memory lapse forces you to retrieve the graphic image and take a look at it Such delay causes frayed nerves, indigestion and aggressive freeway driving. A better way exists. Using a style and a 5.1 macro, you can create a print- out of your graphics, along with their filenames, so you can decide at a glance which graphic you want. Before creating this macro, here are a few things you must do to ensure that it runs correctly. Know your directory Know which directory contains your graphic files. If you haven't made a subdirectory for your graphics, do so. I keep my graphic files in a direc- tory called C:WP51GRAPHIC. You can make such a directory by pressing list (F5), (7) Other Directory, dien typing the new directory name and pressing (Enter). You must also type the new directory path in Setup (Shift- Fl), (6) Location of Files, (6) Graphic Files. Move your graphics into this directory by marking each file with an asterisk (*) and pressing (8) Copy. Write down the graphics directory pathname for future reference. For this macro to work, you need a WordPerfect 5.1 release dated 6/29/90 or later, or any 5.1 release and the 3.0 version of Shell. Shell is a menu program that ships with DrawPerfect and Office 3.0. If you have Shell, but don't know the version, press Help (F3) at the Shell menu screen. The version number appears in the upper right-hand corner. You can also press Help (F3) at a 5.1 document screen to find tiie version and release date. If you have a release of WordPerfect 5.1 dated 6/29/90 or later, you don't need to create the Shell macro. The style The first step is to create a style that formats the printout. This speeds up the process, since the macro won't have to execute keystrokes to set mar- gins, fonts and graphic options. Also, using a style makes it easier to make changes to the printout format. Because the font you select limits the space for the graphic image, you'll want to choose the smallest available font when creating this style. Press Style (Alt-F8), (3) Create, (1) Name, type G-List and press (Enter). Press (4) Codes, Format (Shift-F8), (2) Page, (5) Margins, enter .45" for the top and .22" for the bottom and press (Enter). Press (1) Line, (7) Mar- gins and enter .5" for both left and right. Press (4) Line Height, (2) Fbced and enter i " as the line height. Press (8) Tab Set, press (Ctrl-End) to clear tabs, type 0,1 and press (Enter) to set a tab stop every inch from the left margin. Press Exit (F7) twice to return to the Style: code screen. Now press Font (Cb-1-F8), (4) Base Font, highlight the smallest font avail- able and press (1) Select. Press Graphics (Alt-F9), (1) Figure, (4) Options, (3) Inside Border Space. Set s by Kevin J. Marshall WordPerfect the Magazine • January 1991 79
  • 2. GRAPHICS/STYLES Place Style On Codes above, and Style Off Codes below. Style: Press Exit when done Doc 1 Pg 1 Ln 1" Pos 1" A { k k A .A A A A [T/B Mar;0.45",0.22"][L/R Mar:0.5",0..r'][Ln Height:l"][Tab Set:Rel: 0", every l"][Font:Helv 6pt (AC)][Fig Opt][Coniment] Screen 1. The Style Codes 1 {DISPLAY OFF} 2 {IF}{SYSTEM}shellver~<768~ 3 {PROMPT}Shell version - 3.0 or- higher- not loaded." 4 {WAIT}30~{QUIT} {END IF} 6 {Style}7g-list.sty{Enter}l 7 {List}C;WP51GRAPH{Enter}{Right} 8 {ASSIGN}stop~{SYSTEM}list~-2~ 9 {Exit} 10 {FOR}limit~l~{VARIABLE}stop~ ~ 1 ~ 11 {Graphics}FCTC 12 SB.9"{Enter}.9"{Enter}F 13 {DISPLAY ON}{List}{List}{Right} 14 {SHELL MACRO}COLUMN.SHM~ 1.'i {DISPLAY OFF} 16 {IF}({VARIABLE}limit~%7)=0~ {Enter} 17 {ELSE} 18 {Tab} {END IF} 19 {PROMPT}Box-{VARIABLE}Iimit- 20 {END FOR} 21 {DISPLAY ON}{Backspace}{Right} 22 {DISPLAY OFF} 23 {Prlnt}TD{Exit} 24 {Save}GRAPH.LST{Enter} 2."; {IF}{STATE}&1024~Y{END IF} of {VARIABLE}stop~ • completed.' Screen 2. The Graphics Macro—Be sure to customize line 7 the border space for all sides to .05". Next, choose (6) Caption Number Style, press (Ctrl-End) and (Enter). Finally, select (7) Position of Caption, (2) Above Box, (2) Inside of Border. Press Exit (F7). Your screen should look like Screen 1. Press Exit (FT) twice to return to the Styles screen. Press (6) Save, type G-List.sty, (Enter) and press Exit (FT) again to return to the document screen. The style is now in your style subdirectory. The Shell macro Now you're ready to create the Shell macro. You need a Shell macro so the WordPerfect macro can incor- porate each filename into the caption of the figure boxes. Remember—you don't need to create the Shell macro if your copy of WordPerfect is dated 6/29/90 or later. Press Graphics (Alt-F9), (1) Fig- ure, (1) Create, (1) Filename. Press List (F5), (Enter) and position the cur- sor on any graphic file. Press Shell Macro Define (Ctrl-Shift-FlO), type column.shm and press (Enter), then type Gets graphic filename and press (Enter). Press Screen Copy (Alt- Shift-Minus), (Enter), then press (RightArrow) 14 times. Press (Enter), (1) Save, and continue by pressing (1) Retrieve, (3) Caption, then Screen Retrieve (Alt-Shift-Plus). Press (Home), (Home), (Up Arrow), then Replace (Alt-F2). Press (N) No, (Space Bar), Search (F2) twice and Exit (F7) twice. End the process by pressing Shell Macro Define (Ctrl-Shift-FlO) again. The Shell macro is saved to the pathname specified in the Shell setup menu. If no pathname is specified, the macro is saved to the WordPerfect default directory The WordPerfect macro With the Shell macro complete, you can create the main macro. At a blank document screen (or the document screen in which you created the G-List.sty), press (Home), Macro Define (Ctrl-10). Press (Alt-G), then type Makes graphics document as a description and press (Enter). You'll be in the Macro: Action screen. Press (Right Arrow) and (Enter) twice to bring the cursor down two lines. Now enter the macro commands in Screen 2. Be sure to enter the com- plete path of your graphics directory in line 7. If you have a 5.1 release dated after 6/29/90, omit lines 2 through 6, and replace lines 13, 14 and 15 with those in Screen 3. If you're unfamiliar with the Macro: Action screen, here are a few tips: To insert most function key commands, such as {Font} or (Format), into the Macro: Action screen, press the appropriate function key. To insert spe- cial function keys, such as {Cancel!, {Tabl and lExitl, first press (Ctrl-V), then the function key. To insert other key commands, such as {Right}, (Home! and {Enter}, press (Ctrl-V), followed by the desired key. No promptappears after you press (Ctrl-V). To enter the {IF}, {SYSTEM} 13 {List} {List}{Right} 14 {ASSIGN}filename~{SYSTEM}entry~ ' 15 RC{VARIABLE}filename~{Exit}{Exit} Screen 3. Replacement Macro Codes 80 WordPerfect the Magazine • January 1991
  • 3. GRAPHICS/STYLES or any other advanced macro com- mands (those in caps), press Macro Commands (Ctrl-Pg Up), highlight the desired command and press (Enter). How it works The macro works like this: Lines 2 through 5 determine whether you're using the appropriate version of Shell. If you don't have Shell 3.0 or a later version, the macro lets you know, then stops. At line 6, the macro goes into the Styles menu and retrieves G-List.sty, then turns on the style to format the document. Lines 7 through 9 list the files of the specified directory and find the To run the macro, press (Alt-G) at a clear screen. Within seconds, a document is created that contains a picture of every graphic you own, with the filename above it. number of files in that directory. Lines 10 through 20 repeat to create a figure box for each graphic. Line 21 turns the display on, so you see where any extra hard returns or tabs are taken out that may be at the end of the document. Line 23 changes text quality to draft, to speed up printing. Lines 24 and 25 name and save your document. Unless you change line 24, your document will be named GRAPH.LST. To run the macro, press (Alt-G) at a clear screen. Within seconds, a document is created that contains a picture of every graphic you own, with the filename above it. Use this illustrated catalog, and your blood pressure will never again skyrocket when you forget what your graphic file looks like. • Author Kevin J. Marshall is employed as a Customer Support representative at WordPerfect Corporation. - 9 . Applications available on Disk of the Month, page 83. W)rdPerfect® Document Management P C D O C S NEW VERSION 3.0 A powerful, comprehensive program that easily locates, retrieves and stores large volumes of WordPerfect^ documents on a Novell Network Total integration with WordPerfect® Optional Rill-Text Indexing allows users to search for any word or phrase in a document Version Control allows users to track, retrieve and store up to 99 versions of the same document Supports multiple file serv'ers, transparent to the user Utilizes NetWare 386 file level security to prevent users from bypassing application level security througli DOS PC DOCS' interfece with third party Redlining packages sudi as DocuComp or CompareRite, allows users to compare two documents or two versions of the same document by higliligliting the differences T!ie Document Import feaaire allows users to conveniently search and retrieve pre-existing documents CCS TM For more information: CALL (800) 933-DOCS CIRCLE 58 ON READER SERVICE CARD WordPerfect the Magazine • January 1991 81