Skip to content
Tutorials Center
My learning

Topics

Lesson 32 of 38 ยท Automation and Plotting

AutoCAD Plotting: PLOT, Plot Styles (CTB/STB), PDF and Publish

Plot AutoCAD drawings correctly: choose printer or PDF, paper size, plot area and scale, apply CTB or STB plot styles and lineweights, preview, batch publish and fix common plotting problems.

Plotting turns a drawing into something people can use: a paper print or a PDF. A drawing can look perfect on screen and still plot badly if the plot area, scale, lineweights or plot style are wrong. The good news is that plotting is a short checklist, and once your layout and plot style are set up it takes seconds.

AutoCAD cannot run on this site. The dialog and options are described as they appear in the program, and the runnable examples are labelled JavaScript stand-ins for the calculations behind them.

The PLOT dialog

Press Ctrl+P (or PLOT) from a layout tab. The Plot dialog (click the arrow at the lower right to expand it) has these sections:

  • Page setup: pick a saved setup or <None>.
  • Printer/plotter: a system printer, a .pc3 file, or a virtual driver such as DWG To PDF.pc3 (the standard PDF output). Plot to file writes a plot file instead of sending it to a device.
  • Paper size: ISO A4, A3, A1, ANSI B/D/E, ARCH sizes... must match the real paper in the device.
  • Plot area: Layout (the paper), Extents, Display, Window (pick corners), Limits.
  • Plot offset: Center the plot is usually fine.
  • Plot scale: 1:1 for layouts. In the Model tab you can pick a scale or Fit to paper.
  • Plot style table: assigns color, lineweight and screening to objects (see below); Display plot styles shows the effect on screen.
  • Shaded viewport options: for 3D, choose As displayed, Wireframe, Hidden or Rendered, and the quality.
  • Plot options: Plot object lineweights, Plot with plot styles, Plot paper space last, Hide paperspace objects, Plot stamp on, Save changes to layout.
  • Drawing orientation: Portrait, Landscape, Plot upside-down.

Click Preview to check everything, then OK. If the preview looks wrong, adjust before printing: it costs nothing.

JS Stand-in: does the sheet fit the paper, and at what scale?

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Plot styles: CTB and STB

Plot styles override how objects look in print, independent of how they look on screen. There are two types:

  • CTB (Color-dependent Plot Style Table, .ctb): maps each of the 255 AutoCAD colors to plot settings. Every object with red plots as the table says for red, say 0.35 mm, black. This is the most common type.
  • STB (Named Plot Style Table, .stb): styles are named (Heavy, Light) and assigned to layers or objects. It permits different plot appearance for objects of the same color.

The type is fixed per drawing at creation (PSTYLEPOLICY = 1 for CTB, 0 for STB). Convert with CONVERTPSTYLES. A plot style table holds, for each color or style: color (usually black), lineweight, linetype, screening (percentage of ink), fill, line end and join style, and dither.

Create and edit them with Output > Plot > Plot Style Manager, or STYLESMANAGER (opens the folder of .ctb files) and the Plot Style Table Editor. Built-in tables include acad.ctb (colors as drawn), monochrome.ctb (everything black) and Grayscale.ctb. Make your own, assign black ink to all colors and set lineweights per color: red (walls) 0.50 mm, yellow (doors) 0.25 mm and so on.

JS Stand-in: a CTB-style table mapping colors to plotted lines

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Lineweights and scale

Plotted thickness comes from the plot style when one is applied, otherwise from the object's or layer's lineweight (Plot object lineweights). Scale lineweights (on by default only for layouts) multiplies thickness by the plot scale, which you should leave off. Pick a consistent set: 0.13, 0.18, 0.25, 0.35, 0.50, 0.70 mm for ISO. A good rule is a ratio of roughly 1 : 1.4 between neighbouring weights, which look clearly different in print.

PDF, DWF and publishing

  • PDF from a layout: choose DWG To PDF.pc3, or EXPORT > PDF; set Quality, Include layer information and Create bookmarks in the PDF options. For vector PDFs, text remains searchable when a TrueType font is used.
  • Publish (PUBLISH): add many layouts from one or more drawings to a list, set the output to a multi-sheet PDF, plot device or DWF, and run them together. Save the list as a .dsd file to repeat it. Publish in background (BACKGROUNDPLOT) keeps you working.
  • Batch: sheet sets plot a whole project in one go (see layouts).
  • Plot stamp (PLOTSTAMP) prints the file name, date and user in the corner.

Plotting checklist

  1. Layout's page setup: printer, paper size, plot area Layout, scale 1:1.
  2. Viewports locked at the correct scales; viewport layer non-plotting.
  3. Title block filled, fields updated (UPDATEFIELD or REGEN).
  4. Plot style table applied, Display plot styles checked in the preview.
  5. Preview: nothing cut off, lines readable, text legible.
  6. Plot or publish; verify the first PDF page at 100% zoom.

Common problems

  • Everything is tiny or huge. The plot scale is wrong; with a layout it should be 1:1.
  • Missing lines. The layer's Plot is off, the color maps to white or a pale shade, or the style is set to Screening 0.
  • All lines same thickness. Plot object lineweights is unchecked, or the CTB maps every color to the same weight.
  • Solid fills plot black. The plot style applies black to all colors; use screening, or use a fill color instead.
  • Fonts differ in PDF. A missing SHX or TTF font; embed or substitute.
  • Text blurred in PDF. Use vector output and the right DPI for raster images.
  • The viewport frame prints. Move viewports to a layer with Plot off.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What plot scale do you normally use when plotting a layout?

    A layout is already at paper size, so you plot it 1:1; viewports carry the drawing scale.
  2. 2. What does a CTB file map?

    A color-dependent plot style table assigns print color, lineweight and screening per AutoCAD color.
  3. 3. Which printer choice produces a PDF without extra software?

    The DWG To PDF.pc3 driver writes a PDF file.
  4. 4. How do you keep viewport borders from printing?

    A layer with the plot property off still shows the viewport on screen but never prints it.

Summary

  • Plot from a layout at 1:1 with the correct paper size and plot area, and preview before printing.
  • CTB tables map colors to lineweight, color and screening; STB uses named styles.
  • Use DWG To PDF.pc3 or PUBLISH for PDFs and multi-sheet sets.
  • Follow a checklist: setup, viewports, title block, plot style, preview.

Next: Scripts and the Action Recorder