home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / protocol / appletal / 3136 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  4.1 KB

  1. Path: sparky!uunet!stanford.edu!agate!ucbvax!ascent-west.UUCP!erict
  2. From: erict@ascent-west.UUCP (Eric Tiffany)
  3. Newsgroups: comp.protocols.appletalk
  4. Subject: Re: Getting printing from mac to Sun working
  5. Message-ID: <9208191608.AA02541@ascent-west.UUCP>
  6. Date: 19 Aug 92 16:08:21 GMT
  7. References: <1992Aug18.223747.622@magnus.acs.ohio-state.edu>
  8. Sender: daemon@ucbvax.BERKELEY.EDU
  9. Distribution: world
  10. Organization: The Internet
  11. Lines: 74
  12.  
  13.  
  14. Your transcript log says:
  15. > >Input line longer than 255 characters; only first 255 characters significant!
  16. > >%%[ Error: invalidaccess; OffendingCommand: setdefaulttimeouts ]%%
  17. > >%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
  18. > >psif: end - Tue Aug 18 14:28:38 1992
  19.  
  20. Have a look at the man page for lwsrv (i.e. RTFM :-) about the -T
  21. flag:
  22.  
  23.      -T <crtolf | quote8bit | makenondscconformant>
  24.                are TransScript compatibility options.  Since  the
  25.                names  are  so  long,  spaces, hyphens (-), under-
  26.                scores (_), and tabs are allowed to enhance reada-
  27.                bility, for example:
  28.                     -T "cr to lf" -T "quote 8-bit"
  29.  
  30.                quote8bit is used to quote 8 bit characters  since
  31.                          TransScript  masks characters to 7 bits.
  32.                          Warning: this  could  potentially  cause
  33.                          problems  if  the PostScript interpreter
  34.                          does not decode the quoted characters in
  35.                          some circumstances.
  36.  
  37.                crtolf    is used to translate the  Macintosh  end
  38.                          of  line terminator CR (carriage return)
  39.                          to the UNIX end of  line  terminator  LF
  40.                          (line  feed).   This is necessary if the
  41.                          spooled file will be run  through  Tran-
  42.                          Script  filters  like psrv or psrev that
  43.                          assume the UNIX end of line  terminator.
  44.                          Warning:   this  can  potentially  cause
  45.                          problems with binary data streams.
  46.  
  47.                makenondscconformant
  48.                          should be used when lwsrv is spooling to
  49.                          a  UNIX printer queue that filters files
  50.                          through psrv (a page  reversal  filter).
  51.                          This  is  standard for serial TranScript
  52.                          printers and may  have  been  configured
  53.                          that  way  for papif. This option causes
  54.                          the printed file to be prepended with  a
  55.                          line  containing  "%!"  so that it looks
  56.                          like it does not  conform  to  the  DSC.
  57.                          The  problem  is  that in version 2.0 of
  58.                          TranScript psrv leaves out part  of  the
  59.                          file when handling DSC version 2.0 docu-
  60.                          ments.
  61.  
  62. Perhaps this will fix your problem.  Also, you might want to say -L-s
  63. which means don't copy the file that lwsrv creates but rather use a
  64. link.  I kept running out of space on /tmp because it is in my
  65. stupidly small root partition.  Also, I found the following sed script
  66. useful as part of a preprocess pipe for the output filter to remove
  67. the weird crap that System 7 LaserWriter puts at the front of the job:
  68.  
  69. /^%!PS-Adobe-2.0 Query/,/\*EOF\*/d
  70. /^%!PS-Adobe-2.0 ExitServer/,/\*EOF\*/d
  71.  
  72. If this stuff is not removed, it croaks my NEC Silentwriter.
  73.  
  74. Cheers
  75.  
  76. ET
  77.       ________________________________________________________________________
  78.      /                          /    \            /    /                     /
  79.     / Eric Tiffany             /  / \<_  /     _|\\/  /   Ascent Technology /
  80.    / 312 Briarcliff Drive So. / /\\  \  /\   /\\  \\//    64 Sidney Street / 
  81.   / Ossining, NY  10562      / \\/\\/ /\  \ \\ \\   / Cambridge, MA 02139 /  
  82.  / (914) 944-9003           / \/\\    \/\  \/\\/   /      (617) 225-0850 /   
  83. /__________________________/___\_______\____\_____/_____________________/    
  84.                       ascent!erict@uunet.uu.net
  85.                       ...!uunet!ascent!erict
  86.  
  87.