![]() |
|
|||||||
| OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
|
Thread Tools | Display Modes |
|
||||
|
We've had this multifunction device as the family printer for about a year. I'm pleased with everything about it ... except the ability to use it from OpenBSD. I've tried plain text, Postscript, and even GDI via foomatic's hl7x0 driver (via a similar printer's PPD). None of these services print anything, ever. All I ever see is communication with the printer on port 515. The printer lists these LPD queues:
Code:
Local> show service
* 1 Service Name : BRN001BA967B8D7 Port Name : P1
Filter=0 BOT=1 EOT=1 Option : BQ
Protocol : IP TCP Port : 9100
2 Service Name : BINARY_P1 Port Name : P1
Filter=0 BOT=1 EOT=1 Option : BQ
Protocol : IP TCP Port : 9100
3 Service Name : TEXT_P1 Port Name : P1
Filter=1 BOT=1 EOT=11 Option : BQ
Protocol : IP TCP Port : 9100
4 Service Name : POSTSCRIPT_P1 Port Name : P1
Filter=0 BOT=10 EOT=4 Option : BQ
Protocol : IP TCP Port : 9100
5 Service Name : PCL_P1 Port Name : P1
Filter=0 BOT=9 EOT=4 Option : BQ
Protocol : IP TCP Port : 9100
6 Service Name : BRN001BA967B8D7_AT Port Name : P1
Filter=4 BOT=1 EOT=1 Option : BQ
Protocol : IP TCP Port : 9100
Code:
foo|test of MFC8600 hl7x0 driver:\
:lp=:rm=192.168.2.56:rp=BRN001BA967B8D7:\
:sd=/var/spool/output/lp:lf=/var/log/lpd-errs:\
:af=/etc/foomatic/Brother-MFC-8600.ppd:if=/usr/local/bin/foomatic-rip:\
:sh:
ps|test of PS:\
:lp=:rm=192.168.2.56:rp=POSTSCRIPT_P1:sd=/var/spool/output/lp:\
:lf=/var/log/lpd-errs:sh:
text|test of text:\
:lp=:rm=192.168.2.56:rp=TEXT_P1:sd=/var/spool/output/lp:\
:lf=/var/log/lpd-errs:sh:
bin|test of MFC8600 hl7x0 driver via another service:\
:lp=:rm=192.168.2.56:rp=BINARY_P1:\
:sd=/var/spool/output/lp:lf=/var/log/lpd-errs:\
:af=/etc/foomatic/Brother-MFC-8600.ppd:if=/usr/local/bin/foomatic-rip:\
:sh:
Every couple of months, I Google this printer to see if anyone has ever had success with the printer without Brother's proprietary software. Nothing, to date. Any suggestions?
__________________
OpenBSD LiveCDs/LiveDVDs Last edited by jggimi; 23rd June 2012 at 10:57 PM. Reason: typos, as usual. |
|
|||
|
It looks like you are trying to use the built in wireless for network printing.
The manufacturers spec sheet indicates that it supports hp jet direct on port 9100 Quote:
Code:
hp5l|lp|ljet4;r=300x300;q=draft;c=gray;p=letter;m=auto:\
:lp=9100@192.168.1.2:\
:rp=raw:\
:if=/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/hp5l:\
:lf=/var/spool/lpd/hp5l/log:\
:af=/var/spool/lpd/hp5l/acct:\
:mx#0:\
:sh:
Last edited by shep; 24th June 2012 at 01:51 AM. |
|
|||
|
Could it be a end of line incompatibility? In other words, it may expect a CR/LF pair (0x0d/0x0a) instead of a single the LF (0x0a). Or horror of horrors maybe it needs a Control-Z.
Just a shot in the dark
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
||||
|
Quote:
![]() Quote:
Quote:
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
Same result, Shep. No output. I'll try CUPS, next. From a test environment. I'm not a fan of it.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
CUPS found the "BINARY_P1" interface only. The rest of the services were not found. But after configuring the found printer, CUPS was unable to find the queue to send a test page.
I manually set the connetion to socket://192.168.2.56:9100, but that failed to send anything due to format errors. I hate CUPS.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
I utilize a single printer with a parallel port print server. Like you I prefer the simplicity of lpd/printcap. I use Arch linux on a laptop that is not compatible with OpenBSD and access the printer via Cups. In Arch/Cups I do not have to use the HP direct 9100 printer port and use ipp://192.168.1.2/P1 or http://192.168.1.2/P1 or lpd://192.168.1.2/P1.
I would also try 192.168.2.56:9100/P1 and socket://192.168.2.56 from what I read here Quote:
Last edited by shep; 25th June 2012 at 02:21 AM. |
|
||||
|
Quote:
CUPS only worked sometimes for me so I switched to using LPD. I finally got LPD to work by making a custom filter to translate PS to PCL (again, not sure if this applies to the inkjet world). But anyway, here's the link to how I can not print without problem, it's FreeBSD but should work on OpenBSD. http://www.wonkity.com/~wblock/docs/...dprinting.html
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick |
|
||||
|
Quote:
Quote:
Thank you for the suggestions.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
There's no place to set LF/CRLF from the printer's little interface, nor from Telnet. One can set EOT characters by service, though they appear to be standard (ctrl-A or ctrl-D, as noted in the top post).
Using ljet4 PCL, per the ps2pcl script, had no change in symptoms. No print, printer "receiving data" and the file long since considered sent, and out of spool. Tried with both the BINARY_P1 LPD port, and the 9100@ Jet Direct device. Bleh.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
I even tried the proprietary Linux driver; all its binary needs is already in emulators/fedora_base. Same results -- clears spool immediately, nothing printed.
I shall continue to use the device from non-OpenBSD platforms: Windows, Linux, and Android (they have a nice app).
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
If you haven't been driven crazy yet you could also break the task into smaller parts:
1. Hook printer directly to usb and work out print cap. 2. Printer via NIC cable to add networking 3. Finally printer via wireless networking - I looked at the online manual which talked about WEP keys for the printer. Did not say anything about WPA A quick test would be to ping 192.168.2.56 and watch the router lights My Trendnet print server also has a web interface From Code:
lynx 192.168.1.2
Change IP Address
IP Address:
(*) Manually Assign
IP Address : 192.168.1.2_______
Subnet Mask : 255.255.255.0_____
Default Gateway : 192.168.1.1_______
( ) Automatically Assign
Save Cancel
Last edited by shep; 27th June 2012 at 01:47 PM. |
|
||||
|
I had not. I will try the hl7x0 driver and then the pxlcolor driver. Thank you for that tip.
Quote:
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
*&^%$#!!!!
All new tests failed, including USB interface.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
Thats sucks.
The only other suggestion I can possible suggest is try using netcat to print a text file, just to see if it produces any output at all.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick |
|
|||
|
Did you find this web site?
The site describes linux emulation, installation of the *.rpm based printer drivers from Brother and CUPS. The end result looks bloated and antithetical to OpenBSD but it is reported to work. |
|
||||
|
I've used Telnet with port 515, attempting to print stuff via LPD protocol, to no avail. But that could be due to my misunderstanding of the protocol.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
Shep, no, I used the proprietary LPD driver under compat_linux, not CUPS. That, I suppose, will be my next (and last) attempt.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
An archived OpenBSD Brother thread with multiple options.
I have a feeling jggimi will eventually pound this into submission. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Freebsd and Brother HL-2032 laser printer | da1 | FreeBSD General | 6 | 12th March 2009 02:09 AM |
| torrent clients are driving me nuts | graudeejs | FreeBSD General | 28 | 9th January 2009 11:43 AM |