Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki Configuring line weights in PRINTER.PLT
    • Sign In

    • -AskInga
      • +3D MicroStation
      • +AccuDraw Secrets
      • +Animation - Rendering
      • +Behind The Scenes
      • +Cells
      • +Colours
      • +Conversion - Translation
      • +Coordinate Input
      • +Design Settings
      • +Dimensions
      • +DWG
      • +EDG
      • +Element Manipulation
      • +Element Properties
      • +Element Selection
      • +Freeware - Shareware
      • +Interface Look And Feel
      • +Internet - E-Links - Links
      • +Keyins
      • +Levels
      • +Line Styles
      • +Models
      • +MSM Archive
      • +Other
      • +Presentations
      • -Printing - Plotting
        • A quick solution to plot transparent shapes in V7
        • A quick solution to plot transparent shapes in V8
        • Add levels to your PDFs
        • An awesome EMF plot driver
        • Changing printer.plt to metric
        • Configuring line weights in PRINTER.PLT
        • Controlling pen wdths with pen tables
        • Create plot shapes with this macro
        • Creating EMF and WMF files with MicroStation V8 XM Edition
        • Customized PDF plot drivers for Acrobat Distiller
        • Default plot scale
        • Edit the print driver to print to file
        • File naming conventions and pen table customization
        • Hewlett Packard Graphics Language 2
        • Hewlett-Packard print drivers
        • How to make a PDF of your design file
        • How to plot a file
        • Improve fonts in PDFs made from a design file
        • Masking text on plots
        • Open and edit files via a Batch Plot Job file
        • Open PDF automatically after creating them
        • Plotting rasters
        • Plotting to scale
        • Prevent editing of the printer driver configuration file
        • Print accounting variables
        • Printing grayscale to a laser printer
        • Show drawing plot scale in border
        • Show entire file name in border
        • Show model name in the border
        • Show the Windows username in border
        • The contents of a customized plot driver
        • Turn off the ability to plot levels
        • Using customization to automate batch plotting
        • Using the Batch Plot utility
        • White to black conversion when printing
      • +Programming - Automation
      • +Rasters - Images
      • +References
      • +Tags - Data Fields - Fields
      • +Text - Fonts - Annotation
      • +Views
      • +Windows - Interacting With
      • +Workspaces - Configuration
    • graffiti

     
     Questions about this article, topic, or product? Click here. 

    Configuring line weights in PRINTER.PLT

    AskInga logo

    Original Article Date: Sep 23, 1998

    Learn how to customize your line weights via the plot driver file!

    I have been receiving a lot of calls referring to output of line weights from MicroStation. Info and examples available at the end of this document.

    Running MicroStation® 95 on a Windows platform gave you access to installed print drivers utilized by other Windows applications when you selected PRINTER.PLT as the plotter driver configuration file (default location is \USTATION\PLOTDRV). MicroStation SE offers an enhanced PRINTER.PLT file which allows users to fine-tune plotted line weights. Understanding the effects of simple modifications to the plotter driver configuration file is essential to achieving the output you desire.

    Defining The Terms

    It's important to understand the following terminology when working with .PLT files:

    • Line weight is the weight attribute assigned to an object in a design file.

    • Pen width is the physical plotted width of a line weight. As the pen width values increase, wider lines are plotted.

    • Records are the individual lines of text that make up the plot configuration driver file. Records can be modified by opening the file with a text editor, such as Notepad, and changing the parameters. For complete information on modifying plot driver files, refer to Chapter 16 of the MicroStation 95 User's Guide.

    • Commented records are those to the right of a semicolon. They are ignored by MicroStation.

    • Weight_strokes is an optional record and is commented out in the delivered printer.plt file. Pen width is the line weight divided by two in the absence of the weight_strokes record.

    To modify line weight to pen width parameters, uncomment the weight_strokes record (remove the semi-colon at the beginning of the line):

    weight_strokes=(0,4,8,12,16,20,24,28,32,36,
    40,44,48,52,56,60)

    This line causes line weight 2 to be plotted eight logical pen widths wide, line weight 5 to be 20 logical pen widths wide, and so on.

     

    Controlling Pen Width

    PRINTER.PLT in MicroStation SE is quite similar to its predecessor in MicroStation 95. There are, however, two new records introduced in MicroStation SE: weight_offset and weight_multiplier. Modifying these records allows you to control pen width:

    • weight_offset sets the minimum (thinnest) pen width to be plotted. It controls the width of a 0 weight line.

    • weight_multiplier determines the difference in pen width between two adjacent line weights (for example, the difference in pen width between line weights 2 and 3).

    Use the formula pen width = weight_offset + (line weight * weight_multiplier) to determine pen width.

    Some testing will be necessary to achieve desired results. Start testing with weight_offset=0, weight_multiplier=1 and weight_strokes uncommented. Then try changing the weight_strokes values to get proper pen widths.

     

    Change Pen Variable

    PRINTER.PLT does not support the change_pen variable, mainly because most system printer drivers do not control or limit the frequency of pen changes on output devices. When color, weight, or level are selected, MicroStation automatically sorts through the drawing so that all elements to be plotted with the same pen are plotted one after another. The pen is then changed, and the elements for the next pen are plotted. This is only a concern on devices where pen changes are very necessary (such as on a real pen plotters). Although still used, real pen plotters are rapidly becoming less and less utilized. Additionally, there are performance issues to take into consideration when using pen sorting, as any option other than change_pen=both requires that more scanner passes through the design file be done, resulting in slower plotting times. When using change_pen=both (the default if change_pen is not present), information is output in the same order that it exists in the design, thus increasing the efficiency of plotting. And while it is possible to use pen sorting to provide certain types of output priority, it is recommended to use a pen table (or even level symbology in instances where the capabilities that it provides are sufficient).


    Line Weight Output

    I have been receiving a lot of calls referring to output of line weights from MicroStation.

    The HP4MV and many other printers can handle 600 DPI. The following lines can be added or modified to the .plt file.

    ;ENGLISH resolution and SIZE records

    size=(16,10,5)/num=6/off=(0.3,0.3)/name=tabloid
    ;This line is for the 11x17 tray option

    ;needs to be all on one line with no spaces

    ;resolution(IN)=(0.003333333333333333,0.003333333333333333)
    ;300 DPI

    resolution(IN)=(0.001666666666666666,0.001666666666666666)
    ;600 DPI

    AskInga Article #24

    • Askinga
    • Article
    • Plotting Printing
    • Share
    • History
    • More
    • Cancel
    • CTennyson Created by Bentley Colleague CTennyson
    • When: Tue, May 27 2008 11:31 AM
    • Inga Morozoff Last revision by Bentley Colleague Inga Morozoff
    • When: Mon, Jun 14 2010 11:43 AM
    • Revisions: 4
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies