home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / cad / autocad / 1946 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  5.1 KB

  1. Path: sparky!uunet!think.com!Think.COM!newman
  2. From: newman@Think.COM (Don Newman)
  3. Newsgroups: alt.cad.autocad
  4. Subject: Re: How to print directly AUTOCAD draw via the spooler (Unix) ?
  5. Date: 28 Jan 1993 16:28:02 GMT
  6. Organization: Thinking Machines Corporation, Cambridge MA, USA
  7. Lines: 103
  8. Distribution: world
  9. Message-ID: <1k91iiINNjgs@early-bird.think.com>
  10. References: <1993Jan24.212120.11584@nntp.hut.fi> <1993Jan28.012649.22672@news.dfrf.nasa.gov>
  11. NNTP-Posting-Host: liszt.think.com
  12.  
  13. In article <1993Jan28.012649.22672@news.dfrf.nasa.gov>, binkley@dfrf.nasa.gov (Rob -Not from Bloom County- Binkley, EIT) writes:
  14. |> Jari Hiltunen (jjhi@vipunen.hut.fi) wrote:
  15. |> : In article <rouyn.727718884@tdsb-s> rouyn@mais.hydro.qc.ca (Usagers Rouyn) writes:
  16. |> : >Hi, i'm using Autocad R12
  17. |> : >on a SUN SYSTEM (670 MP), and my users are on IPX Sparc stations.
  18. |> : >How can i send the ploting to the spooler of my unix system ?
  19. |> : >I want that my draw beeing printed on the QMS 810 of my lan.
  20. |> : 
  21. |> : Read what the AutoCAD Installation Guide says about ACADPLCMD.
  22. |> : 
  23. |> 
  24. |> OK...I know about the ACADPLCMD.  It works great...NOT!
  25. |> In AutoCAD r12 you can configure (about) 29 printer/plotter
  26. |> configurations.  OK...so I am on a moderate network which
  27. |> includes a few dozen Macs (using ACAD), PCs (using the
  28. |> Novell-aware (ha!) ACAD), and 2 dozen Sun Sparcstations
  29. |> (using ACAD).  Everyone is networked together via a
  30. |> Novell 3.11 server w/NFS.
  31. |> 
  32. |> I have access via the network to:
  33. |>     8 DIFFERENT Postscript printers (A size)
  34. |>     2 DIFFERENT Postscript printers (B size)
  35. |>     2 DIFFERENT HPGL Plotters (D size)
  36. |>     2 DIFFERENT HPGL Plotters (B size)
  37. |>     2 DIFFERENT Calcomp Drawingmasters (D size)
  38. |>     1 Calcomp Electrostatic Plotter (E size)
  39. |>     6 HP LaserJets (series 2, 3, 4) (A size)
  40. |>     1 Seiko Color Thermal Printer (Color Postscript) (A size)
  41. |> 
  42. |> So, each user (6 Hard core draftsmen and 30 ocassional users) prints/plots
  43. |> to a variety of output devices.  How am I to configure AutoCAD to select among
  44. |> each of these devices and plot to it?  I DON'T KNOW!  You can store the
  45. |> (29?) configurations, but you can't tell it HOW TO OUTPUT TO THAT DEVICE!
  46. |> I shouldn't have to select something outside of AutoCAD to print.  I shouldn't
  47. |> have to do anything but select among the available printers configured
  48. |> in that copy of AutoCAD from WITHIN AutoCAD.  Am i missing something?
  49. |> 
  50. |> Oh, by the way.  How come the Network copy of AutoCAD for the PC doesn't
  51. |> know about NOVELL print queues?
  52. |> 
  53. |> 
  54. |> -----------------------------------------------------------------------------
  55. |> | Robert L. Binkley, EIT    | INTERNET: binkley@xavier.dfrf.nasa.gov        |
  56. |> | NASA Dryden FRF           |  ADDRESS: 130.134.144.2                       |
  57. |> | PO Box 273  MS: B4840A    |    -or-                                       |
  58. |> | Edwards, CA  93523-5000   |           binkley@xrt.dfrf.nasa.gov           |
  59. |> | fone: 805-258-3776        |           130.134.128.86                      |
  60. |> |  fax: 805-258-2792        |                                               |
  61. |> |---------------------------------------------------------------------------|
  62. |> |  barf  [ba:rf]  2.  "He suggested using FORTRAN, and everybody barfed."   |
  63. |> |                                                                           |
  64. |> |    - From The Shogakukan DICTIONARY OF NEW ENGLISH (Second edition)       |
  65. |> -----------------------------------------------------------------------------
  66. We also had this problem and were able to solve it through the ACADPLCMD environment variable and by writing two shell scripts.  Now when we plot, a shelltool window appears with a menu of available plotters.  The user selects the desired plotter and the file is sent to this plotter by the lpr command.
  67.  
  68. To use this approach, first set the ACADPLCMD environment variable as follows:
  69.  
  70. setenv ACADPLCMD "/usr/acad12/support/multiplot %s"
  71.  
  72. Adjust the pathname if the pathname of your ACAD support directory is different. You'll probably want to have this line in your .cshrc file so it get set automatically.
  73.  
  74. Next add the following two script files (multiplot and multiplot1) to your support support directory.
  75.  
  76.  
  77.         MULTIPLOT
  78.  
  79. #!/bin/csh
  80. shelltool -I "/usr/acad12/support/multiplot1 $1 ; exit" -Ws 400 300
  81.  
  82.  
  83.         MULTIPLOT1
  84.  
  85. #!/bin/csh
  86. clear
  87. /bin/echo
  88. /bin/echo        "Select desired printer/plotter"
  89. /bin/echo
  90. /bin/echo    " 1. hp4 -- HP pen plotter"
  91. /bin/echo    " 2. lw4 -- Postscript laser printer"
  92. /bin/echo
  93. /bin/echo    "    default <1>:"
  94. /bin/echo
  95. set ans = $<
  96.  
  97. if $ans == '' then
  98.   lpr -Php4 -r $1
  99. if $ans == '1' then
  100.   lpr -Php4 -r $1
  101. if $ans == '2' then
  102.   lpr -Plw4 -r $1
  103. endif
  104.  
  105. Again, adjust the pathname and the plotter names to your needs.  
  106.  
  107. Finally, set the name of AutoCAD's default plot file name to "autospool."  To do this type "config" at the ACAD command prompt.  Select 7. Configure operating parameters.  Then select 3. Default plot file name.  Finally, enter autospool as the name of the default plot file.
  108.  
  109. This method has worked pretty well for us, but I hope that Autodesk fixes this serious problem for us network users in the next release.
  110.  
  111. Don Newman
  112. Thinking Machines Corp.
  113. Cambridge, MA
  114. newman@think.com
  115.  
  116.