Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
AskInga
  • Welcome to Bentley Communities
  • Bentley's Communities
  • AskInga
  • More
  • Cancel
AskInga
AskInga Community Wiki How to plot a file
    • Sign in
    AskInga requires membership for participation - click to join
    • -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. 

    How to plot a file

    Ask Inga logo

    Original Article Date: May 12, 1999

    A quick little article that discusses how to send files to a printer, edit your print driver file to bypass the Save As dialog and setting up for printing to an network printer by using the netuse command.
    2005-02-18 Edited for clarity.

    Sending a plot file to a printer:
    Once you've created your plot file from within MicroStation, you'll need to send it to the printer. This is done by sending the following command via the system Command Prompt window:

    copy myplot.000 lpt1
    OR
    copy myplot.000 \\server\printer

    An alternate to useing the DOS copy command is to utilize a product such as PrintFile. This freeware utility allows you to easily send files to your printer and seems to be quite popular.

    Print directly to the printer and bybass the Save As dialog:
    The syntax below allows you to print directly to a network port without specifying a plotfile name or opening the Save As... plot dialog.

    Using a ASCII text editor, such as Windows Notepad, open the plot driver file you use with your printer/plotter.

    The delivered printer drivers are located in the following folders:

    ...\Bentley\Workspace\System\plotdrv\ for MicroStation V8
    ...\Bentley\Program\MicroStation\plotdrv\ for MicroStation/J,
    ...\win32app\ms95\plotdrv\ for MicroStation 95/MicroStation SE, and
    ...\win32app\ustation\plotcfg\ for MicroStation V5.


    Locate the line that reads default_extension/auto_incExt=' 000 ' and comment it out by placing a semi-colon in front of the first character in the line. This particular line in the plot driver tells the MicroStation to provide a default extension of 000 in the Plot > Save As... dialog and to auto increment a duplicate plot file of the same name. For example:

    plot.000 is the first saved plot file.
    plot.001 will be the name of the second saved plot file of the same file.

    Remove the semi-colon (uncomment) the line that reads: default_outFile/auto_overwrite = "LPT1". This line tells MicroStation save the plotfile directly to a specified port. The "auto_overwrite" statement automatically overwrites the file without displaying a message saying "this file already exists, do you wish to overwrite?" The statement directly after "auto_overwrite = " sign is where we can specify a port (i.e. LPT1 ) or the network location of the printer/plotter (i.e. \\pub\help ).

    For example:

    default_outFile/auto_overwrite = "\\printman\hp650c1"

    This will save the plot out file to the network device located at \\printman\hp650c1.

    Another example to plot to LPT1 would be:

    ; default_extension/auto_incExt = ' 000 '
    ; default extension for plotfiles
    ; To configure a default output file name comment out the default_extension
    ; line above and uncomment this line. "LPT1" may be substituted with any
    ; desired filename - e.g. "$(MS_PLTFILES)plotfile.000"

    default_outFile/auto_overwrite = "LPT1"


    Caution:
    The delivered plot drivers should not be modified. Instead, make a copy it and place it in your standards folder. For example, in MicroStation V8, use this folder: ...\Bentley\Workspace\Standards\plotdrv\. This will prevent MicroStation from deleting your customized file in the event that it needs to be reinstalled.


    Connecting to a network printer:
    Use the system NET USE command to connect or disconnect a computer to a shared resource on the network such as a printer or plotter. Typing in NET USE will display the devices connected to your computer. For more information on NET USE and the syntax options,type NET USE /H. Only the options that relate to setting the plotting port are shown below:

    syntax:

    NET USE [devicename] [\\computername\sharename]

    Where

    devicename

    Assigns a name to connect to the resource or specifies the device to be disconnected. There are two kinds of devicenames: disk drives (D: through Z:) and printers (LPT1: through LPT3:).

    \\computername

    Is the name of the computer controlling the shared resource. If the computername contains blank characters, enclose the double backslash (\\) and the computername in quotation marks (" "). The computername may be from 1 to 15 characters long.

    \sharename

    Is the network name of the shared resource.




    For example:
    NET USE LPT1 \\PRINTMAN\HP650C will return the message "command completed successfully" and set \\PRINTMAN\HP650C as the destination of the LPT1 port for that machine.

    Another example, using Banyon Vines Network software or Novell NetWare software with the format:
    NET USE LPT1 \\LOCALHUB\PLOTQUE will return the message "command completed successfully" and set \\LOCALHUB\PLOTQUE as the destination of the LPT1 port for that machine.

    The NET USE command can be added to the autoexec.bat file in both Windows NT and 95. Upon start up, the destination will be set for the specified port for that machine.

    AskInga Article #21

    • Askinga
    • Plotting Printing
    • Share
    • History
    • More
    • Cancel
    • CTennyson Created by Bentley Colleague CTennyson
    • When: Tue, May 27 2008 9:48 AM
    • Inga Morozoff Last revision by Bentley Colleague Communities MVP Inga Morozoff
    • When: Mon, Jun 14 2010 12:17 PM
    • Revisions: 5
    • Comments: 0
    Anonymous
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • User Management
    • Licensing Manager
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

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