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