home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 26 / CD_ASCQ_26_1295.iso / vrac / njj310b.zip / J3.TUT < prev    next >
Text File  |  1995-07-15  |  14KB  |  298 lines

  1. \FOOTER("@AH@C NJStar Tutorial 3, Page @P of @N   Date: @D") \MD\AS(0)
  2. ª▄í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜ª▌
  3. í├ú╨ú≥úΘúεú⌠úΘúεúτííúµú≥ú∩úφííú╬ú╩ú╙ú⌠úßú≥íííííí░⌡║■íí                J3.TUTí├
  4. ª▀í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜í╜ª▐
  5.  
  6. This tutorial shows how to configure your printer, define the page layout of your document, print your document and to enhance the looks of your printout by using commands. 
  7.  
  8. óúóúóúóú ú┬ú┼ú╞ú╧ú╥ú┼  ú╨ú╥ú╔ú╬ú╘ú╔ú╬ú╟  ú┘ú╧ú╒ú╥  ú─ú╧ú├ú╒ú═ú┼ú╬ú╘ óúóúóúóúóú
  9. ªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσ
  10. Before print a document from your printer, you must make sure the following:
  11.  
  12.    (1) your document is typed up, laid out well; and
  13.    (2) your printer is properly interfaced.
  14.  
  15. With NJStar Professional, you can preview your document to check the appearance of your document before printing it on paper.
  16.  
  17. If you have not configured NJStar for your printer, or changed the hardware (e.g., upgraded the printer) since your last configuration, you must configure your printer. This involves the following:
  18.  
  19.    (1) check if the correct printer driver is selected from NJStar
  20.    (2) check if the correct printer port is selected from NJStar
  21.    (3) set the desired printer resolution
  22.  
  23. These are the essential points to check. We will do this now.
  24.  
  25. íⁿ Configuring your printer
  26.  
  27. Printer configuration is under print file option. First, you will go to the print routine:
  28.  
  29.         >>í┌Output, Print fileí█                                 ó¿ <Ctrl P>
  30.         >> Press <ESC> to come back to your document.
  31.  
  32. You have briefly looked at NJStar's new print program interface, NJPRINT. 
  33. As you cannot see the tutorial instructions once you launch NJPRINT, please come back to the tutorial by pressing <ESC>, read the instructions, then go back to NJPRINT by pressing <Ctrl P> to continue the exercise:
  34.  
  35.         >> Press <Ctrl P> to call NJPRINT again.
  36.         >> Use <ó¡> to highlight PRINTER SETUP button
  37.         >> Press <ENTER> to go to printer configuration option
  38.  
  39. Here you find all the essential printer configuration options. As this is a friendly button interface, you may use Mouse for quicker action.
  40.  
  41. If Mouse is not available, you can use keyboard: 
  42.     <ENTER> to flip between available options; 
  43.     <ó¡> or <ó¼> to move to the next / previous option;
  44.     <SPACE> to select one of the radio buttons
  45.  
  46.         >> Try to configure NJStar to your own printer
  47.  
  48. Once you set this, you don't have to re-configure your printer again, as NJStar stores this information on disk.
  49.  
  50. íⁿ Defining your page
  51.  
  52. Having set your printer, it is time to define the appearance (layout) of your document. Here we need to consider at least the following:
  53.  
  54.    (1) paper size 
  55.    (2) default font and size 
  56.    (3) paper orientation 
  57.    (4) margins and headers
  58.  
  59. These options are found in NJPRINT's "Page Setup" and "Default Font" sections.
  60.  
  61. Try to work out the following settings, and see the effect of each setting with NJPRINT's Preview facility:
  62.  
  63. ______________________________
  64. ó▒ Quick test on Page Format
  65. í▒í▒í▒í▒í▒í▒í▒í▒í▒í▒í▒í▒í▒í▒í▒
  66. a) A4 paper, Default font size = 16 (128 x 128 dots)
  67. b) Legal, Landscape, Default font size = 3 (24 x 24 dots)
  68. c) A5 paper, Portrait, Default font size = 6 (48 x 48 dots), Margins = 0
  69. d) Select "Default" in both "Page Setup" and "Default Font" sections
  70.  
  71.  
  72. óúóúóúóúóúóúóúóú ú╨ú╥ú╔ú╬ú╘ú╔ú╬ú╟ííú┘ú╧ú╒ú╥  ú─ú╧ú├ú╒ú═ú┼ú╬ú╘ óúóúóúóúóúóúóúóú
  73. ªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσ
  74. When you think you have set the page layout of your document to your satisfaction, you may want to print your document straight away. But before printing your document, it is wise to preview your document to check it. If necessary, zoom in to examine the details.
  75.  
  76. From "Print" option in NJPRINT, you will see further options, as to specify the range of printout as well as how many copies you require.
  77.  
  78. Let's practice a little:
  79.  
  80.         >> Preview page 2 of this file
  81.         >> Zoom in to examine
  82.         >> Use "Right", "Left", "Up", "Down" buttons to navigate the screen
  83.  
  84. You have so far learned the most basic print routines. In the following section, you are going to learn how to enhance the appearance of your document by giving instruction directly in your document, such as centring the paragraph, changing font size, and using headers and footers.
  85.  
  86. óúóúóúóúóúóúóú ú╨ú╥ú╔ú╬ú╘ú╔ú╬ú╟ííú╞ú╧ú╥ú═ú┴ú╘ííú├ú╧ú═ú═ú┴ú╬ú─ú╙ óúóúóúóúóúóúóú
  87. ªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσ
  88. NJStar uses In-Text printing format commands to enhance the output format. 
  89.  ªτªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªΦ
  90.  ªµ  Note: If you have used previous versions of NJStar,                   ªµ
  91.  ªµ  you may have to edit the format commands, as Professional version     ªµ
  92.  ªµ  has slightly different command syntax.                                ªµ
  93.  ªΩªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªΘ
  94.  
  95. NJStar's commands we are learning will override the setting you might have set from the PRINT option. They all begin with backslash character "ú▄". NJStar's printing program interprets this symbol as a command, and you and if you want to print this symbol, you have to type one extra backslash "\\". 
  96.  
  97.         >> Preview this page to see the effect of the following lines:
  98.  
  99.            (1) C:\NJSTAR\J3.TUT (single backslash)
  100.            (2) C:\\NJSTAR\\J3.TUT (double backslash)
  101.  
  102. Did you see that the two lines above are actually displayed as follows?
  103.  
  104.            (1) C:(single backslash)
  105.            (2) C:ú▄NJSTARú▄J3.TUT (double backslash)
  106.  
  107. This tells you that the single backslash acts as a command, and the word following this symbol is not treated as a part of document to be printed.
  108. You can place this special symbol anywhere in the document with NJStar Professional version.
  109.  
  110. íⁿ Commonly used printing commands
  111.  
  112. The following 4 commands are normally sufficient for most of you to use:
  113.  
  114. Command Name         Description:
  115. (ú▄command)
  116. ============================================================================
  117. Fontsize(nn)         Setting the size of Japanese character to nn (2-16):
  118.                        e.g., 2 - small (16 dots)
  119.                              3 - normal (24 dots) for 180 dpi 24 pin printers
  120.                              6 - normal (48 dots) for 300 dpi laser printers
  121.                             16 - large (128 dots)
  122.  
  123. ASCII(x)             Select fonts for ascii characters x (T,B,I,H,C,0):
  124.                              T - Times-Roman
  125.                              B - Times-Bold
  126.                              I - Times-Italic
  127.                              H - Helvetica
  128.                              C - Courier
  129.                              0 - default font (width = half of Japanese char.)
  130.  
  131. ALIGN(x)             Set Paragraph alignment x (L,R,C)
  132.                              L - left
  133.                              R - right
  134.                              C - centre
  135. NewPage              Forcing to print on a new page
  136. =================    ======================================================
  137.  
  138.         >> Here are some examples: Preview and ZoomIn to see the effect
  139.  
  140. {
  141. \ALIGN(c)
  142. \FONTSIZE(12) ╞ε╢╦└▒Ñ┴Ñσí╝Ñ╚ÑΩÑóÑδ
  143. \FONTSIZE(6) \ASCII(B) BY YO TOMITA
  144. \ALIGN(L) \ascii(t) This is a normal line in Times.
  145. \ascii(h) End.  \ascii(0)
  146. \NEWPAGE 
  147. }
  148.  
  149. íⁿ Advanced Commands:
  150.  
  151. If you are preparing very attractive document, you may want to study the following commands also. Otherwise, you skip this section.
  152.  
  153. NJStar's printing commands can also be applied to a limited section of the document by using the command with { }.
  154.  
  155.         >> Preview this {\ascii(h) bits} to see.
  156.  
  157. This is useful if you only wants to highlight a word.
  158.  
  159. Commands     Description
  160. ==========================================================================
  161. HILIGHT(n)  - Reverse Video printing
  162.               n=1 - reverse character by character
  163.               n=2 - reverse whole line
  164.               n=0 - No more reverse video
  165.  
  166.         >> Preview it: This {\hilight(1) WORD} should be hilighted.
  167.  
  168. SUPERSCRIPT - Produce Superscript characters.
  169. SUBSCRIPT   - Produce Subscript characters.
  170.  
  171.         >> Preview it: X{\SB i}{\SP 2} + Y{\SB j}{\SP 2} = Z{\SP 3}
  172.  
  173. HSPACE(n)   - Skip a horizontal space of n inches (can use cm, mm, cc, dot)
  174.  
  175.         >> Preview it: This spacing is {\hspace(1cm) far apart }. 
  176.  
  177. VSPACE(n)   - Skip a Vertical space of n inches (can use cm, mm, cc, dot)
  178.  
  179.         >> Preview it: The word {\vspace(1cm) LOW} is 1cm lower.
  180.  
  181. TABDEF(n1,n2,n3,...)  - 
  182.               Define tab stop positions in inches (can use cm, mm, cc, dot), 
  183.               '|' is used as tab character, please leave a space before and
  184.               after the '|' character. This command is very helpful when
  185.               proportional ASCII font is included.
  186.  
  187.         >> Preview it:  {\tabdef(3cm, 6cm, 9cm) \Ascii(T)
  188.              Country    | Capital    | Language | Country-Code
  189.              ---------- | ---------- | -------- | --------------- 
  190.              China      | Beijing    | Chinese  | +86
  191.              Japan      | Tokyo      | Japanese | +81
  192.              U.S.A.     | Washington | English  | +1
  193.              England    | London     | English  | +44
  194.              Australia  | Canberra   | English  | +61
  195.  
  196. }\VT
  197.  
  198. HeadPos(n)       - set header position from the paper edge (def=0.5")
  199. FootPos(n)       - set footer position from the paper edge (def=0.7")
  200. Header("string") - Define the header where you can define the "string"
  201. Footer("string") - Define the footer.
  202.         
  203.         For Header and Footer, you can use further variables described below:
  204.  
  205.            @N  - Total Pages
  206.            @N  - total pages
  207.            @P  - current page number
  208.            @F  - current file name
  209.            @D  - current date
  210.            @T  - current time
  211.            @L  - left   justfy the header/footer
  212.            @C  - center justfy the header/footer
  213.            @R  - right  justfy the header/footer
  214.  
  215.            @Ax - Select Ascii Font for Header or Footer
  216.                  x=T - Times-Roman
  217.                  x=B - Times-Bold
  218.                  x=I - Times-Italic
  219.                  x=H - Helvetica
  220.                  x=C - Courier
  221.            @Xx - Select Kanji Font for Header or Footer
  222.                  x=M - Mincho Style
  223.                  x=G - Gothic Style
  224.  
  225.            @n -  set the character size to standard size n, where n=2-9
  226.  
  227.  
  228.         >> Try this: \Footer("@C@4@AH@XG File: @F  Page:@P of @N (@D)")
  229.  
  230.         In the above example, you see a centred Footer with Helvetica
  231.         with Gothic Kanji at size No. 4: as something like:
  232.  
  233.         File: C:\NJJ30\J3.TUT  Page: 5 of 6  1995 ╟» 3 ╖ε 23 ╞ⁿ
  234.  
  235.  
  236. VERBATIM   - Force NJPRINT not to interpret any \ formatting commands from
  237.              now on.
  238.           
  239. íⁿ Abbreviation of NJStar Printing commands
  240.  
  241. When you become sufficiently familiar with NJStar's printing commands, you can use abbreviation to save time typing the commands.
  242.  
  243. \VT          \BOLD          \DB
  244.              \THIN          \TN
  245.              \MINCHO        \MS
  246.              \GOTHIC        \GS
  247.              \CENTER        \CT
  248.              \LARGE         \LA
  249.              \SMALL         \SM
  250.              \MEDIUM        \MD
  251.              \FONTSIZE      \SZ
  252.              \VSIZE         \VS
  253.              \HSIZE         \HS
  254.              \ASCII         \AS
  255.              \CHARSPACE     \CS
  256.              \LINESPACE     \LS
  257.              \NEWPAGE       \NP
  258.              \PAGENO        \PN
  259.              \FOOTER        \FR
  260.              \HEADER        \HR
  261.              \FOOTPOS       \FP
  262.              \HEADPOS       \HP
  263.              \FIRSTINDENT   \FK
  264.              \LEFTINDENT    \LK
  265.              \RIGHTINDENT   \RK
  266.              \LEFTMARGIN    \LM
  267.              \RIGHTMARGIN   \RM
  268.              \TOPMARGIN     \TM
  269.              \BOTTOMMARGIN  \BM
  270.              \HILIGHT       \HL
  271.              \BEGIN         \BG
  272.              \END           \EN
  273.              \ALIGN         \AL
  274.              \VERBATIM      \VT
  275.              \HSPACE        \HK
  276.              \VSPACE        \VK
  277.              \TABDEF        \TD
  278.              \SUPERSCRIPT   \SP
  279.              \SUBSCRIPT     \SB
  280.  
  281.  
  282. óúóúóúóúóú  ú├ú╥ú┼ú┴ú╘ú╔ú╬ú╟ííú╨ú├ú╪ííú╟ú╥ú┴ú╨ú╚ú╔ú├  ú╞ú╔ú╠ú┼ú╙  óúóúóúóúóúóú
  283. ªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσ
  284. PCX file is a widely supported graphic file format. If you print your NJStar document in this format, the output is sent to the disk as a graphic file,  which can be sent to fax software later. You may also want this option if you want to export Japanese characters to other non-Japanese application software, since NJStar's native format cannot be read properly by them.
  285.  
  286. You can make two sizes of PCX files. From the main NJStar program (by either going through menu,í┌OUTPUT, CREATE PCXí█, or from NJPRINT printing program. 
  287.  
  288. If you choose the first option, you can create 16x16 bit characters. But all the printing commands will appear as characters. 
  289.  
  290. If you choose the second option, you can obtain the output not only in higher resolution but also in the exact format you have specified with NJStar's printing commands. In short, your PCX file will be exactly same form as you would get from your printer. 
  291.  
  292.  
  293.                           óú End of TUTORIAL 3 óú
  294.  ªτªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªΦ
  295.  ªµí■í■í■í■í■í■ Press <Shift F10> to select other tutorials  í■í■í■í■í■í■ªµ
  296.  ªµí■í■í■í■í■í■í■í■í■í■ Press  <Ctrl F3> to exit NJStar í■í■í■í■í■í■í■í■ ªµ
  297.  ªΩªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªσªΘ
  298.