9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Anthony Martin <ality@pbrane.org>
To: 9front@9front.org
Subject: [9front] Re: Printing configuration
Date: Thu, 9 Jun 2022 23:09:00 -0700	[thread overview]
Message-ID: <YqLf/AbwEVQEg3Te@alice> (raw)
In-Reply-To: <E450918F7613E5B69D7EB21601266219@chrisfroeschl.de>

chris@chrisfroeschl.de once said:
> ; tail -n2 /sys/lib/lp/devices
> homeTS6300wifi	- tcp!!515	- post+nohead generic generic generic - tcppost -
> homeTS6300usb	- /dev/usb/ep13.1/data - - post+nohead generic nospool - - - -
> ;
> I manage to get following error with the wifi printer:
> ; lp -dhomeTS6300wifi test.ps
> Jun  5 17:15:15 failed to receive ACK, received <0x1> instead
> Jun  5 17:15:15 failed to receive ACK before sending data
> ;
> The printer itself works of course on other operating systems with
> standard manufacturer documentation.
> 515 seems to be the proper port and gives something back when using
> telnet.

Port 515 is for the LPD protocol. By using tcppost, you're trying
to send it RAW/JetDirect data (which is usually handled on port

And drop the last "-" on each line (the sched field) of your devices
file. You don't need it unless you know you need it.


      parent reply	other threads:[~2022-06-10  6:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-05 15:35 [9front] " chris
2022-06-05 17:40 ` Stuart Morrow
2022-06-09 13:53   ` chris
2022-06-09 21:07     ` Stuart Morrow
2022-06-10  6:09 ` Anthony Martin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YqLf/AbwEVQEg3Te@alice \
    --to=ality@pbrane.org \
    --cc=9front@9front.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).