home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / text / frame / 3735 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  3.7 KB

  1. Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!uwm.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!fs7.ece.cmu.edu!news.sei.cmu.edu!ask
  2. From: ask@sei.cmu.edu (Alan Koch)
  3. Newsgroups: comp.text.frame
  4. Subject: UNIX FrameMaker Default Printer
  5. Keywords: UNIX FrameMaker Default Printer
  6. Message-ID: <1992Dec18.114851.26937@sei.cmu.edu>
  7. Date: 18 Dec 92 16:48:51 GMT
  8. Sender: netnews@sei.cmu.edu (Netnews)
  9. Organization: The Software Engineering Institute
  10. Lines: 102
  11.  
  12.  
  13. One of our users complained about the PrinterName in a document he is
  14. co-authoring.  Specifically, that since the two of them use a different
  15. printer, they are often frustrated by accidentally printing the document
  16. in the wong place and either having to kill extra trees, or run to a different
  17. floor to pick up the print-out.
  18.  
  19. Through this person's suggestion, I made a VERY EASY change to FrameMaker's
  20. printing script which allows it to either pick up the user's PRINTER
  21. environment variable, or print to a specific printer of the user's choice.
  22.  
  23. The first enclosure is my post explaining this to our users.
  24.  
  25. The second enclosure is the change I made.
  26.  
  27. Enjoy!
  28.  
  29. ask@sei.cmu.edu
  30.  
  31. Alan S. Koch
  32. Software Engineering Institute
  33. Carnegie Mellon University
  34. Pittsburgh, PA  15213
  35.  
  36. ==============================================================================
  37. Subject: FrameMaker Default Printer
  38.  
  39. SUMMARY
  40.     An enhancement has been made to the UNIX version of FrameMaker
  41.     which will allow users to print to their default printer, as
  42.     defined by their PRINTER environment variable.
  43.  
  44.     To print to your default printer, enter DEFAULT (in all capitals)
  45.     in the PrinterName edit box in the Print dialog.
  46.  
  47. BACKGROUND
  48.     Newly created documents (NEW button) do not have a PrinterName
  49.     associated with them.  
  50.  
  51.     When you print a new document for the first time, FrameMaker inserts
  52.     the value of your Maker.printerName X-resource into the PrinterName
  53.     edit box in the Print dialog.  
  54.  
  55.     If you save the document after printing it, then that printer name
  56.     is saved in the document file.
  57.  
  58.     From that point on, the printer name that is stored in the file is
  59.     the one which will show up in the print dialog, regardless of who
  60.     opens and prints the file later.
  61.  
  62. PROBLEM
  63.     If a person's office moves so that his default printer changes,
  64.     or if people who do not use the same default printer share 
  65.     documents, then unexpected values can appear in the printer name
  66.     edit box in the print dialog.  
  67.  
  68.     The person can easily miss the fact that the document will print 
  69.     on a different printer than they expect, causing confusion, 
  70.     or in the case of confidential documents, worse.
  71.  
  72. SOLUTION
  73.     Rather than specifying the printer to which you wish the document
  74.     to go, simply specify DEFAULT in the Printer Name edit box.
  75.     This will cause Framemaker to print the document on the printer
  76.     indicated by your PRINTER environment variable.
  77.  
  78. RECOMMENDED
  79. CHANGES
  80.     All UNIX FrameMaker users are urged to make the following changes:
  81.  
  82.     1. In your .Xdefaults, change the Maker.printerName line to read
  83.         Maker.printerName:              DEFAULT
  84.  
  85.     2. In any existing documents,
  86.        change the Printer Name to DEFAULT when you print,
  87.        then save the document.
  88.  
  89. QUESTIONS?
  90.     All questions regarding this should be submitted via SCARS, or
  91.     directed to the Computing Facilities Hotline (5015).
  92.  
  93. ============================================================================
  94. The change was made in
  95.     $FMHOME/.fminit2.0/FMlpr.init
  96.  
  97. In this script, I replaced the following line marked "OLD> " 
  98. with the lines marked "NEW> "
  99.  
  100. OLD> PRINTER=$1
  101.  
  102. NEW> if [ $1 != 'DEFAULT' ]; then
  103. NEW>     PRINTER=$1
  104. NEW> fi
  105.  
  106. ============================================================================
  107.  
  108. ask@sei.cmu.edu
  109.  
  110. Alan S. Koch
  111. Software Engineering Institute
  112. Carnegie Mellon University
  113. Pittsburgh, PA  15213
  114.