Kyocera FS 1028DP User Manual
Have a look at the manual Kyocera FS 1028DP User Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 73 Kyocera manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
Command Parameters 1-13 !R! Text ’A’; Cir 1; Exit; Each of these commands prints the capital letter ‘A’ inside a circle. In the printout shown above, the unit is centimeters. Th e reason that the letter ‘A’ is off center in the circle is that the cursor is not lo cated at the center of the circle, bu t at left corner of the letter ‘A’. The command !R! TEXT ’a’; CIR 1; EXIT; prints a lowercase a because the letter occurs inside a character string. The sole exception to upper and lowercase us age in PRESCRIBE commands occurs with the initializing !R! command. This command must always use an uppercase R. The print- ing system will not enter the PRESCRIBE mode in response to !r!. In this manual, PRESCRIBE commands are printed in upper-case for readability. Outside of PRESCRIBE mode, the printing system always distinguishes between upper- case and lowercase letters and pr ints exactly what is sent. Special Parameters Some PRESCRIBE commands use unquoted stri ngs of characters as parameters. Exam- ples for these are the FSET (c hange current font set by characteristic) command and the CSET (change symbol set by sy mbol-set ID) command. (See Chapter 4 for a detailed explanation of how these commands are used to select fonts.) The FSET and CSET commands use parameters that closely resemble the command parameters used for font control in Hewl ett-Packard’s printer control language. For example, the PRESCRIBE command FSET 0p12h12v0s0b6T; selects the font whose charact eristics most closely matches the following font parame- ters: • Monospaced font (0p) • Character spacing of 12 characters/inch (12h) • Character height of 12 points (12v) • Upright style (0s) • Medium weight (0b) • LetterGothicBM12-Roman typeface (6T) In Hewlett-Packard’s PCL, the corresponding command would be ESC(s0p12h12v0s0b6T Downloaded From ManualsPrinter.com Manuals
Chapter 1 Introduction to PRESCRIBE 1-14 Similarly, the PRESCRIBE command CSET 11U; designates use of the PC-8 Dan- ish/Norwegian symbol set. The corresponding Hewlett-Packard PCL command is ESC(11U . Downloaded From ManualsPrinter.com Manuals
Chapter 2 Graphics Tutorial PRESCRIBE provides a wide variety of graphics operators, allowing you to easily con- struct and print almost any imaginable shape or pattern. This chapter introduces the various graphics concepts of PRESCRIBE, and illustrates how to use many of its graphic functions. It defines standard graphics mode, path mode graphics, and raster graphics. It explains how to use predefined fill patterns, how to define your own fill patterns, and intro duces ways in which you can change the print model , the rules that determine the manner in wh ich patterns and images are rendered on the paper. Downloaded From ManualsPrinter.com Manuals
Chapter 2 Graphics Tutorial 2-2 Standard Graphics The standard graphics mode provides a number of operators for constructing a variety of filled shapes and lines. Using st andard mode graphics, you can: • Draw lines of any desired width • Draw circles and rectangles • Draw a variety of filled shap es, including boxes and arcs • Draw pie charts This is referred to as the standard graphics mode because it is a standard feature of all versions of PRESCRIBE. Drawing Lines PRESCRIBE provides a number of Draw to commands for drawing lines in both stan- dard and path modes. These include: Lines to Absolute Position Begin with a simple task such as drawing a line between two arbitrary points on a page. Use the MAP and DAP commands to specify po sitions relative to the top and left mar- gins. This task has several distinct steps: selectin g a line width, determining the starting point of the line, and determining the end point of the line. The following command sequence demonstrates this process. !R! RES; STM 0.5; SLM 0.5; SPD 0.01; MAP 0.5, 1; DAP 2, 0.5; PAGE; EXIT; DAP (draw to absolute position) Draws a line to an absolute position in a Cartesian coor- dinate system whose origin (0,0) is at the intersection of the left and top margins. DZP (draw to zero-relative position) Draws a line to an absolute position in a Cartesian coor- dinate system whose origin (0,0) is at the intersection of the left and top edge limits of the paper. DRP (draw to relative position) Draws a line to a position specified as a horizontal and ver- tical displacement from the current cursor position. DRPA (draw to relative position specified by angle) Draws a line to a position that is specified as a distance and angle from the current cursor position. Examples of these commands are given in th e sections that follow. Downloaded From ManualsPrinter.com Manuals
2-3 Figure 2. 1. Result of Draw Commands: Absolute Lines The initial !R! command switches the printing system to the PRESCRIBE mode. Remember that this command must alwa ys precede each sequence of PRESCRIBE com- mands. The RES (RESet) clears the current page fr om printing system memory and re-estab- lishes the printing system’s permanent defaults. Although you would not include this command in every sequence of PRESCRIBE commands, we include it in this example to ensure consistent results. As a standard pr actice, include the RES at the beginning and end of each job. The STM and SLM set both the top and left margins to 0.5 inches (1.27 centimeters). The SPD (Set Pen Diameter) command determines the thickness of lines. In the standard graphics mode, this setting determines the thickness of all lines drawn after the command is issued. In this example, the line width is set to 0.01 inches. The starting point of the line is established with the MAP (Move to Absolute Position) command. This command moves the cursor to a point that is a specified distance from the top and left margins. In this example, th e point specified is 0.5 inches from the left margin and 1 inch from the top margin. If the margins are changed, the position sp ecified by MAP also changes correspondingly. On the next line of the program, the DAP (Draw to Absolute Position) command draws a line from the starting position to the point 2 inches from the left margin and 0.5 inches from the top margin. Finally, PAGE; prints out the page, allowing us to look at the result of our work. Zero-relative Lines The line draw example below uses some new commands to draw another line. !R! RES; SPD 0.01; MZP 0.5, 1; DZP 2, 0.5; PAGE; EXIT; Edge limits Margins DAP 2, 0.5; MAP 0.5, 1; Downloaded From ManualsPrinter.com Manuals
Chapter 2 Graphics Tutorial 2-4 Figure 2. 2. Result of Draw Commands: Zero-relative Lines The first two lines switch the printing syst em to the PRESCRIBE mode, reset printing system parameters, and set the line width to 0.01 inch. On the third line, the MZP (Move to Zero-relative Position) differs from th e MAP (Move to Absolute Position) command in one respect: the position specified is in relation to the top and left edge page limits of the page, rather than in relation to the top and left page margins. MZP moves the cursor to the point that is 0.5 inches from the left edge limit and 1 inch from the top edge limit. Similarly, on the next line, DZP (Draw to Zero-relative Position) draws a line from the starting position to the point 2 inches from the left edge limit and 0.5 inches from the top edge limit. Relative Lines Another way to specify positions is in relation to the current cursor position. The follow- ing command sequence provides an example. !R! RES; SPD 0.01; MRP 2, 1; DRP -1.5, -1; MRP 2, 1; DRP -1.5, -1; MRP 2, 1; DRP -1.5, -1; PAGE; EXIT; Edge limits MZP 0.5, 1; DZP 2, 0.5; Downloaded From ManualsPrinter.com Manuals
2-5 Figure 2. 3. Result of Draw Commands: Relative Lines In this command sequence, the PRESCRIBE mode begins with the !R!, resets the print- ing system defaults to permanent settings with RES;, and establishes a pen width of 0.01 inches with the SPD 0.01;. The MRP (Move to Relative Position) and DRP (Draw to Relative Position) specify positions in relation to the cursor’s current position. When the command sequen ce starts, the cursor is located at the intersection of the left and top margins. The command MRP 2, 1; on line 3 moves the cursor 2 inches to the right of its current position, and down 1 inch from its current position. Then the com- mand DRP -1.5, -1; draws a line from that point to a point 1.5 inches to the left of the cursor position and 1 inch abov e it. The cursor winds up 0.5 inches to the right of the point where it started. Lines 5 to 8 repeat the move-and-draw sequence two more times. This produces three parallel lines, as shown in the figure on the previous page. Lines in Terms of Angles Until now, all of our examples have specified positions in terms of Cartesian ( X,Y) coor- dinates. This example illustrates drawing lines of specified lengths and angles. !R! RES; SPD 0.01; MZP 5, 4; DRPA 2, 149; DRPA 2, 221; DRPA 2, 293; DRPA 2, 365; CMNT Equivalent to 5 degrees; DRPA 2, 437; CMNT Equivalent to 77 degrees; PAGE; EXIT; Edge limits Downloaded From ManualsPrinter.com Manuals
Chapter 2 Graphics Tutorial 2-6 Figure 2. 4. Result of Draw Commands: Lines in Angles The first two lines of this command sequence initiates the PRESCRIBE mode, resets printing system defaults to permanent settings, and sets the line width to 0.01 inches. Then the MZP command on line 3 moves the cursor to a point 5 inches to the right of the left edge limit and 4 inches below the top edge limit. Next, DRPA 2, 149; on line 4 draws a line two inches long at an angle of 149 degrees. The angle is measured clockw ise from the vertical axis. The subsequent DRPA com- mands draw additional 2-inch lines at angles that increase in increments of 72 degrees. As indicated by the CMNT (CoMmeNT) comman ds, angles that exceed 360 degrees are equivalent to the remainder of division of the angle by 360. Drawing Boxes and Circles PRESCRIBE provides two commands especial ly for drawing boxes (BOX command) and circles (CIR command). Drawing Boxes The BOX (draw box) command draws a box of a specified width and height . As with the line drawing commands, the thickness of the line used to draw the box is determined by the SPD (set pen diameter) command. The following command sequence draws a box. !R! RES; UNIT C; SPD 0.1; MZP 3, 3; BOX 3, 4; PAGE; EXIT; Downloaded From ManualsPrinter.com Manuals
2-7 Figure 2. 5. An Example of a Box Line 1 places the printing system in the PRESCRIBE mode and resets printing system parameters. The UNIT C; command on the second line sets the unit of measurement to centimeters, and the SPD (Set Pen Diameter) command on line 3 sets the line width to 0.1 centimeters. (If you omit these two comma nds, the printing system will print using the default unit, inches; and the default line width, 3 dots.) Next, the MZP command on line four moves the cursor to the point that is 3 centimeters to the right of the left edge limit and 3 centimeters below the top edge limit. This is the starting point from which the box is drawn. On line 5, BOX 3, 4; draws a box with a width of 3 centimeters and a height of 4 centi- meters. The position of the box with respect to the cursor depends on the positive or negative value specified for width and height . The box is drawn to the right of the cursor if width is positive, and to the left of the cursor if width is negative. Similarly, the box is drawn below the cursor if height is positive, and above the cursor if height is negative. This relation is illustrated in the figure that follows. By default, the position of the cursor is not affected by this command. However, you can also specify an option parameter to make the cursor m ove to an adjacent or diagonally opposite corner of the box, down by one text line, or to the left margin on the next text line. The following figure shows some examples. Downloaded From ManualsPrinter.com Manuals
Chapter 2 Graphics Tutorial 2-8 Figure 2. 6. Cursor Positioning Options XBOX 4, 2, H; Moves the cursor to the horizontally adjacent corner BOX 4, 2, V; Moves the cursor to the vertically adjacent corner BOX 4, 2, E; Moves the cursor to the diagonally opposite corner BOX 4, 2, L; Moves the cursor down one line BOX 4, 2, N; Moves the cursor to the beginning of the next line (to the left margin) Left margin Cursor position -X -Y Y Downloaded From ManualsPrinter.com Manuals