*BSD News Article 53248


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!usenet.eel.ufl.edu!spool.mu.edu!howland.reston.ans.net!swrinde!elroy.jpl.nasa.gov!lll-winken.llnl.gov!enews.sgi.com!decwrl!pa.dec.com!nntpd.lkg.dec.com!usenet
From: Jon Jenkins <jenkinsj@ozy.dec.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Printing PS why so slow: Free BSD or printer ??
Date: 25 Oct 1995 08:34:00 GMT
Organization: Digital Equipment Corp
Lines: 253
Message-ID: <46kspo$f8p@nntpd.lkg.dec.com>
NNTP-Posting-Host: ozyd13-p3.ozy.dec.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (X11; I; BSD/386 uname failed)
To: jenkinsj@ozy.dec.com
X-URL: news:comp.unix.bsd.freebsd.misc

I have a Xerox SmallPrinter PS23
(same as a TI Microlaser 300 PS23)
which is a Level 1 Postscript
printer on trial for a few
days. For text it seems to be
fine but for graphics uggghhhh
like 20mins to print a simple
2"x5" graphic on an A4 page !!!

I have hacked around in the lpt.c
driver to print some stuff out 
and it would seem that the printer
is the problem because it asserts
BUSY for up to 10 seconds at a time

Question is this something in the
printer i.e. are these printers just
very very very very slow or what.


lpt.c trace (with my comments)
from lpr -P ps -h <file>.ps:


Oct 25 17:37:49 wally kernel: lp flags 0x0  
Oct 25 17:37:49 wally kernel: irq 7
Oct 25 17:37:49 wally kernel: opened.
Oct 25 17:37:49 wally kernel: lptioctl: unit: 0 cmd: 1076655123 data: 0

Oct 25 17:37:49 wally kernel: write: 0 		# write to unit 0
Oct 25 17:37:49 wally kernel: i: 1024		# 1024 bytes
Oct 25 17:37:49 wally kernel: W		
Oct 25 17:37:49 wally kernel: w: 1024		# actually wrote to port
Oct 25 17:37:50 wally kernel: w: 0
Oct 25 17:37:50 wally kernel: Wl		# leave write

Oct 25 17:37:50 wally kernel: write: 0
Oct 25 17:37:50 wally kernel: i: 1024
Oct 25 17:37:50 wally kernel: W
Oct 25 17:37:50 wally kernel: w: 1024
Oct 25 17:37:50 wally kernel: w: 0
Oct 25 17:37:50 wally kernel: Wl

Oct 25 17:37:50 wally kernel: write: 0
Oct 25 17:37:50 wally kernel: i: 1024
Oct 25 17:37:50 wally kernel: W
Oct 25 17:37:50 wally kernel: w: 1024
Oct 25 17:37:50 wally kernel: w: 0
Oct 25 17:37:50 wally kernel: Wl

Oct 25 17:37:51 wally kernel: write: 0
Oct 25 17:37:51 wally kernel: i: 1024
Oct 25 17:37:51 wally kernel: W
Oct 25 17:37:51 wally kernel: w: 1024
Oct 25 17:37:51 wally kernel: w: 0
Oct 25 17:37:51 wally kernel: Wl

Oct 25 17:37:51 wally kernel: write: 0
Oct 25 17:37:51 wally kernel: i: 1024
Oct 25 17:37:51 wally kernel: W
Oct 25 17:37:51 wally kernel: T 58		# first timeout 
Oct 25 17:37:51 wally kernel: t			# device is busy after 4k !!!
Oct 25 17:37:51 wally kernel: B
Oct 25 17:37:51 wally kernel: st 58 s: 1
Oct 25 17:37:51 wally kernel: T 58
Oct 25 17:37:51 wally kernel: t
Oct 25 17:37:51 wally kernel: B
Oct 25 17:37:51 wally kernel: st 58 s: 153
Oct 25 17:37:51 wally kernel: T 58
Oct 25 17:37:51 wally kernel: t
Oct 25 17:37:51 wally kernel: B
Oct 25 17:37:51 wally kernel: st 58 s: 1023
Oct 25 17:37:51 wally kernel: w: 1024
Oct 25 17:37:52 wally kernel: w: 0
Oct 25 17:37:52 wally kernel: Wl     

Oct 25 17:37:52 wally kernel: write: 0
Oct 25 17:37:52 wally kernel: i: 1024
Oct 25 17:37:52 wally kernel: W
Oct 25 17:37:52 wally kernel: T 58
Oct 25 17:37:52 wally kernel: t
Oct 25 17:37:52 wally kernel: B
Oct 25 17:37:52 wally kernel: st 58 s: 959
Oct 25 17:37:52 wally kernel: w: 1024
Oct 25 17:37:52 wally kernel: w: 0
Oct 25 17:37:52 wally kernel: Wl

Oct 25 17:37:52 wally kernel: write: 0
Oct 25 17:37:52 wally kernel: i: 1024
Oct 25 17:37:52 wally kernel: W
Oct 25 17:37:52 wally kernel: w: 1024
Oct 25 17:37:52 wally kernel: w: 0
Oct 25 17:37:52 wally kernel: Wl

Oct 25 17:37:52 wally kernel: write: 0
Oct 25 17:37:52 wally kernel: i: 1024
Oct 25 17:37:52 wally kernel: W
Oct 25 17:37:52 wally kernel: w: 1024
Oct 25 17:37:53 wally kernel: w: 0
Oct 25 17:37:53 wally kernel: Wl

Oct 25 17:37:53 wally kernel: write: 0
Oct 25 17:37:53 wally kernel: i: 1024
Oct 25 17:37:53 wally kernel: W
Oct 25 17:37:53 wally kernel: w: 1024
Oct 25 17:37:53 wally kernel: w: 0
Oct 25 17:37:53 wally kernel: Wl

Oct 25 17:37:53 wally kernel: write: 0
Oct 25 17:37:53 wally kernel: i: 1024
Oct 25 17:37:53 wally kernel: W
Oct 25 17:37:53 wally kernel: T 58
Oct 25 17:37:53 wally kernel: t
Oct 25 17:37:53 wally kernel: B
Oct 25 17:37:53 wally kernel: st 58 s: 1
Oct 25 17:37:53 wally kernel: T 58
Oct 25 17:37:53 wally kernel: t
Oct 25 17:37:53 wally kernel: B
Oct 25 17:37:53 wally kernel: st 58 s: 1
Oct 25 17:37:53 wally kernel: T 58
Oct 25 17:37:53 wally kernel: t
Oct 25 17:37:53 wally kernel: B
Oct 25 17:37:54 wally kernel: st 58 s: 1
Oct 25 17:37:54 wally kernel: T 58
Oct 25 17:37:54 wally kernel: t
Oct 25 17:37:54 wally kernel: B
Oct 25 17:37:54 wally kernel: st 58 s: 1
Oct 25 17:37:54 wally kernel: T 58
Oct 25 17:37:54 wally kernel: t
Oct 25 17:37:54 wally kernel: B
Oct 25 17:37:54 wally kernel: st 58 s: 805       
Oct 25 17:37:54 wally kernel: w: 1024
Oct 25 17:37:54 wally kernel: w: 0
Oct 25 17:37:54 wally kernel: Wl


						## ok here it comes
Oct 25 17:37:54 wally kernel: write: 0		# write 1024 bytes
Oct 25 17:37:54 wally kernel: i: 1024
Oct 25 17:37:54 wally kernel: W
Oct 25 17:37:54 wally kernel: T 58		# busy
Oct 25 17:37:54 wally kernel: t
Oct 25 17:37:54 wally kernel: B
Oct 25 17:37:54 wally kernel: st 58 s: 1
Oct 25 17:37:55 wally kernel: T 58
Oct 25 17:37:55 wally kernel: t
Oct 25 17:37:55 wally kernel: B
Oct 25 17:37:55 wally kernel: st 58 s: 1
Oct 25 17:37:55 wally kernel: T 58
Oct 25 17:37:55 wally kernel: t
Oct 25 17:37:55 wally kernel: B
Oct 25 17:37:55 wally kernel: st 58 s: 1
Oct 25 17:37:56 wally kernel: T 58
Oct 25 17:37:56 wally kernel: t
Oct 25 17:37:56 wally kernel: B
Oct 25 17:37:56 wally kernel: st 58 s: 1
Oct 25 17:37:56 wally kernel: T 58
Oct 25 17:37:56 wally kernel: t
Oct 25 17:37:56 wally kernel: B
Oct 25 17:37:56 wally kernel: st 58 s: 1
Oct 25 17:37:57 wally kernel: T 58
Oct 25 17:37:57 wally kernel: t
Oct 25 17:37:57 wally kernel: B
Oct 25 17:37:57 wally kernel: st 58 s: 1
Oct 25 17:37:57 wally kernel: T 58
Oct 25 17:37:57 wally kernel: t
Oct 25 17:37:57 wally kernel: B
Oct 25 17:37:57 wally kernel: st 58 s: 1
Oct 25 17:37:58 wally kernel: T 58
Oct 25 17:37:58 wally kernel: t
Oct 25 17:37:58 wally kernel: B
Oct 25 17:37:58 wally kernel: st 58 s: 1
Oct 25 17:37:58 wally kernel: T 58
Oct 25 17:37:58 wally kernel: t
Oct 25 17:37:58 wally kernel: B
Oct 25 17:37:58 wally kernel: st 58 s: 1
Oct 25 17:37:58 wally kernel: B
Oct 25 17:37:58 wally kernel: st 58 s: 1
Oct 25 17:37:59 wally kernel: T 58
Oct 25 17:37:59 wally kernel: t
Oct 25 17:37:59 wally kernel: B
Oct 25 17:37:59 wally kernel: st 58 s: 1
Oct 25 17:37:59 wally kernel: T 58
Oct 25 17:37:59 wally kernel: t
Oct 25 17:37:59 wally kernel: B
Oct 25 17:37:59 wally kernel: st 58 s: 1
Oct 25 17:38:00 wally kernel: T 58
Oct 25 17:38:00 wally kernel: t
Oct 25 17:38:00 wally kernel: B
Oct 25 17:38:00 wally kernel: st 58 s: 1
Oct 25 17:38:00 wally kernel: T 58
Oct 25 17:38:00 wally kernel: t
Oct 25 17:38:00 wally kernel: B
Oct 25 17:38:00 wally kernel: st 58 s: 1
Oct 25 17:38:01 wally kernel: T 58
Oct 25 17:38:01 wally kernel: t
Oct 25 17:38:01 wally kernel: B
Oct 25 17:38:01 wally kernel: st 58 s: 1
Oct 25 17:38:01 wally kernel: T 58
Oct 25 17:38:01 wally kernel: t
Oct 25 17:38:01 wally kernel: B
Oct 25 17:38:01 wally kernel: st 58 s: 1
Oct 25 17:38:02 wally kernel: T 58
Oct 25 17:38:02 wally kernel: t
Oct 25 17:38:02 wally kernel: B
Oct 25 17:38:02 wally kernel: st 58 s: 1
Oct 25 17:38:02 wally kernel: T 58
Oct 25 17:38:02 wally kernel: t
Oct 25 17:38:02 wally kernel: B
Oct 25 17:38:02 wally kernel: st 58 s: 1
Oct 25 17:38:03 wally kernel: T 58
Oct 25 17:38:03 wally kernel: t
Oct 25 17:38:03 wally kernel: B
Oct 25 17:38:03 wally kernel: st 58 s: 1
Oct 25 17:38:03 wally kernel: T 58
Oct 25 17:38:03 wally kernel: t
Oct 25 17:38:03 wally kernel: B
Oct 25 17:38:03 wally kernel: st 58 s: 1
Oct 25 17:38:04 wally kernel: T 58
Oct 25 17:38:04 wally kernel: t
Oct 25 17:38:04 wally kernel: B
Oct 25 17:38:04 wally kernel: st 58 s: 1
Oct 25 17:38:04 wally kernel: T 58
Oct 25 17:38:04 wally kernel: t
Oct 25 17:38:04 wally kernel: B
Oct 25 17:38:04 wally kernel: st 58 s: 1
Oct 25 17:38:05 wally kernel: T 58
Oct 25 17:38:05 wally kernel: t
Oct 25 17:38:05 wally kernel: B
Oct 25 17:38:05 wally kernel: st 58 s: 1
Oct 25 17:38:05 wally kernel: w: 1024
Oct 25 17:38:05 wally kernel: w: 0
Oct 25 17:38:05 wally kernel: W		# still busy after 10 seconds
					# what the hell I have only
					# written 11k of data !!!!

Anyone understand what is going on or
are these just !@#$%^& printers 

Thanks

Jon


-- 
----------------------------------------------------------------------
Name:      Dr Jon Jenkins    Location: Digital Equipment Corporation NaC
Voice/Fax: 61-7-55-75-0151/100         Burnett Place, Research Park,  
Inet:      jenkinsj@ozy.dec.com        Bond University, Gold Coast
Close Proximity: "HEY YOU !!!"         QLD, AUSTRALIA 4229
"Daddy, what's outside the Universe?" (My 5 year old.....)
-----------------------------------------------------------------------