Xref: utzoo comp.protocols.tcp-ip.ibmpc:6066 comp.periphs.printers:1272 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!acorn!unipalm!ian From: ian@unipalm.uucp (Ian Phillipps) Newsgroups: comp.protocols.tcp-ip.ibmpc,comp.periphs.printers Subject: Re: LPD and PostScript printers Message-ID: <1991Jun3.130553.15551@unipalm.uucp> Date: 3 Jun 91 13:05:53 GMT References: <1991May31.205023.17961@shell.shell.com> Organization: Unipalm Ltd., Cambridge, England Lines: 21 jda@coach.shell.com (Joel D. Anderson) writes: >From a Sun workstation I'm trying to print ascii files to a PostScript >printer attached to a DOS PC. The PC is running PC/TCP LPD (v1.0) from >FTP Software. >Things work great if on the Sun I print a postscript file with >'lpr -h postscript.file', but if I try to print a plain ascii file (or >exclude the -h lpr option), the file never prints. The printer does not >handle non-postscript-encapsulated files and subsequently flushes its buffer. I don't know Transcript (which is presumably what those filters are) well enough to know why the encapsulation of plain text files isn't working. However, to get printing without the -h, include a ctrl/D as the last character of the header. The header then gets thrown away (or printed, if it was real PS). PS - you have to put a REAL Ctrl/D in your config file, not an octal escape, whatever the FTP manual may imply. Ian