AutoCAD • Layouts, Plotting, and Output

Publishing Drawings — Publish drawings to plotter/printer and to PDF/DWF

Master the output pipeline that transforms digital CAD models into professional hardcopy prints and portable electronic documents.

A drafting compass with dimension and drawing-panel symbols.
Inside this lesson 10 sections 5 questions 5 figures

SECTION 1

Historical Context & Motivation

The challenge of translating digital design data into tangible, reviewable output has been central to CAD software since its inception. In the early days of computer-aided design, pen plotters physically dragged ink pens across large-format paper, producing vector-based line drawings that mimicked traditional drafting. As the industry matured, the need for standardized, portable output formats grew—driving the development of electronic publishing workflows that could replace or supplement physical prints. Understanding this evolution is essential for any Computer Science student working at the intersection of software systems and engineering workflows, because the publishing pipeline exposes real-world concerns about device abstraction, file format design, and configuration management.

1982 • AutoCAD 1.0 Released

Autodesk releases AutoCAD 1.0 with rudimentary PLOT command supporting HPGL pen plotters—output was strictly physical and required manual device configuration for each drawing.

1997 • DWF Format Introduced

Autodesk introduces Design Web Format (DWF), a compressed vector format enabling electronic distribution of drawings without requiring full AutoCAD licenses for reviewers.

2004 • Multi-Sheet PUBLISH Command

AutoCAD 2004 introduces the PUBLISH command, allowing batch output of multiple layouts across multiple drawings to a single multi-sheet DWF file or physical plotter—dramatically improving workflow efficiency.

2009 • Native PDF Output

AutoCAD 2010 ships with a built-in PDF plotter driver (DWG To PDF.pc3), eliminating the need for third-party PDF printers and establishing PDF as a first-class output format alongside DWF.

2020 • Cloud & Trace Workflows

Modern AutoCAD versions integrate cloud-based collaboration and Trace markup layers, but PLOT and PUBLISH remain the foundational commands for producing final deliverable output.

The central question this lesson addresses is both practical and architectural: how does AutoCAD abstract the enormous variety of output devices—from large-format inkjet plotters to virtual PDF drivers—behind a unified publishing interface, and how can you configure that interface to produce consistent, professional output across media? Mastering this pipeline means understanding page setups, plotter configurations, and plot style tables—three layers of indirection that, from a software engineering perspective, form an elegant configuration stack.

SECTION 2

Core Principles & Definitions

Before diving into commands and dialogs, it is important to establish the conceptual framework that governs AutoCAD's output system. The publishing pipeline is built on several distinct but interdependent abstractions, each of which encapsulates a specific aspect of the output process. Think of it as a layered architecture: the drawing data sits at the bottom, configuration objects mediate in the middle, and the output device or file format sits at the top.

1

Model Space vs. Paper Space

Model Space is the infinite coordinate environment where you create geometry at full scale. Paper Space (layouts) represents the physical sheet, containing viewports that look into Model Space at specified scales. Publishing always targets a layout or the Model tab.
2

Page Setup

A page setup is a named collection of plot settings—device, paper size, plot area, scale, plot style table, and orientation—stored within each layout. It acts as a serialized configuration object that can be reused or imported across drawings.
3

Plotter Configuration (.pc3)

A .pc3 file is a device driver configuration that abstracts hardware specifics—port, resolution, custom paper sizes—into a portable, shareable file. Virtual devices like DWG To PDF.pc3 and DWFx ePlot.pc3 are .pc3 files that output to files rather than physical devices.
4

Plot Style Tables (.ctb / .stb)

CTB files map AutoCAD colors to output properties (lineweight, screening, pen assignment). STB files use named styles assigned per object or layer. These control the visual translation from screen to output.
5

PLOT vs. PUBLISH Commands

PLOT outputs a single layout at a time. PUBLISH operates on a sheet list—potentially spanning multiple DWG files—and can batch-produce multi-sheet PDFs, DWFs, or send sequential jobs to a physical plotter queue.
✦

KEY TAKEAWAY

Think of AutoCAD's publishing system like a compiler toolchain. The drawing data is your source code, the page setup is a makefile specifying build options, the .pc3 plotter configuration is the target platform specification, and the plot style table is a set of optimization flags that control the final rendering. Changing any one of these alters the output without modifying the underlying design—just as changing a compiler flag alters a binary without editing source.

SECTION 3

Visual Explanation — The Publishing Pipeline

AutoCAD Publishing PipelineDWG FileModel + LayoutsPage SetupDevice, Paper Size,Scale, Area, Style.pc3 + .ctb/.stbPLOT / PUBLISHPLOT: single sheetPUBLISH: batch / multi-sheetBackground processingPhysical PrintPlotter / PrinterPDF FileDWF / DWFx FileConfiguration File RelationshipsPlotter Config (.pc3)Device driver bindingPort / resolutionCustom paper sizes→ Plotters/ folderPlot Style (.ctb/.stb)Color→pen mappingLineweight overridesScreening / dithering→ Plot Styles/ folderPMP File (.pmp)Plot Model ParametersCalibration dataPlotter-specific adj.→ Plotters/ folderPage Setup (stored in Layout)References .pc3 + .ctb/.stb + .pmp → Combines all settings into one reusable configuration
The publishing pipeline flows from left to right: the DWG file's layouts are processed through page setups that reference plotter configurations (.pc3), plot style tables (.ctb or .stb), and optional calibration data (.pmp). The PLOT or PUBLISH command then routes output to a physical device, PDF, or DWF.

The diagram above reveals a critical insight for Computer Science students: AutoCAD's output system follows a strategy pattern in which the page setup object aggregates references to interchangeable strategy objects (the .pc3 device, the style table). Swapping a .pc3 from "DWG To PDF.pc3" to a physical HP DesignJet plotter changes the entire output target without modifying any drawing geometry or layout composition. This separation of concerns is what makes batch publishing with the PUBLISH command feasible—every layout in the sheet list can override its page setup independently, enabling mixed-output jobs where some sheets go to paper and others to PDF.

SECTION 4

How It Works — PLOT and PUBLISH in Detail

The PLOT Command Workflow

The PLOT command (keyboard shortcut: Ctrl+P) opens the Plot dialog, which presents a single-layout configuration interface. The dialog is structured around several parameter groups that correspond directly to the fields stored in a page setup object. When you execute PLOT, AutoCAD performs the following sequence internally: it reads the current layout's page setup, resolves the referenced .pc3 device driver, loads the plot style table, computes the geometric transformation from drawing units to paper units based on your chosen scale and plot area, rasterizes or vectorizes the drawing content according to the device's capabilities, and finally spools the output to the device or writes it to a file. This pipeline is essentially a render-to-target operation analogous to rendering a 3D scene to different framebuffer formats.

Key Plot Dialog Parameters

ParameterDescriptionTypical Values
Printer/PlotterSelects the .pc3 device configurationDWG To PDF.pc3, DWFx ePlot (XPS Compatible).pc3
Paper SizeDimensions of the output mediumANSI A (8.5 × 11), ARCH D (24 × 36), ISO A1 (594 × 841 mm)
Plot AreaRegion of drawing to include in outputLayout, Extents, Window, Display
Plot ScaleRatio of plotted units to drawing units1:1 (layout), Fit to Paper, 1:100, ¼" = 1'-0"
Plot Style TableColor/lineweight translation rulesmonochrome.ctb, acad.ctb, custom .stb files
Plot OffsetX,Y displacement from lower-left of printable area0,0 or Center the Plot checkbox

Primary parameters in the PLOT dialog

The PUBLISH Command Workflow

The PUBLISH command extends PLOT's single-sheet paradigm into a batch processing framework. It presents a sheet list—a table of layouts drawn from one or more open or referenced DWG files—and allows you to configure each entry's page setup independently. The command's output options include sending all sheets to a plotter queue, generating individual single-sheet PDFs, producing a single multi-sheet PDF, or creating a multi-sheet DWF/DWFx file. Under the hood, PUBLISH iterates over the sheet list, instantiates a plot job for each entry using that entry's page setup, and queues all jobs for either foreground or background processing. Background processing is managed by a separate process (acpublish.exe) that frees the AutoCAD UI thread, a concurrency pattern familiar to any CS student who has worked with task queues or worker threads.

💡

DSD Files: Saved Sheet Lists

The PUBLISH command can save and load sheet lists as .dsd (Drawing Set Description) files. These are plain-text XML-like configuration files that store file paths, layout names, and page setup overrides. Think of them as build manifests—they define which "source files" (layouts) should be compiled (plotted) and with what flags (page setups).

SECTION 5

Output Formats — PDF, DWF, and Physical Plotting

Understanding the characteristics of each output format is essential for choosing the right target for a given project deliverable. AutoCAD supports three primary output channels: physical plotting to a printer or plotter, PDF output via the built-in DWG To PDF driver, and DWF/DWFx output via the ePlot driver. Each format has distinct strengths that map to different use cases in professional practice.

Output Format ComparisonPhysical PlotSystem printer or .pc3Raster or vector outputTangible / archivalLarge format: up to E size✓ StrengthsLegal / archival requirementsExact scale for field useMarkup with physical pen✗ LimitationsCost per sheetNot searchableSingle copy per printPDF OutputDWG To PDF.pc3 driverVector + embedded fontsUniversal reader supportOptional layer retention✓ StrengthsNo special viewer neededText searchableMulti-sheet support✗ LimitationsLarger file sizes than DWFNo measure tools by defaultStatic—no object dataDWF / DWFx OutputDWFx ePlot (XPS).pc3Compressed vector formatAutodesk Design ReviewPreserves layers + data✓ StrengthsSmallest file sizeMeasurement toolsDigital markup/redline✗ LimitationsRequires special viewerLimited outside AutodeskDeclining adoption
Three output channels compared: physical plotting for tangible deliverables, PDF for universal electronic distribution, and DWF/DWFx for compact Autodesk-ecosystem review workflows. Note how each format trades off between universality, file size, and feature richness.

PDF Output Details

When publishing to PDF, AutoCAD uses the DWG To PDF.pc3 virtual plotter, which generates vector-based PDF files with embedded TrueType fonts. A particularly powerful feature is layer retention: by enabling "Include layer information" in the PDF options, AutoCAD maps its internal layer structure to PDF optional content groups (OCGs), allowing recipients to toggle layer visibility in Adobe Acrobat without needing AutoCAD. The PDF output also supports hyperlinks, bookmarks for multi-sheet navigation, and configurable raster image quality (controlled by the PDFSHX and EPSTOPDF system variables). For Computer Science students, it is worth noting that the PDF specification itself (ISO 32000) is an open standard, making PDF the most interoperable choice for cross-platform distribution.

DWF/DWFx Output Details

The DWF (Design Web Format) format was Autodesk's proprietary answer to the need for a lightweight, secure review format. DWFx is its successor, built on the XML Paper Specification (XPS) container format, making it viewable in older Windows XPS viewers. DWF files achieve significantly smaller file sizes than equivalent PDFs through aggressive compression and by omitting rendering-independent metadata. They also preserve object-level data such as block attributes and properties, which makes them suitable for quantity takeoff and facility management workflows. However, the format's dependence on Autodesk's ecosystem—primarily Autodesk Design Review (now discontinued) or Autodesk Viewer—has led to declining adoption in favor of PDF in most industry workflows.

SECTION 6

Worked Example — Publishing a Multi-Sheet PDF

Consider a scenario in which you have a drawing file containing three layouts—Cover Sheet, Floor Plan, and Elevations—and you need to produce a single multi-sheet PDF for client review with monochrome lineweights.

Publishing 3 Layouts to a Multi-Sheet PDF

  1. 1

    Step 1 — Configure Page Setups

    Open the first layout tab (Cover Sheet) and invoke PAGESETUP (or right-click the tab → Page Setup Manager). Create a new page setup named PDF-ANSI-D-Mono. Set the Printer/Plotter to DWG To PDF.pc3, Paper Size to ANSI expand D (34.00 x 22.00 Inches), Plot Area to Layout, Plot Scale to 1:1, and Plot Style Table to monochrome.ctb. Click OK, then set this page setup as current for the layout.
    Page setup PDF-ANSI-D-Mono created and assigned to Cover Sheet layout.
  2. 2

    Step 2 — Apply Page Setup to Remaining Layouts

    Switch to the Floor Plan layout tab, open Page Setup Manager, and use Import to bring in the PDF-ANSI-D-Mono page setup from the same drawing (or select it if already listed). Set it as current. Repeat for the Elevations layout. This ensures uniform output settings across all sheets—analogous to applying a shared configuration file across multiple build targets.
    All three layouts now share the same page setup configuration.
  3. 3

    Step 3 — Open the PUBLISH Dialog

    Type PUBLISH at the command line. The Publish dialog displays a sheet list populated with all layouts from the current drawing. Remove the Model tab entry (select it and click the remove button) since we only want Paper Space layouts. Verify the three layout entries appear with their correct page setups in the "Page Setup / 3D DWF" column.
    Sheet list contains: Cover Sheet, Floor Plan, Elevations—each referencing PDF-ANSI-D-Mono.
  4. 4

    Step 4 — Set Output to Multi-Sheet PDF

    In the "Publish to" dropdown at the top of the dialog, select PDF. Ensure the "Publish Output" option is set to Multi-sheet file (not "Single-sheet file" which produces individual PDFs). Click the Publish Options button. Enable "Include layer information" if you want recipients to toggle layers in the PDF. Set the output location and filename.
    PUBLISH configured for multi-sheet PDF output with layer information.
  5. 5

    Step 5 — Execute and Verify

    Click Publish. AutoCAD will prompt to save the sheet list as a .dsd file (optional but recommended for repeatability). The status bar displays a plot/publish notification icon; click it when complete to view the plot log. Open the resulting PDF to verify: all three sheets should appear as pages, monochrome lineweights should be applied per the .ctb mapping, and if layer information was included, the PDF should have a layers panel in Acrobat.
    Multi-sheet PDF generated successfully with 3 pages, monochrome output, and optional layer toggles.

SECTION 7

PLOT vs. PUBLISH — When to Use Each

Choosing between PLOT and PUBLISH is not merely a matter of convenience—it reflects a fundamental decision about workflow architecture. PLOT is the fine-grained, interactive command suited for iterative checking of individual layouts, while PUBLISH is the batch-oriented command designed for production output of complete drawing sets. The table below provides a systematic comparison.

CriterionPLOT (Ctrl+P)PUBLISH
ScopeSingle layout or Model tabMultiple layouts across multiple DWG files
Multi-sheet outputNo—produces one sheet per invocationYes—single multi-sheet PDF or DWF
Background processingOptional (BACKGROUNDPLOT = 1)Default behavior; uses separate process
Sheet list managementN/AFull sheet list with add/remove, .dsd save/load
Page setup overrideFull dialog for current layoutPer-sheet override in sheet list
Typical use caseQuick check prints, single-sheet deliverablesFinal deliverable sets, automated batch jobs
AutomationScriptable via command-line PLOTScriptable; also supports AutoLISP and .NET API

PLOT vs. PUBLISH command comparison

✦

KEY TAKEAWAY

If PLOT is like compiling a single source file with gcc main.c -o main, then PUBLISH is like running make all—it orchestrates the entire build, respecting individual target configurations, and produces a unified deliverable. Use PLOT for debugging individual sheets; use PUBLISH for production builds.

SECTION 8

Connection to Advanced Theory — Automation & API

For Computer Science students, the publishing pipeline is not just a GUI workflow—it is a programmable subsystem with rich automation potential. AutoCAD exposes its plotting functionality through multiple APIs, enabling fully automated publish pipelines that integrate with CI/CD-like workflows in engineering firms.

ApproachBasic Publishing (GUI)Advanced Automation (API/Script)
InterfacePlot dialog, Publish dialogAutoLISP, .NET (C#), Python via pyautocad, script files (.scr)
ConfigurationManual page setup via dialogProgrammatic PlotSettings object manipulation
Batch capabilityPUBLISH sheet list (manual assembly)Dynamic sheet list generation from directory scan or database
Error handlingPlot log review (manual)Exception handling, structured logging, email notifications
IntegrationStandalone AutoCAD sessionHeadless mode (accoreconsole.exe), webhooks, document management systems

GUI-based vs. programmatic publishing approaches

The most powerful automation vector is AutoCAD Core Console (accoreconsole.exe), a headless version of AutoCAD that can execute script files without launching the full GUI. This enables server-side batch publishing—a firm can set up a watch folder, and a scheduled task or file system watcher triggers accoreconsole.exe to process new DWG files, publish them to PDF, and upload results to a document management system. For students familiar with DevOps concepts, this is essentially a continuous deployment pipeline for engineering documents. The .NET API provides the PlotEngine and PlotInfo classes that give full programmatic control over every parameter that the GUI dialog exposes, along with events for progress monitoring and error handling.

ℹ

System Variables for Plot Control

Key system variables include BACKGROUNDPLOT (0 = foreground, 1 = background for PLOT, 2 = background for PUBLISH, 3 = both), PDFSHX (controls SHX font handling in PDFs), PUBLISHALLSHEETS (auto-populates all layouts), and PLOTROTMODE (controls plot rotation behavior). These variables can be set programmatically before invoking plot commands in scripts.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Explain the architectural relationship between a page setup, a .pc3 plotter configuration file, and a .ctb plot style table. Why does AutoCAD separate these into distinct configuration objects rather than storing all output settings in one monolithic file?
Show answer
A page setup acts as an aggregator that references a .pc3 file (device configuration) and a .ctb or .stb file (visual translation rules). Separating these into distinct objects follows the single responsibility principle: the .pc3 encapsulates device-specific details (port, resolution, custom paper sizes) that remain constant across projects, while the .ctb defines organizational standards for pen mapping that may be shared across dozens of drawings. If all settings were monolithic, changing a plotter would require editing every drawing's configuration. By separating concerns, you can swap devices by simply changing the .pc3 reference, or change lineweight conventions by swapping the .ctb—without modifying the page setup's other parameters. This is analogous to dependency injection in software design.

Question 2: BASIC CALCULATION

A floor plan is drawn in Model Space at full scale in inches. The finished drawing must be plotted on an ARCH D sheet (36" × 24") with a ¼" = 1'-0" scale from a Paper Space layout. What viewport scale factor should the viewport use, and what is the equivalent ratio?
Show answer
The scale ¼" = 1'-0" means that every 1 foot (12 inches) in the real world is represented by 0.25 inches on paper. The viewport scale factor is therefore 0.25 / 12 = 1/48. As a ratio, this is 1:48. In AutoCAD, you would set the viewport's custom scale to 1/48 (or type 1/48xp in the ZOOM command while inside the viewport). The layout itself is then plotted at 1:1 from Paper Space, because the scaling has already been handled by the viewport. This means the plot area would be set to "Layout" and the plot scale to 1:1 in the page setup.

Question 3: INTERMEDIATE

You have a drawing with five layouts. Three need to be published to a multi-sheet PDF for client review, and two need to be sent to a large-format HP DesignJet plotter for construction documents. Describe the PUBLISH workflow to accomplish this in a single session, including how you would configure page setups and the sheet list.
Show answer
First, create two named page setups: one called PDF-Review using DWG To PDF.pc3, and another called Plotter-DesignJet using the HP DesignJet's .pc3 file. Assign PDF-Review to the three review layouts and Plotter-DesignJet to the two construction layouts. However, PUBLISH can only target one output type per invocation (you cannot mix PDF and plotter output in a single publish run). Therefore, you would need two PUBLISH runs: one with "Publish to: PDF" containing only the three review sheets, and a second with "Publish to: Plotter named in page setup" containing only the two plotter sheets. Alternatively, you can run PUBLISH once targeting the plotter, with the three PDF layouts using their DWG To PDF.pc3 page setups, which would route each sheet to its page setup's designated device. Save each sheet list as a .dsd file for repeatability.

Question 4: APPLIED

An architecture firm needs to automate nightly PDF generation for all modified DWG files in a project folder. Outline a solution using accoreconsole.exe and script files. What challenges would you anticipate, and how would you handle errors?
Show answer
The solution would use a scheduled task (cron or Windows Task Scheduler) that runs a batch script. The batch script scans the project folder for DWG files modified since the last run (using file timestamps), then for each modified file, invokes accoreconsole.exe /i "file.dwg" /s "publish.scr". The script file publish.scr would contain PUBLISH command invocations with pre-configured page setups. Key challenges include: (1) missing xrefs or fonts causing plot warnings—mitigate by setting XREFNOTIFY to 0 and ensuring all support file paths are configured; (2) license availability since accoreconsole requires an AutoCAD license; (3) error handling, which can be managed by parsing the plot log file generated after each publish and triggering email alerts for failures. The output PDFs would be written to a shared output directory or uploaded to a document management system via a post-processing script.

Question 5: CRITICAL THINKING

PDF has largely supplanted DWF as the preferred electronic output format for CAD drawings, despite DWF's smaller file sizes and richer feature set (measurement tools, object data preservation). From a software engineering and industry ecosystem perspective, analyze why an open standard (PDF) won over a technically superior proprietary format (DWF). What lessons does this offer for format design decisions in your own software projects?
Show answer
DWF's decline illustrates a classic network effects and ecosystem lock-in problem. PDF (ISO 32000) is an open standard with universal reader support—every operating system includes a PDF viewer, and Adobe Acrobat has massive market penetration. DWF required Autodesk Design Review, a dedicated viewer that non-CAD professionals were unlikely to install. Even though DWF offered superior technical features for engineering workflows, the friction of requiring recipients to install software created a barrier to adoption. Furthermore, PDF's ecosystem evolved to partially close the feature gap: modern PDFs support layers (OCGs), measurement tools (in Acrobat Pro and Bluebeam Revu), and form fields. The lesson for software engineers is that interoperability and ecosystem compatibility often outweigh raw technical superiority. When designing file formats, prioritize open standards, minimize viewer dependencies, and consider the full distribution chain—not just the author's workflow. A format that requires no special software to consume will achieve broader adoption than a technically richer format locked to a proprietary viewer.

SUMMARY

Summary

Summary

AutoCAD's publishing system transforms digital drawing data into professional output through a layered configuration architecture. Page setups aggregate references to .pc3 plotter configurations (which abstract physical and virtual devices) and .ctb/.stb plot style tables (which control the visual translation from screen colors to output lineweights and colors). The PLOT command handles single-layout output for quick checks, while the PUBLISH command enables batch production of multi-sheet sets with background processing and saveable .dsd sheet lists.

Three primary output channels serve different needs: physical plotting for tangible deliverables and field use, PDF for universal electronic distribution with optional layer retention, and DWF/DWFx for compact, data-rich review within the Autodesk ecosystem. Advanced automation through accoreconsole.exe, .NET API, and script files enables headless, server-side publishing pipelines—bridging the gap between CAD workflows and modern software engineering practices.

Varsity Tutors • AutoCAD • Publishing Drawings — Publish drawings to plotter/printer and to PDF/DWF