From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 1099 invoked from network); 5 Jun 2022 15:38:49 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 5 Jun 2022 15:38:49 -0000 Received: from mail.chrisfroeschl.de ([5.252.227.212]) by 9front; Sun Jun 5 11:35:25 -0400 2022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrisfroeschl.de; s=20210522; t=1654443321; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FXBhcZ3TFOP51pJm11V3e4IaYJ+qcyOIdIvaqAhEvVA=; b=VxqBTE1Qqi0KmyeC2nQniFJPcODQf5Uocn97YvZlQx2pSI5kxModSoyqjb6qrr2ZY+wokO aOKDRCjQTDrVPjvt5N28WfUvaLjXZ5nYWruNrDjVxVqT+4PPZiOiJ2tomXnOY6nkIS/KRd IA+QCQWaFn5A/GCz9D1UKHl5xwQlnuQ= Received: from cirno.fritz.box ( [82.207.245.4]) by chrisfroeschl.chrisfroeschl.de (OpenSMTPD) with ESMTPSA id eade9312 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Sun, 5 Jun 2022 17:35:21 +0200 (CEST) Message-ID: Date: Sun, 05 Jun 2022 17:35:08 +0200 From: chris@chrisfroeschl.de To: 9front@9front.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: map/reduce-aware XML content-driven strategy method Subject: [9front] Printing configuration Reply-To: 9front@9front.org Precedence: bulk Hello all, I'm trying to setup printing on my 9front desktop. I have a Canon TS6300 at home, which I would like to directly send print requests from the desktop via USB and preferable wireless network request. I'm having a hard time setting up my /sys/lib/lp/devices config even after reading /sys/doc/lp.ps and lp(1) and was hoping for someone with perhaps a similar requirement and a working config to share. My current two device setups are probably total bogus, but here we go: ; tail -n2 /sys/lib/lp/devices homeTS6300wifi - 192.168.178.82 tcp!192.168.178.82!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. I assume that the printer supports postscript, but I didn't seem to find a explicit spec mentioning it. I might be wrong assuming that. Although plain text alone would already be a blessing. The wifi printer seems to send something apparently with lpd settings refering to the log, but nothing really happens: ; tail -n2 /sys/lib/lp/devices homeTS6300wifi - 192.168.178.82 tcp!192.168.178.82!515 - post+nohead generic lpdspool lpstat - tcppost - homeTS6300usb - /dev/usb/ep13.1/data - - post+nohead generic nospool - - - - ; cat /sys/lib/lp/log/homeTS6300wifi.st connecting to tcp!192.168.178.82!515 trying from port 721...connected : 69.13% sent : 100.00% sent 11850 bytes sent, status: waiting for end of job I tried lpd settings because my printer test page (printed out on through other device) mentions LPD as enabled. Other settings mentioned are: - WSD Printing => enabled - RAW Printing => enabled - Bonjour => enabled - LLMNR => enabled - SNMP = enabled - PictBridge Commun. => enable I hope I provided enough information for someone to perhaps see a weak point or general advice for my configuration. Refering me to additional resources could also help. chris