Will sys=canon ip=192.168.0.34 work if I put that into /sys/ndb/local? On September 8, 2026 8:05:35 PM GMT+03:00, Thaddeus Woskowiak <[email protected]> wrote: >On Tue, Sep 8, 2026 at 12:42 AM luchiz via 9fans <[email protected]> wrote: >> >> Hello list, >> >> I'm trying to set up printing on 9front. I have a Canon printer >> located at 192.168.0.34, and I don't know how to set up lp to print to >> that address. There is little documentation found on the official >> Plan 9 website. Can you show me how to set up printing for LPD and >> port 9100? I want to try out both to see which one works best. >> >> Thank you. -luchiz >> > > The most important detail is to make sure your printer speaks postscript. > > I have an HP Color LaserJet CP1518ni that I print to on 9front. I > happen to use 9front for networking so its also my DNS and DHCP > server. > > NDB entry: > sys=HPcolor ether=001e0b0543b3 ip=192.168.1.63 dom=HPcolor.bla.org > > I then have the following line in /sys/lib/lp/devices (yes the > trailing dash is intentional) > HPcolor officeroom HPcolor tcp!HPcolor!9100 - post2+600dpi+color > generic lpdspool+fonts lpd generic hp - > > I forget how I arrived at the above line though my suggestion is to > read up on lp(1) and lp(8). > > I can print a PDF like so (no space between the '-d' and printer name for lp): > pdf2ps doc.pdf | lp -dHPcolor > > - taw
it's cool to be weird! ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T018e03ecbf2b5fbb-Mf597fa7f5c9da4cb04582ca9 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
