|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
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:
|
|
||||
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. |
|
|||
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. |
|
||||
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. |
|
||||
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). |
|
||||
Did you try changing the device in the ps2pcl script? I had pretty much the same problem as you were the spool would clear...I even got a blinking light on my printer meaning it was warming up to print but nothing ever printed (had this with CUPS and even using the lpd instruction from brother and there binary driver).
my ps2pcl looks like this: Code:
#!/bin/sh /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=pxlcolor -sPAPERSIZE=letter -sOutputFile=- - Code:
lp:\ :lp=:\ :rm=brother:\ :rp=raw:\ :sd=/var/spool/lpd/brother:\ :mx#0:\ :sh:\ :if=/usr/local/libexec/ps2pcl:\ :lf=/var/log/lpd-errs:\
__________________
"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 |
|
|||
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:
|
|
||||
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. |
|
|||
An archived OpenBSD Brother thread with multiple options.
I have a feeling jggimi will eventually pound this into submission. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Freebsd and Brother HL-2032 laser printer | da1 | FreeBSD General | 6 | 12th March 2009 03:09 AM |
torrent clients are driving me nuts | graudeejs | FreeBSD General | 28 | 9th January 2009 12:43 PM |