Debian bug report logs -
#902, boring messages
Message sent to debian-devel@pixar.com:
Subject: Bug#902: lpr can't print a PostScript file ?!
Reply-To: iwj10@cus.cam.ac.uk (Ian Jackson), debian-bugs@pixar.com
Resent-To: debian-devel@pixar.com
Resent-From: iwj10@cus.cam.ac.uk (Ian Jackson)
Resent-Sender: iwj10@cus.cam.ac.uk
Resent-Date: Mon, 22 May 1995 14:33:02 GMT
Resent-Message-ID: <debian-bugs-handler.902.05221424375555@pixar.com>
X-Debian-PR-Package: lpr
X-Debian-PR-Keywords:
Received: via spool for debian-bugs; Mon, 22 May 1995 14:33:02 GMT
Received: with rfc822 via encapsulated-mail id 05221424375555;
Mon, 22 May 1995 14:24:37 GMT
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0sDYNt-0005zLC; Mon, 22 May 95 07:23 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA10572
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 22 May 1995 07:21:36 -0700
Received: by bootes.cus.cam.ac.uk
(Smail-3.1.29.0 #36) id m0sDYNh-000BzaC; Mon, 22 May 95 15:22 BST
Received: by chiark
id m0sDEVn-0000XQZ
(Debian /\oo/\ Smail3.1.29.1 #29.31); Sun, 21 May 95 18:09 BST
Message-Id: <m0sDEVn-0000XQZ.ijackson@nyx.cs.du.edu>
Date: Sun, 21 May 95 18:09 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: Debian bugs submission address <debian-bugs@pixar.com>
Package: lpr
Version: 5.9-6
I've been trying to print a PostScript file, without much success.
Just typing `lpr <postscript-file>' prints it as ASCII. IMO it should
automatically recognise it.
I've tried reading lpr(1), lpd(8) and printcap(5), but none of these
manpages seem to provide any way to tell lpr that I'm giving it a
PostScript file.
One of the manpages says
Refer to the 4.3 BSD Line Printer Spooler Manual for a complete discus-
sion on how setup the database for a given printer.
but I can't find that document anywhere, and in any case I shouldn't
have to delve so deeply just to print a perfectly ordinary ps file !
Is it just me, or is the type-specification system described in lpr(1)
a mess ? Surely it should be extensible ?
Some sites I've used have had a scheme where you passed a type string
to lpr (this usually used the -T option, though this claims to set the
`title' with this lpr). This allows you to have different `types' for
things like "postscript, draft" vs. "postscript, high density" (useful
if you have a dot-matrix printer) or "text printed normal size" vs.
"text printed very compactly".
Ian.
Message sent:
From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: iwj10@cus.cam.ac.uk (Ian Jackson)
Subject: Bug#902: Acknowledgement (was: lpr can't print a PostScript file ?!)
In-Reply-To: <m0sDEVn-0000XQZ.ijackson@nyx.cs.du.edu>
References: <m0sDEVn-0000XQZ.ijackson@nyx.cs.du.edu>
Thank you for the problem report you have sent regarding Debian GNU/Linux.
This is an automatically generated reply, to let you know your message has
been received. It is being forwarded to the developers' mailing list for
their attention; they will reply in due course.
If you wish to submit further information on your problem, please send
it to debian-bugs@pixar.com, but please ensure that the Subject
line of your message starts with "Bug#902" or "Re: Bug#902" so that
we can identify it as relating to the same problem.
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.
Ian Jackson
(maintainer, debian-bugs)
Message sent to debian-devel@pixar.com:
Subject: Bug#902: lpr can't print a PostScript file ?!
Reply-To: grib@arlut.utexas.edu (William Gribble), debian-bugs@pixar.com
Resent-To: debian-devel@pixar.com
Resent-From: grib@arlut.utexas.edu (William Gribble)
Resent-Sender: iwj10@cus.cam.ac.uk
Resent-Date: Mon, 22 May 1995 15:03:04 GMT
Resent-Message-ID: <debian-bugs-handler.902.05221449097876@pixar.com>
X-Debian-PR-Package: lpr
X-Debian-PR-Keywords:
Received: via spool for debian-bugs; Mon, 22 May 1995 15:03:04 GMT
Received: with rfc822 via encapsulated-mail id 05221449097876;
Mon, 22 May 1995 14:49:09 GMT
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0sDYk3-0005zeC; Mon, 22 May 95 07:45 PDT
Received: from ns1.arlut.utexas.edu by pixar.com with SMTP id AA11024
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 22 May 1995 07:44:34 -0700
Received: from mail-firewall.arlut.utexas.edu (ns1.arlut.utexas.edu [129.116.224.2]) by ns1.arlut.utexas.edu (8.6.11/8.6.9) with ESMTP id JAA11866 for <debian-bugs@Pixar.com>; Mon, 22 May 1995 09:45:56 -0500
Received: from mamba.arlut.utexas.edu (mamba.arlut.utexas.edu [129.116.176.42]) by mail-firewall.arlut.utexas.edu (8.6.11/8.6.9) with SMTP id JAA11859; Mon, 22 May 1995 09:45:54 -0500
Received: by mamba.arlut.utexas.edu (5.x/SMI-SVR4)
id AA02272; Mon, 22 May 1995 09:45:56 -0500
From: grib@arlut.utexas.edu (William Gribble)
Message-Id: <9505221445.AA02272@mamba.arlut.utexas.edu>
To: iwj10@cus.cam.ac.uk, debian-bugs@Pixar.com
Date: Mon, 22 May 1995 09:45:55 -0600 (CDT)
In-Reply-To: <m0sDEVn-0000XQZ.ijackson@nyx.cs.du.edu> from "Ian Jackson" at May 21, 95 06:09:00 pm
X-Mailer: ELM [version 2.4 PL22]
Content-Type: text
> Package: lpr
> Version: 5.9-6
>
> I've been trying to print a PostScript file, without much success.
>
> Just typing `lpr <postscript-file>' prints it as ASCII. IMO it should
> automatically recognise it.
What's worse, in my opinion, is that there's no way at all to print a
binary file using lpr. While I would like lpr to automatically handle
postscript, on my non-postscript inkjet I'd be happy if this worked
(as it did in days of yore with SLS, then Slackware):
gs -q -sDEVICE=escp2 -r360x360 -sOutputFile="|lpr -h" - < foo.ps
Under debian, this prints garbage characters until I reset the printer.
I assume that somewhere along the line lpr thinks it's smarter than it is
and it's stripping to 7 bits or trying to line wrap or something.
As it is, I have to do something like
gs -q -sDEVICE=escp2 -r360x360 -sOutputFile=/tmp/lpr_tmp - < foo.ps
su
cat /tmp/lpr_tmp > /dev/lp1
Which is, needless to say, suboptimal.
> Ian.
b.g.
Message sent:
From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: grib@arlut.utexas.edu (William Gribble)
Subject: Bug#902: Info received (was Bug#902: lpr can't print a PostScript file ?!)
In-Reply-To: <9505221445.AA02272@mamba.arlut.utexas.edu>
References: <9505221445.AA02272@mamba.arlut.utexas.edu>
Thank you for the additional information you have supplied regarding
this problem report. It has been forwarded to the developers to
accompany the original report.
If you wish to continue to submit further information on your problem,
please do the same thing again: send it to debian-bugs@pixar.com, ensuring
that the Subject line starts with "Bug#902" or "Re: Bug#902" so that
we can identify it as relating to the same problem.
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.
Ian Jackson
(maintainer, debian-bugs)
Message sent to debian-devel@pixar.com:
Subject: Bug#902: lpr can't print a PostScript file ?!
Reply-To: "James A. Robinson" <jimr@simons-rock.edu>, debian-bugs@pixar.com
Resent-To: debian-devel@pixar.com
Resent-From: "James A. Robinson" <jimr@simons-rock.edu>
Resent-Sender: iwj10@cus.cam.ac.uk
Resent-Date: Mon, 22 May 1995 22:18:02 GMT
Resent-Message-ID: <debian-bugs-handler.902.05222212407886@pixar.com>
X-Debian-PR-Package: lpr
X-Debian-PR-Keywords:
Received: via spool for debian-bugs; Mon, 22 May 1995 22:18:02 GMT
Received: with rfc822 via encapsulated-mail id 05222212407886;
Mon, 22 May 1995 22:12:40 GMT
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0sDfhG-00063bC; Mon, 22 May 95 15:11 PDT
Received: from plato.simons-rock.edu by pixar.com with SMTP id AA27458
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 22 May 1995 15:10:07 -0700
Received: from simons-rock.edu by plato.simons-rock.edu with smtp
(Smail3.1.29.1 #3) id m0sDfcj-000018C; Mon, 22 May 95 18:06 EDT
Message-Id: <m0sDfcj-000018C@plato.simons-rock.edu>
To: grib@arlut.utexas.edu (William Gribble), debian-bugs@pixar.com
Cc: iwj10@cus.cam.ac.uk
In-Reply-To: Message from grib@arlut.utexas.edu (William Gribble)
of "Mon, 22 May 1995 09:45:55 MDT." <9505221445.AA02272@mamba.arlut.utexas.edu>
Date: Mon, 22 May 1995 18:06:53 -0400
From: "James A. Robinson" <jimr@simons-rock.edu>
> > Package: lpr
> > Version: 5.9-6
> >
> > I've been trying to print a PostScript file, without much success.
> >
> > Just typing `lpr <postscript-file>' prints it as ASCII. IMO it should
> > automatically recognise it.
One of you should probably package apsfilter, or put together a better
set of magic filters. If I have time I will try and put apsfilter
together, but I've only ever used it on a PS printer.
Jim
Message sent:
From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: "James A. Robinson" <jimr@simons-rock.edu>
Subject: Bug#902: Info received (was Bug#902: lpr can't print a PostScript file ?!)
In-Reply-To: <m0sDfcj-000018C@plato.simons-rock.edu>
References: <m0sDfcj-000018C@plato.simons-rock.edu>
Thank you for the additional information you have supplied regarding
this problem report. It has been forwarded to the developers to
accompany the original report.
If you wish to continue to submit further information on your problem,
please do the same thing again: send it to debian-bugs@pixar.com, ensuring
that the Subject line starts with "Bug#902" or "Re: Bug#902" so that
we can identify it as relating to the same problem.
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.
Ian Jackson
(maintainer, debian-bugs)
Message sent to debian-devel@pixar.com:
Subject: Bug#902: lpr can't print a PostScript file ?!
Reply-To: tobias@server.et-inf.fho-emden.de (Peter Tobias), debian-bugs@pixar.com
Resent-To: debian-devel@pixar.com
Resent-From: tobias@server.et-inf.fho-emden.de (Peter Tobias)
Resent-Sender: iwj10@cus.cam.ac.uk
Resent-Date: Thu, 25 May 1995 09:33:04 GMT
Resent-Message-ID: <debian-bugs-handler.902.052509213125285@pixar.com>
X-Debian-PR-Package: lpr
X-Debian-PR-Keywords:
Received: via spool for debian-bugs; Thu, 25 May 1995 09:33:04 GMT
Received: with rfc822 via encapsulated-mail id 052509213125285;
Thu, 25 May 1995 09:21:32 GMT
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0sEYzj-0005zQC; Thu, 25 May 95 02:14 PDT
Received: from server.et-inf.fho-emden.de by pixar.com with SMTP id AA12309
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Thu, 25 May 1995 02:12:50 -0700
Received: by server.et-inf.fho-emden.de (5.65/DEC-Ultrix/4.3)
id AA17259; Thu, 25 May 1995 11:09:08 +0200
From: tobias@server.et-inf.fho-emden.de (Peter Tobias)
Message-Id: <9505250909.AA17259@server.et-inf.fho-emden.de>
To: iwj10@cus.cam.ac.uk, debian-bugs@pixar.com
Date: Thu, 25 May 1995 11:09:07 +0000 (GMT-1:00)
In-Reply-To: <m0sDEVn-0000XQZ.ijackson@nyx.cs.du.edu> from "Ian Jackson" at May 21, 95 06:09:00 pm
X-Mailer: ELM [version 2.4 PL17]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Content-Length: 790
Ian Jackson wrote:
> I've been trying to print a PostScript file, without much success.
lpr -d file.ps
> Just typing `lpr <postscript-file>' prints it as ASCII. IMO it should
> automatically recognise it.
No, that's not the job of lpr. If you it to recognize such files
automatically you should use a magic filter (like apsfilter for
example).
BTW: If someone is planning to create a package with a magic filter
I would be happy if this person would also take over the lpr package
because I can't test the lpr stuff (no printer :-)).
Peter
--
Peter Tobias EMail:
Fachhochschule Ostfriesland tobias@et-inf.fho-emden.de
Fachbereich Elektrotechnik und Informatik tobias@perseus.fho-emden.de
Constantiaplatz 4, 26723 Emden, Germany
Message sent:
From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: tobias@server.et-inf.fho-emden.de (Peter Tobias)
Subject: Bug#902: Info received (was Bug#902: lpr can't print a PostScript file ?!)
In-Reply-To: <9505250909.AA17259@server.et-inf.fho-emden.de>
References: <9505250909.AA17259@server.et-inf.fho-emden.de>
Thank you for the additional information you have supplied regarding
this problem report. It has been forwarded to the developers to
accompany the original report.
If you wish to continue to submit further information on your problem,
please do the same thing again: send it to debian-bugs@pixar.com, ensuring
that the Subject line starts with "Bug#902" or "Re: Bug#902" so that
we can identify it as relating to the same problem.
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.
Ian Jackson
(maintainer, debian-bugs)
Ian Jackson /
iwj10@thor.cam.ac.uk,
with the debian-bugs tracking mechanism