9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] tcpostio problem
@ 2007-08-02  1:13 erik quanstrom
  0 siblings, 0 replies; only message in thread
From: erik quanstrom @ 2007-08-02  1:13 UTC (permalink / raw)
  To: 9fans

we've been having reoccuring problems when sending troff output
to one hp 4xxx printer, but not an hp 5xxxx.  the error message
from the printer is

	minooka; cat log/prlisa.st
	printer startup
	%[ status: idle ]%
	8192 sent
	%[ status: busy ]%
	16384 sent
	%[ Error: undefined; OffendingCommand: _y ]%

as it turns out, there is no such string _y in the entire output sent to
the printer.  even after aux/download has processed the fonts.  if
i don't use download to process fonts

	cat /sys/lib/lp/prob/prlisa/123567.1 |aux/tcpostio -b81920 tcp!printer!9100

the printer will print, but the output is ugly.  if i try to run the font processor,

	aux/download -f -H/sys/lib/postscript/font -mfontmap -plw+ </sys/lib/lp/prob/prlisa/123567.1 |
		aux/tcpostio -b81920 tcp!printer!9100

i get the same error as before.  oddly, if i chage the -b option (which claims to be the
"baud" rate, but seems to be a blocksize), the offending string and the offending location
change.

it seems like tcpostio is doing something with the protocol that one of
the printers doesn't like.  any ideas?

- erik


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-02  1:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-02  1:13 [9fans] tcpostio problem erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).