SUMMARY: Need printcap for QMS-PS810

From: Christopher D. Nims (nims@antioch.acns.nwu.edu)
Date: Thu Jun 13 1991 - 14:50:01 CDT


Thanks to all of those who replied. My problem was forgetting to supress
burst headers (i.e. :sh: ).

Included are all the replies I've received so far.

---------------------------------------------------------------------------
>From trc@uludag.ESD.3Com.COM Thu Jun 13 11:28:54 1991
Return-Path: <trc@uludag.ESD.3Com.COM>
Received: from bridge2.ESD.3Com.COM by antioch.acns.nwu.edu (4.1/SMI-NWU-1.01)
        id AA08339; Thu, 13 Jun 91 11:28:54 CDT
Received: from uludag.ESD.3Com.COM by bridge2.ESD.3Com.COM with SMTP id AA19700
  (5.65c/IDA-1.4.4 for <nims@antioch.acns.nwu.edu>); Thu, 13 Jun 1991 09:28:48 -0700
Received: by uludag.ESD.3Com.COM id AA13067
  (5.64+/IDA-1.3.4-900827 for nims@antioch.acns.nwu.edu); Thu, 13 Jun 91 09:28:47 -0700
From: Tom Conroy <trc@ESD.3Com.COM>
Message-Id: <9106131628.AA13067@uludag.ESD.3Com.COM>
Subject: Re: Need printcap for QMS-PS810
To: nims@antioch.acns.nwu.edu (Christopher D. Nims)
Date: Thu, 13 Jun 91 9:28:42 PDT
In-Reply-To: <9106131536.AA08271@antioch.acns.nwu.edu>; from "Christopher D. Nims" at Jun 13, 91 10:36 am
X-Mailer: ELM [version 2.3 PL11]
Status: OR

Hi Chris:

> I can cat postscript out the serial port, and the printer will print just
> fine. When I use lpr, the file is sent to the printer, the busy light
> flashes for a while, then the printer gives up.

Sounds like everything is set up OK, at least physically.

At a guess, I would say that lpr is printing out header info that is causing
the QMS to think that the file is NOT postscript.

Try using lpr with the '-h' option (surpress header)(I think).

There is probably something you can add to printcap to accomplish the same
thing, but I tend to forget everything about printcap entries every
time I hack one together ...

Our QMS 820 runs fine from an SS1 using the following printcap entry:

#IMAGEN QMS-PS 820 Laser Printer
qms|lw:\
        :lp=/dev/ttya:\
        :br#19200:\
        :ms=-parity,onlcr,ixon,decctlq:\
        :fc#0000374:\
        :fs#0000003:\
        :xc#0:\
        :xs#0040040:\
        :lf=/var/spool/PS/log:\
        :sd=/var/spool/PS:\
        :rw:\
        :sh:\
        :mx:

Good Luck,

trc

Tom Conroy tom_conroy@ESD.3Com.COM
NSD Engineering SysAdm Group Tom Conroy:NSD:3COM
3Com Corporation
Santa Clara, CA (408) 764-5133

>From white@cns.ucalgary.ca Thu Jun 13 11:36:07 1991
Return-Path: <white@cns.ucalgary.ca>
Received: from cns8 (cns8.cns.ucalgary.ca) by antioch.acns.nwu.edu (4.1/SMI-NWU-1.01)
        id AA08359; Thu, 13 Jun 91 11:36:07 CDT
Received: from cns9.cns.ucalgary.ca by cns8 (4.1/CPSC-CNS4.1)
        id AA05587; Thu, 13 Jun 91 10:35:39 MDT
Date: Thu, 13 Jun 91 10:35:39 MDT
From: white@cns.ucalgary.ca (David White)
Message-Id: <9106131635.AA05587@cns8>
To: nims@antioch.acns.nwu.edu
Subject: Re: Need printcap for QMS-PS810
Status: OR

In sun-managers you wrote:
> I'm trying to set up a QMS-PS810 Postscript printer to an IPC with very
> little luck. The printer is set for 9600bps, Ignore parity, XON/XOFF. I
> can cat postscript out the serial port, and the printer will print just
> fine. When I use lpr, the file is sent to the printer, the busy light
> flashes for a while, then the printer gives up. I'm assuming I need to set
> the right flags to get things going, but I've had no luck. Any
> help/suggestions would be appreciated.
This is the printcap entry I use on a SS1+ to drive my QMS-PS810 :

llw|lp1|QMS PS-810 laser writer:\
        :lp=/dev/ttyb:sd=/var/spool/llw:\
        :lf=/var/log/llwlog:af=/var/adm/llw.acct:\
        :br#19200:rw:fc#0000374:fs#0000003:xc#0:xs#0040040:mx#0:sf:sb:\
        :if=/vol/local/lib.sun4/transcript/psif:\
        :of=/vol/local/lib.sun4/transcript/psof:\
        :tf=/vol/local/lib.sun4/transcript/pstf:\
        :gf=/vol/local/lib.sun4/transcript/psgf:\
        :vf=/vol/local/lib.sun4/transcript/psvf:

You will notice that I drive my printer at 19200bps, I used to run at
9600bps and br#19200 was the only parameter I changed when I bumped up
the speed. If you do not have transcript you can remove the filter
lines.

Hope this helps,
David White white@cns.ucalgary.ca
Clinical Neurosciences, Tel: (403) 220-6597
University of Calgary, Fax: (403) 283-4740
3330 Hospital Drive, NW,
Calgary, Alberta, Canada
T2N 4N1
 

>From stefan@centaur.astro.utoronto.ca Thu Jun 13 11:37:20 1991
Return-Path: <stefan@centaur.astro.utoronto.ca>
Received: from centaur.astro.utoronto.ca (centaur-sl.astro.utoronto.ca) by antioch.acns.nwu.edu (4.1/SMI-NWU-1.01)
        id AA08365; Thu, 13 Jun 91 11:37:20 CDT
Received: by centaur.astro.utoronto.ca id AA15000; Thu, 13 Jun 91 12:35:18 EDT
Date: Thu, 13 Jun 91 12:35:18 EDT
From: Stefan Mochnacki <stefan@centaur.astro.utoronto.ca>
Message-Id: <9106131635.AA15000@centaur.astro.utoronto.ca>
To: nims@antioch.acns.nwu.edu
Subject: Re: Need printcap for QMS-PS810
Status: OR

Try rebooting the computer after checking that TransScript (or whatever)
is correctly installed.

                                        Stefan Mochnacki
                                        Astronomy,
                                        University of Toronto

>From whb@hoh-2.att.com Thu Jun 13 12:48:55 1991
Return-Path: <whb@hoh-2.att.com>
Received: from att.att.com by antioch.acns.nwu.edu (4.1/SMI-NWU-1.01)
        id AA08424; Thu, 13 Jun 91 12:48:55 CDT
From: whb@hoh-2.att.com
Received: from eoth.att.com by hoh-2.att.com (4.1/SMI-4.0)
        id AA06003; Thu, 13 Jun 91 12:43:05 EDT
Received: by eoth.att.com (4.1/SMI-3.2)
        id AA06469; Thu, 13 Jun 91 12:45:01 EDT
Date: Thu, 13 Jun 91 12:45:01 EDT
Original-From: hoh-2.att.com!whb (Win Bent)
Message-Id: <9106131645.AA06469@eoth.att.com>
To: nims@antioch.acns.nwu.edu
Subject: Re: Need printcap for QMS-PS810
Cc: whb@hoh-2.att.com
Status: OR

>I'm trying to set up a QMS-PS810 Postscript printer ...
>When I use lpr, the file is sent to the printer, the busy light
>flashes for a while, then the printer gives up.

Here's our printcap entry, but I think the REAL source of difficulty is
the lack of an End-Of-File coming from lpr. Our input filter (printcap's
if=/usr/local/lib/ps/psfilt.sh) tacks a Control-D onto the end of
the print job (among other things), which the QMS-810 has defined as
the EOF. Without it, the printer waits for a while without printing,
then times out and gives up.

Good luck.

Wilson H. Bent, Jr. ... att!hoh-2!whb (whb@hoh-2.ATT.COM)
AT&T - Bell Laboratories HOH L-274A
Holmdel, NJ 07733 (201) 888-7129

----
qpost-1|qms-postscript-1:\
	:lp=/dev/qpost:\
	:if=/usr/local/lib/ps/psfilt.sh:\
	:af=/usr/adm/post-accnt/qpost:\
	:lf=/usr/spool/qpd-1/plog:\
	:st=/usr/spool/qpd-1/status:\
	:sd=/usr/spool/qpd-1:\
	:br#19200:\
	:fc#0177777:\
	:lo=lock:mx#0:rw:sh:

>From johnb@edge.Cis.McMaster.CA Thu Jun 13 12:14:05 1991 Received: from accuvax.nwu.edu by antioch.acns.nwu.edu (4.1/SMI-NWU-1.01) id AA08397; Thu, 13 Jun 91 12:14:05 CDT Received: from nuacc.acns.nwu.edu by accuvax.nwu.edu (5.65+/1.34) id AA04177; Thu, 13 Jun 91 12:13:57 -0500 Return-Path: johnb@edge.Cis.McMaster.CA Received: from SSCvax.CIS.McMaster.CA by nuacc.acns.nwu.edu; Thu, 13 Jun 91 12:08 CDT Received: from edge.Cis.McMaster.CA by SSCvax.CIS.McMaster.CA; Thu, 13 Jun 91 13:08 EST Received: by edge.Cis.McMaster.CA (4.1/EJB-1.0) id AA11193; Thu, 13 Jun 91 12:52:51 EDT Date: Thu, 13 Jun 1991 12:52:50 EDT From: johnb@edge.CIS.McMaster.CA Subject: Re: Need printcap for QMS-PS810 To: "Christopher D. Nims" <nims@antioch.acns.nwu.edu> Message-Id: <9106131652.AA11193@edge.Cis.McMaster.CA> In-Reply-To: "Christopher D. Nims" <nims@antioch.acns.nwu.edu> "Need printcap for QMS-PS810" (Jun 13, 10:36am) X-Mailer: Mail User's Shell (7.1.1 5/02/90) X-Envelope-To: nims@antioch.acns.nwu.edu Status: OR

"Christopher D. Nims", On Jun 13, 10:36am, you wrote: } Subject: Need printcap for QMS-PS810 } I'm trying to set up a QMS-PS810 Postscript printer to an IPC with very } little luck. The printer is set for 9600bps, Ignore parity, XON/XOFF. I } can cat postscript out the serial port, and the printer will print just } fine. When I use lpr, the file is sent to the printer, the busy light } flashes for a while, then the printer gives up. I'm assuming I need to set } the right flags to get things going, but I've had no luck. Any } help/suggestions would be appreciated. } } ============================================================================== = } Christopher D. Nims Chris_Nims@nwu.edu } Distributed Systems Services } Academic Computing and Network Services: Northwestern University }-- End of excerpt of Jun 13, 10:36am Use the following printcap for a QMS (or LaserWriter): lp|lw|ps|postscript|PostScript:\ :lp=/dev/ttyb:sd=/var/spool/lw:\ :lf=/var/spool/lw/lw-log:af=/var/adm/lw.acct:\ :br#9600:rw:fc#0000374:fs#0000003:xc#0:xs#0040040:mx#0:sf:sh: The stuff in the last line is the stuff you really need, specifically, br, fc, fs, xc, xs. Hope this helps. -- E. John Benjamins | BITNET: JOHNB@MCMASTER Computing and Information Services, | Internet: johnb@edge.cis.mcmaster.ca ABB 132, McMaster University, | Hamilton, Ontario, Canada. | Bus error (core dumped)panic: freeing fre e inode ...

>From cadence!esanborn@uunet.UU.NET Thu Jun 13 13:06:00 1991 Return-Path: <cadence!esanborn@uunet.UU.NET> Received: from relay2.UU.NET by antioch.acns.nwu.edu (4.1/SMI-NWU-1.01) id AA08457; Thu, 13 Jun 91 13:06:00 CDT Received: from uunet.uu.net (via LOCALHOST.UU.NET) by relay2.UU.NET with SMTP (5.61/UUNET-internet-primary) id AA05183; Thu, 13 Jun 91 14:05:26 -0400 Received: from cadence.UUCP by uunet.uu.net with UUCP/RMAIL (queueing-rmail) id 140445.12573; Thu, 13 Jun 1991 14:04:45 EDT Received: from gda by cadence.Cadence.COM (5.61/3.14) id AA17733; Thu, 13 Jun 91 10:39:51 -0700 Received: from blackhole.gda (acae169) by gda (3.2/GDA-90/10/18) id AA04841; Thu, 13 Jun 91 13:34:34 EDT Received: by blackhole.gda (4.0/SMI-4.0-gda) id AA00397; Thu, 13 Jun 91 13:37:35 EDT Date: Thu, 13 Jun 91 13:37:35 EDT From: cadence!esanborn@uunet.UU.NET (Ed Sanborn) Message-Id: <9106131737.AA00397@blackhole.gda> To: uunet!antioch.acns.nwu.edu!nims@uunet.UU.NET Subject: Re: Need printcap for QMS-PS810 Status: OR

I needed to change the NVram settings to set the baud and parity correctly. I remember having to have to set the printer to setting 0 wich was something like 1200baud and then I could cat a postscript file as described in the manual to set the default correctly.

Hope it helps.

-Ed

>From dlogics!jsh@uunet.UU.NET Thu Jun 13 14:18:47 1991 Return-Path: <dlogics!jsh@uunet.UU.NET> Received: from relay2.UU.NET by antioch.acns.nwu.edu (4.1/SMI-NWU-1.01) id AA08634; Thu, 13 Jun 91 14:18:47 CDT Received: from uunet.uu.net (via LOCALHOST.UU.NET) by relay2.UU.NET with SMTP (5.61/UUNET-internet-primary) id AA15481; Thu, 13 Jun 91 15:01:09 -0400 Received: from dlogics.UUCP by uunet.uu.net with UUCP/RMAIL (queueing-rmail) id 145957.9473; Thu, 13 Jun 1991 14:59:57 EDT Received: from cecil.dlogics.COM by dlogics.dlogics.com (5.59/smail2.5/02-01-91) id AA26267; Thu, 13 Jun 91 13:57:41 CDT Received: by cecil.dlogics.COM (4.0/SMI-4.0) id AA08320; Thu, 13 Jun 91 13:55:07 CDT Message-Id: <9106131855.AA08320@cecil.dlogics.COM> From: "John Howard" <jsh@dlogics.dlogics.com> Date: Thu, 13 Jun 91 13:55:06 CDT To: nims@antioch.acns.nwu.edu Subject: Re: Need printcap for QMS-PS810 X-Translated: From BBN/Slate multimedia format (version 1.2). Status: OR

> Subject: Need printcap for QMS-PS810 > To: sun-managers@eecs.nwu.edu > Date: Thu, 13 Jun 91 10:36:14 CDT > X-Mailer: ELM [version 2.3 PL8] > X-Translated: From Textmail on Thu Jun 13 12:48:24 1991 > Cc:

> I'm trying to set up a QMS-PS810 Postscript printer to an IPC with very > little luck. The printer is set for 9600bps, Ignore parity, XON/XOFF. I > can cat postscript out the serial port, and the printer will print just > fine. When I use lpr, the file is sent to the printer, the busy light > flashes for a while, then the printer gives up. I'm assuming I need to set > the right flags to get things going, but I've had no luck. Any > help/suggestions would be appreciated.

> =============================================================================== > Christopher D. Nims Chris_Nims@nwu.edu > Distributed Systems Services > Academic Computing and Network Services: Northwestern University

Have you suppressed the burst page header? lpr will be attempting to cram a barrel full of non-postscript data (the burst page user info, job name, etc) down the throat of the QMS unless you tell it otherwise. To suppress the burst page, use the :sh: capability in the printcap entry for the printer (you can also suppress the header on a job-by-job basis by using the -h option on the lpr command). John Howard +1 312 266 3232 Datalogics, Inc. jsh@dlogics.com 441 W. Huron ..uunet!dlogics!jsh Chicago, IL 60610

>From gary@seismo.gps.caltech.edu Thu Jun 13 14:35:45 1991 Return-Path: <gary@seismo.gps.caltech.edu> Received: from seismo.gps.caltech.edu (dix.gps.caltech.edu) by antioch.acns.nwu.edu (4.1/SMI-NWU-1.01) id AA08639; Thu, 13 Jun 91 14:35:45 CDT Received: from moho.gps.caltech.edu by seismo.gps.caltech.edu with SMTP id AA05113 (5.65a/IDA-1.4.2.9 for nims@antioch.acns.nwu.edu); Thu, 13 Jun 91 12:35:40 PDT Received: by moho.gps.caltech.edu id AA00417 (5.65a/IDA-1.4.2.9 for nims@antioch.acns.nwu.edu); Thu, 13 Jun 91 12:35:38 PDT Date: Thu, 13 Jun 91 12:35:38 PDT From: Gary Barber <gary@seismo.gps.caltech.edu> Message-Id: <9106131935.AA00417@moho.gps.caltech.edu> To: nims@antioch.acns.nwu.edu Subject: Re: Need printcap for QMS-PS810 Status: OR

When you get a reply, would you foward it to me?

gary@seismo.gps.caltech.edu (818)356-3993

=============================================================================== Christopher D. Nims Chris_Nims@nwu.edu Distributed Systems Services Academic Computing and Network Services: Northwestern University



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:15 CDT