Printing

Printing is the process of transferring your document from the computer to a piece of paper.

  • Introduction and Concepts
  • Actually Printing Something
  • Printing and Color Kanji
  • Page Breaks and Formatting
  • The Page Layout Dialog Box
  • Margins, Vertical Printing, and Paper Orientation
  • Headers and Footers (Page Numbering)
  • The Header and Footer Strings
  • Page Numbers
  • Header and Footer Locations
  • Document Summary
  • Date and Time
  • Advanced Layout Options
  • Printing Options and Fonts

  • INDEX: Contents
  • PREV: Working with Files
  • NEXT: Options and Settings

  • Introduction and Concepts

    Printing documents in Japanese is somewhat different than printing in English. In Japanese each character occupies the same space (including punctuation), and lines are ended when they are full (even in the middle of a word). In English words are normally not split, each character occupies a different amount of space, and text is usually not written vertically. Combining Japanese and English text leads to a number of further complexities.


    WARNING! Windows CE versions of JWPce cannot print even though several pages of the Page Layout dialog box can be accessed.

    File Representations

    One major issue in printing is how the text on the screen corresponds with what is printed. Depending on the settings, JWPce will either attempt to approximate on the screen how text will appear printed, or will ignore most of the printer settings and display the text in a manner that provides the best screen display.

    In order to make JWPce responsive and make best use of limited screen resolution and size, JWPce makes a number of adjustments in the way text is displayed on the screen:

    JWPce, however, does visually represent much of the file formatting .


    WARNING! Keep in mind that JWPce has no page layout display mode in which all parts of a page can be viewed at one time (margins, headers, footers, etc.)

    Related Topics


    Actually Printing Something

    Before going into details, Let' discuss the process used to print a document in general. JWPce allows you to print all of a document, selected pages, or selected text from the document.

    To start, select the File/Print... command (Alt+P) , or select the Print button from the toolbar.. This causes the standard Windows Print dialog to be displayed. From this dialog you can choose the printer and a number of characteristics for that printer (paper size, layout, portrait or landscape*, etc.). Additionally, you can set the number of copies to be printed (if the printer supports multiple copies).

    Finally, from the Print dialog you can select the part of the document to be printed.

    Printing the Entire Document

    If you select the All ??? pages** button in the Print dialog, the entire document will be printed. This is the default if you do not select text before entering the Print dialog.

    Printing Some Pages

    If you select the Pages button, and enter values in the from and to edit boxes you can print specific pages from the document. If you have selected text before entering the Print dialog, this will be the default. In this case the from and to edit boxes will already have page entries that include the selected text.

    If you print part of a document using this method (instead of the Selection setting, below), entire pages are printed instead of parts of pages. This allows header and footer information as well as page numbers to be printed correctly.

    Printing Selected Text

    If you select text before entering the Print dialog you can choose the Selection button, and only the selected text will be printed. This method allows you to control exactly what is printed, but prevents JWPce from accurately generating page numbers. The first page printed will be numbered 1, and page numbers will increase from there.


    * JWPce will automatically set portrait or landscape mode to match the document mode. If you change portrait/landscape in the Print dialog, the setting in the document will also change.

    ** "???" will be replaced with the number of pages in your document.


    Printing and Color Kanji

    Characters are printed in black unless you have selected the option to print Color Kanji in color. (See the Color Kanji feature. This option is controlled from the Misc Page of the Options dialog box (Utilities/Options... or Ctrl+O).

    Related Topics


    Page Breaks and Formatting

    The document is reformatted for the printer during printing. After printing, if you are using the Dynamic or Fixed width modes, the document will return to its original form. But if you are using the Printer width mode, any changes you make to document formatting before you send the document to the printer will remain.

    Normally a page break is inserted into the document whenever the page becomes full. You can, however, force a page break by using the Edit/Insert Page Break (Ctrl+Enter) command. JWPce does not display normal page breaks on the screen; however, inserted page breaks are shown as a dark gray stripe.

    Related Topics


    The Page Layout Dialog Box


    WARNING! Not all pages of the Page Layout dialog box are available in Windows CE versions, since printing is not supported from Windows CE.

    The Page Layout box is a multi-page dialog box that contains most of the controls and options used to control printing. Many of the settings in this dialog box are stored along with the document files (Margins [This File Settings section], Headers/Footers, and Summary); some are global settings that are stored in JWPce's configuration file (Margins [Default Settings section], Date/Time, and Advanced). The pages in the Page Layout dialog box are:

    Related Topics


    Margins, Vertical Printing, and Paper Orientation

    The margins, the paper orientation (portrait or landscape), and print direction (horizontal or vertical) are all set on the Margins page of the Page Layout dialog box.

    JWPce maintains two sets of each of these parameters: Default Settings and This File Settings. When a new file is generated, the Default Settings are used to initialize the margins for the file. Changing the Default Settings has no effect on a file after it has been created.

    Margins

    The margins specify the distances between the edges of the paper and your text (not counting headers and footers). Margins are specified in units of inches or cm (this can be set on the General page of the Options dialog box [Utilities/Options... or Ctrl+O]). By default the margins are set to 1 inch on all sides.

    When vertical printing is invoked (below), the margins do not rotate with the text, thus the Top margin is the margin at the top of the page in portrait mode. The margins DO rotate, however, when you print in Landscape mode.

    Landscape

    Text is normally printed in Portrait mode, where a standard sheet of paper is taller than wide when being read. In Landscape mode, the text is printed such that the page would be wider than tall. (Also see vertical printing below.)

    This setting can also be changed in the Print dialog box.

    Vertical Printing

    English is normally written horizontally, however, Japanese is written with either orientation. JWPce will print vertically, if the Vertical box is checked.

    JWPce prints vertically by rotating the individual Japanese characters (kana, kanji, and JASCII)*. English text is not rotated when printed vertically.

    For example, here is text printed horizontally:

    and here is the same text printed vertically

    Other Information

    Also shown on this page of the dialog box is the number of kanji characters that fit on a line (given the chosen margins). This value can be used if you want to use the Fixed line width mode to emulate this printer configuration on some other system.

    Further, there are two buttons that copy the margins settings as a group (margins, landscape, and vertical) to and from the default settings:


    * For people interested in the technical issues, a number of characters are not rotated, and some characters have to be both rotated and translated.


    Headers and Footers (Page Numbering)

    A header is a line of text that is printed across the top of each page, and a footer is similarly a line of text printed across the bottom. The headers and footers for a document are defined in the Headers/Footers page of the Page Layout dialog box.

    Normally, the same header and footer are printed on all pages, however the following controls can be used to modify this behavior:

    Headers and footers consist of three strings that are located at different places across the top or bottom of the text. You may define any, all, or none of these strings. The Left string is aligned with the left edge of the text; the Center string is centered on the page; and the Right string is aligned with the right edge of the text.

    The Edit control is used to select a header or footer for editing. Depending on the settings of the Odd & Even control, there will be different choices in this list box:

    Odd & Even not selectedOdd & Even selected
    HeaderHeader, Odd Pages
    FooterHeader, Even Pages
    Footer, Odd Pages
    Footer, Even Pages


    The Header and Footer Strings

    Any text you wish can be entered in the Left, Center, and Right strings. However, there are a number of special codes you can insert to cause special information to be printed with the document. The text indicated by a special code is inserted when the document is printed, thus what is printed depends on the value at the time of printing.


    Tip: You can use multiple special codes in the header/footer strings, and combine special codes and fixed text.

    The special codes are:

    codeprints
    &Dcurrent date
    &Ffile name and path
    &Nfile name
    &Tcurrent time
    &Ldocument summary title
    &Sdocument summary subject
    &Adocument summary author
    &Kdocument summary keyword
    &Cdocument summary comment
    &&the & character

    Tip: You don't have to memorize the special codes, there is a list of them in the dialog box.

    Header and Footer Example

    As an example, to generate headers and footers similar to those in this document, the settings would be:

    header/footervalueaction
    header, left&Ltitle, so it can be changed by simply changing the document summary
    header, right---no JWPce equivalent
    footer, left&Dprint date
    footer, right&Ppage number


    Page Numbers


    Tip: Page numbers are generated in JWPce using the headers and footers feature, and the &P code.


    Header and Footer Locations

    The locations of headers and footers are controlled by options in the Advanced page of the Page Layout dialog box. Generally you should not need to change these values.

    Related Topics


    Document Summary

    The document summary can be edited on the Summary page of the Page Layout dialog box. The summary consists of five lines of Japanese text that you can use to store any information you want. The five lines are called Title, Subject, Author, Keywords, and Comments. The text in these lines can be used in printing headers and footers.

    Related Topics


    Date and Time

    This dialog box consists of a Japanese edit controls for the Date and Time is set on the Date/Time page of the Page Layout dialog.


    WARNING! The Date and Time page cannot be accessed in Windows CE.

    Related Topics


    Advanced Layout Options

    The Advanced page of the Page Layout dialog box contains options that control the locations of the headers and footers, and how English text embedded within Japanese text is formatted. The options set on this page are stored in the JWPce configuration and affect all documents.


    WARNING! The Advanced page cannot be accessed in Windows CE.

    Related Topics


    Printing Options and Fonts

    Most printer related settings are controlled from the Page Layout dialog box. The exception to this is font settings, which are controlled from the Font/Format page of the Options dialog (Utilities/Options... or Ctrl+O). This page allows you to specify the print font:

    In Automatic Selection font setting, JWPce will attempt to match the current screen font to the printer. If you are using one of the included bitmapped fonts, JWPce will automatically choose the best matching bitmapped font for the printer. If you are using a TrueType display font, JWPce will simply use the same TrueType font for the printer.

    Generally you should leave the printer font set to Automatic Selection. There are some cases, however, when you might want to specify a printer font yourself. The most notable of these is if you have installed a on-TrueType (bitmapped) font* and want to use it for printing. JWPce only knows how the adjust the default bitmap fonts that are distributed with JWPce, so if you install other fonts, it cannot tell which is the best match for the screen font.

    You may also want to consider not using Automatic Selection font selection when you are using a bitmapped font for the display and want to use a TrueType font for printing. This may seem a strange thing to do, but remember that the bitmapped fronts have been optimized for display at their specific resolutions, and can sometimes look better than TrueType fonts.


    WARNING! Vertical printing is only supported for TrueType fonts that contain a vertical glyph substitution table (this should be included in all fonts, but you never know). If you use a TrueType font without such a table, JWPce will default to using the bitmapped fonts for vertical printing.

    Related Topics


    * When working with TrueType fonts, the screen and printer will always use the same font.


    Next Chapter: Options and Settings