// Hewlett-Packard Company // HP-GL/2 AutoCAD 386 Protected Mode ADI Version 4.2 Driver // SAMPLE.CFG is provided as a commented configuration file for reference // Statements that begin with double slashes (//), Semicolon (;) or ... # Pound(sharp) symbol are treated as COMMENTS. // Comments are NOT SAVED when HPCONFIG overwrites a CFG file. Unparseable records (like this one) are benignly ignored... echo on // This causes the parser to echo what it THINKS you specified. // The echo output file for YOUR.CFG is YOUR.ERR // From this point till "Echo OFF" records are echoed MODEL HP DesignJet 650C echo off COPIES 1 // Causes the specified number of copies to be plotted // Causes RP (n-1) to be sent at end of plot // Causes &l#X to be sent at start of plot for PCL devices // COPIES is configurable via HPCONFIG Main Menu SENDPS 1 // 0 If you don't want the PS (page size command) sent. // Plotter will use media size loaded or for // rollfeed, the size set through front panel. // SENDPS cannot be set via HPCONFIG (Ver 2.1) SENDPG 1 // 0 If you don't want the PG at end of plot to be sent. // This is so you can add previously plotted objects to be // added onto the same page. // SENDPG 1 is NOT to be used for normal plotting because the // plotter will generate NO printed output unless it receives // PG; command. SENDPG is NOT configurable via HPCONFIG. WHITE 0 // 0 (color white is opaque), 1 (white is transparent) // WHITE is NOT configurable via HPCONFIG. MERGE 0 // 0 (Current color is opaque), 1 (Current color merges) // MERGE is configurable via HPCONFIG's Pens Screen // =1 If you don't like light colors crossing over dark colors. // Effect of MERGE Mode on Merged Plotting+Rendering (HPMPLOT): // =0 causes RHPRTL to send a rectangle with the BG colour to // blank over the previously plotted vectors. AVE Render // in early versions always specifies a black background. // =1 causes RHPRTL NOT to send a blanking rectangle. // AutoCAD plotted lines show through the rendered image. // Setting MVIEW HIDEPLOT ON results in an interesting // combined image. If facet rendering was chosen, your // background will not be black. If smooth rendering was // chosen, you WILL get black background because AVE Render // sends black pixels wherever there are no objects. CUTTER 1 // 0 (send EC0; don't cut), 1 (send EC; cut) // If CUTTER is missing, default is to cut after plotting QUALITY 66 // Print quality (0...100) // QUALITY < 50 ---> DRAFT Mode // 50 < QUALITY < 66 ---> FINAL Mode // QUALITY > 66, Some plotters enter ENHANCED mode // If QUALITY is missing, default 100 // QUALITY can be set via HPCONFIG // Effect of QUALITY on the rendering driver RHPRTL: // For facet (not smooth) rendering, no real effect other than snapping // the resolution of polygon coordinates to those in this table: // // PLOTTER DRAFT FINAL/ENHANCED // DesignJets 75 dpi 300 dpi // PaintJet XL 90 dpi 180 dpi // PaintJet XL300 75 dpi 300 dpi // // For Smooth rendering, AVE Render asks the driver for the number of pixels // in the X and Y directions. RHPRTL returns the number of pixels in X,Y // directions based on the Page Size and the effective dpi. The effective dpi // is determined via the above table. RHPRTL will ALWAYS do pixel replication // and dithering to ensure the picture will be output in the native dpi of // the plotter. This GREATLY improves the rendering speed with only minor // loss in spatial resolution. // For example: // You set Draft Mode rendering to your DesignJet 650C // You set "Units"= Inches; "1st Corner" = (0,0); "2nd Corner" = (10,6) // RHPRTL will report to AVE Render: // image width = 10 x 75 = 750 pixels // image height = 6 x 75 = 450 pixels // As each scanline is to be plotted, RHPRTL will replicate each pixel // 16 times ( 4 in X-dir, 4 in Y-dir ) and dither each of the 16 pixels // so you will get a 300 dpi image. ORIENT 0 // Simulates the Front Panel ROTATE button (0, 90, 180, 270). // If ORIENT is missing, default 0. // ORIENT is set according with the row selected in the Media // Options dialog box in HPCONFIG. // if LANDSCAPE image if PORTRAIT Select // ÚÄÒÜÜÜÜÜÜÜÜÒÄ¿ ÚÄÒÜÜÜÜÜÜÜÜÒÄ¿ ORIENT // ÀÄ×ÍÍÍÑÍÍÍÑ×ÄÙ ÀÄ×ÍÍÍÑÍxÍÑ×ÄÙ ÚÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ // º ³ ³º º ³ yº ³ 0³ ³ Image type: ³ // º ³ xº º ³ ³º ÀÄÄÙ ³ LANDSCAPE: PORTRAIT: ³ //ÄÄ Ð ÀÄyÄÙÐ ÄÄÄÄÄÄÄÄÄ Ð ÀÄÄÄÙÐ ÄÄÄÄÄÄÄÄÄ ³ ÚÄÄÄÄÄÄ¿ ³ // ÚÄÒÜÜÜÜÜÜÜÜÒÄ¿ ÚÄÒÜÜÜÜÜÜÜÜÒÄ¿ ³ ÚÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ÉË» o³ ³ // ÀÄ×ÑÍÍÍÍxÍÑ×ÄÙ ÀÄ×ÑÍyÍÍÍÍÑ×ÄÙ ÚÄÄÄ¿ ³ ³ /\ o ³ ³ Ìι ³ ³ // º³ yº ºx ³º ³ 90³ ³ y /ÁÁ\ O ³ y Ìι O³ ³ // ºÀÄÄÄÄÄÄÙº ºÀÄÄÄÄÄÄÙº ÀÄÄÄÙ ³ ÀxÏÍÍÏÍÏÍÍÍÍÙ ÀxÊÊÊÍÏÙ ³ //ÄÄ Ð Ð ÄÄÄÄÄÄÄÄÄ Ð Ð ÄÄÄÄÄÄÄÄÄ ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵ // ÚÄÒÜÜÜÜÜÜÜÜÒÄ¿ ÚÄÒÜÜÜÜÜÜÜÜÒÄ¿ ³ ÚÄÒÜÜÜÜÜÜÜÜÒÄ¿ <Ä Plotter ³ // ÀÄ×ÍÍÍÑÍyÍÑ×ÄÙ ÀÄ×ÍÍÍÑÍÍÍÑ×ÄÙ ÚÄÄÄ¿ ³ ÀÄ×ÍÍÍÑÍÍÍÑ×ÄÙ ³ // º x ³º º ³ ³º ³180³ ³ º ³ ³º ³Paper ³ // º ³ ³º º y ³º ÀÄÄÄÙ ³ ÚĺÄÄ>³ xº ³movement³ //ÄÄ Ð ÀÄÄÄÙÐ ÄÄÄÄÄÄÄÄÄ Ð ÀÄxÄÙÐ ÄÄÄÄÄÄÄÄÄ ³ ³ Ð ÀÄyÄÙÐ v ³ // ÚÄÒÜÜÜÜÜÜÜÜÒÄ¿ ÚÄÒÜÜÜÜÜÜÜÜÒÄ¿ ³ ³ ³ ³ // ÀÄ×ÑÍÍÍÍÍÍÑ×ÄÙ ÀÄ×ÑÍÍÍÍÍÍÑ×ÄÙ ÚÄÄÄ¿ ³ Paper Coordinate ³ // ºy ³º º³ xº ³270³ ³ Origin ³ // ºÀxÄÄÄÄÄÙº ºÀÄÄÄÄyÄÙº ÀÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ //ÄÄ Ð Ð ÄÄÄÄÄÄÄÄÄ Ð Ð ÄÄÄÄÄÄÄÄÄ GAMMA 1 // 0 if you don't want drivers to try color gamma correction. // If GAMMA is missing, driver will default to gamma correct. // GAMMA cannot be set via HPCONFIG. // Turning GAMMA off (0) tends to result in a darker picture. // Color matching is not done, the drivers are only trying to // linearize the image intensity with respect to input RGB. // Plot Annotations can be set via HPCONFIG. // Landscape (Page Size width > height): annotations appear on left side. // Portrait (Page Size height > width): annotations appear at bottom. // Plot annotations are not supported by the rendering driver. LOG DWGNAME // Annotate drawing name LOG PLOTTIME // Annotate date/time when plot was requested LOG DVRNAME // Annotate name of the plotting driver, CFG name, and Model LOG CROPMARKS // Corners of the page boundary are bracketed // Anything else that comes after LOG keyword is a literal string to annotate. LOG See SAMPLE.DOC for keyword definitions... // UNITS, PAGE, IMAGE, OFFSET for the hardcopy rendering driver, RHPRTL. // These can be set via HPRENDER's Render Attributes screen. // 3D Studio 2.0 is not supported as it has not been tested extensively. // RHPRTL appears to work with it(?). We are concerned that without a // USER INTERFACE like HPCONFIG for AutoCAD Release 12, 3D Studio 2.0 users // may find this configuration method to be too unwieldy. For HPMPLOT // merged plotting+rendering, both plotting and rendering drivers need // to agree on the same CFG. Be sure the configured plotting driver entry // uses the same CFG as the configured AVE Hardcopy driver. UNITS in // Interpret the dimensions to be Inches or Metric for // keywords PAGE, IMAGE, OFFSET PAGE 10.00 7.50 // Page width x height (For HPRENDER) // IMAGE and OFFSET are used by HPRENDER only. These values are derived from // the "1st Corner X,Y" and "2nd Corner X,Y" fields of the "Render..." Menu. IMAGE 10.00 7.50 // Image width x height OFFSET 0.00 0.00 // Image anchor offset with respect to AutoCAD (0,0) // Raster Pattern Definition files to be used for AutoCAD fills -- // PLINEs, ELLIPSEs, DONUTs, POLYGONs, SOLIDs, and TRACEs. // See Appendix in HP_R12.DOC on how to define your own RPF or look at an RPF. // Assignment of RPF indexes can be via HPCONFIG Pen Attributes screen. RASTER 1 ai-logo.rpf RASTER 2 dotfill.rpf RASTER 3 grid.rpf RASTER 4 grid-5.rpf RASTER 5 hp-logo.rpf RASTER 6 linear.rpf RASTER 7 misstile.rpf RASTER 8 radial.rpf RASTER 9 rivrston.rpf RASTER 10 sediment.rpf RASTER 11 shingle.rpf RASTER 12 swampgrs.rpf // Pen Attribute Assignments can be set via HPCONFIG PEN 7 ENDS 1 // Drawn lines can END in the following ways: // 1 = lines are butt ended (BUTT) // 2 = lines are extended by 1/2 the line width (SQUARE) // 3 = lines are triangle ended, height=1/2 width // 4 = lines are round ended, radius=1/2 width // Default is round line ends PEN 7 JOINS 1 // Drawn connected lines can JOIN in the following ways: // 1,2 = connected lines join in a MITRE // 3 = connected lines share a triangular join // 4 = connected lines share a round join // 5 = connected lines share a beveled join // 6 = connected lines do not join // Default is round line joins // PLINE fills can be Hatch, C(ross)Hatch, Solid, Shade, and Raster Patterned // Try plotting CHROMA.DWG using this SAMPLE.CFG // Raster Patterns defined in this file are assigned an index. // Multiple pens (4,5) can be assigned the same RPF index // to draw the same raster pattern in different colors. Pen 4 Fill Raster 1 Pen 5 Fill Raster 1 Pen 6 Fill Raster 2 Pen 7 Fill Raster 3 Pen 8 Fill Raster 4 // Shade has a percentage(%) saturation argument // A 30% shade really means replace 70% of the fill with white dots Pen 19 Fill Shade 0 Pen 29 Fill Shade 5 Pen 39 Fill Shade 10 Pen 49 Fill Shade 15 Pen 59 Fill Shade 20 Pen 69 Fill Shade 25 Pen 79 Fill Shade 30 Pen 89 Fill Shade 35 Pen 99 Fill Shade 40 Pen 109 Fill Shade 45 Pen 119 Fill Shade 55 Pen 129 Fill Shade 60 Pen 139 Fill Shade 65 Pen 149 Fill Shade 70 Pen 159 Fill Shade 75 Pen 169 Fill Shade 80 Pen 179 Fill Shade 85 Pen 189 Fill Shade 90 Pen 199 Fill Shade 95 // Hatch/CHatch has two arguments and Pen 18 Fill Hatch 1 0 Pen 28 Fill Hatch 2 30 Pen 38 Fill Hatch 3 45 Pen 48 Fill Hatch 4 60 Pen 58 Fill Hatch 5 90 Pen 68 Fill Hatch 4 120 Pen 78 Fill Hatch 3 135 Pen 88 Fill Hatch 2 150 Pen 98 Fill Hatch 1 180 Pen 16 Fill CHatch 1 0 Pen 26 Fill CHatch 2 30 Pen 36 Fill CHatch 3 45 Pen 46 Fill CHatch 4 60 Pen 56 Fill CHatch 5 90 Pen 66 Fill CHatch 4 120 Pen 76 Fill CHatch 3 135 Pen 86 Fill CHatch 2 150 Pen 96 Fill CHatch 1 180 ;// PREPLOT c:\sandiego\USmap.plt ;// POSTPLOT c:\sandiego\foregrnd.plt // The PREPLOT and POSTPLOT keywords are provided as escape hatches for // HP-GL/2 weathered users who wish to do custom plotting or networking. !! Use these with CAUTION !! // An example of PREPLOT/POSTPLOT usage: // Your AutoCAD drawing may contain layers of data that are never changed, // (e.g political boundaries of US). To save time, you want AutoCAD NOT to // send those layers each time you plot. // Turn off all the other layers // Set SENDPG to 0 in the CFG // Plot to C:\sandiego\USmap.plt. // Change the CFG --> set SENDPG to 1, add PREPLOT c:\sandiego\USmap.plt // Turn off the USmap layers in AutoCAD. // From now on, each time you plot using this CFG, the USmap will be sent // first (by the driver, not AutoCAD) before the other AutoCAD entities. // The PREPLOT keyword causes the following to happen: // The plotting driver PLHPGL2 detects there is a PREPLOT filename in CFG. // PLHPGL2 attempts to open PREPLOT file. // If file open fails, PLHPGL2 sends the normal plotting picture header, // modified by related keywords in CFG, as though no PREPLOT file was // specified. // If file open succeeds, the entire contents of the PREPLOT file will be // sent to the output before any vector data is sent. The NORMAL plotting // picture header is NOT sent. The following resource settings in the CFG // file may no longer take effect: // MERGE, WHITE, GAMMA, SENDPS, QUALITY, ORIENT, RASTER, COPIES(if PCL) // The CFG designer (YOU!) is responsible for sending a color palette and // any necessary language switching. // // The POSTPLOT works similarly to PREPLOT, The POSTPLOT will replace // the driver's normal plot termination sequence. In addition, for a possible // need to add language switching, the following resource settings in the // CFG file may no longer take effect: // CUTTER, SENDPG, COPIES // // For release 2.0 of the driver we have added some new keywords: ADJUST 2 //It tells the driver to consider the real plotter margins for the //specified media size. //Valid values are 0, 1 and 2 (default) //If adjust is set to 0, driver will work as in previous versions. //If it is set to 1, driver will show you a message at plotting time if the //area you have selected (using the "scale to fit" decided by AutoCAD or the //scale you specify in the Plot Configuration) is bigger than the available //plotting area on the plotter. //The available plotting area is obtained either from the plotter (only for //HP DesignJet 200 connected on parallel or serial, and HP DraftPro Plus //connected on serial) or estimated considering the margins of the selected //plotter for the media size selected (only if a standard media size is //selected in the Plot configuration). //If adjust is set to 2, and the plot is scaled to fit, driver will fit to //the available plotting area in the plotter rather than to the AutoCAD //plotting area (usually plotter margins are bigger than AutoCAD margins) //If adjust is set to 2, and the plot is not scaled to fit, same process //will be done as when adjust set to 1. EXPAND 0 //It tells the driver to consider for the process described above //that the plotter has the EXPAND setting ON or OFF. //The driver will NOT change that setting in the plotter. //This is only used if the driver cannot use a bidirectional communication //with the plotter to get the size of the loaded media. //Valid values are 0 (OFF) and 1 (ON), default is 0 (OFF) ASK_PLOTTER 1 //It tells the driver to ask the plotter to use the loaded //media size in the process described above. //Valid values: 0 (don't ask) 1 (ask), default is 1 (ask) //This value is only used for HP DesignJet 200 connected on serial or parallel //and on HP DraftPro Plus connected on serial. For other HP devices, //bidirectional communications are not supported. PATCH 1 //It tells the driver that the patch for AutoCAD R12c2 has been //installed and so HPMPLOT output can be send not only to file but also to the //port. //Valid values are 0 (patch not installed) and 1 (installed). Default is 0 (not //installed) // For release 2.1 of the driver we have added some new keywords: PLSCATTER 1 //It makes the driver select which halftoning technique to be //used in the HP DesignJet 650C. It is only for vectors. //Valid values are 0 (use the current plotter setting), 1 (use scatter //halftoning), and 2 (use pattern halftoning). Default is 0 (current plotter //setting. //This value can be set from HPCONFIG (Pens dialog box) R11FILLS 0 //It makes the driver draw a line around the polygons (solids, //polylines and other objects). The purpose of it is to keep the same aspect //as R11 when doing fills where the thickness of the polygons is bigger in the //plot than in the drawing. In some cases it can create some undesirable //effects if the drawing contains different pen widths //Valid values: 0 (do not edge the polygons), and 1 (edge the polygons). //Default value is 0. //This setting cannot be set from HPCONFIG // < End of SAMPLE.CFG >