Operating System - Linux
1832145 Members
2831 Online
110038 Solutions
New Discussion

Re: host-based printer in linux enviroment

 
Maxim_11
New Member

host-based printer in linux enviroment

I need to connect LaserJet 1005w to linux system (LPRng print daemon) via D-link print-server.
Since this printer is host-based, direct connection will not work.

Can this problem be solved using some smart LPRng filters, like ifhp ?
3 REPLIES 3
Stuart Browne
Honored Contributor

Re: host-based printer in linux enviroment

eh? wot?

The dlink print server talks LPD doesn't it? Just set it up as if you were talking to another Unix system.

Use printconf (or printconf-tui) to add a remote unix printer, and go *whee*whee*whee* all the way home. Is pretty simple.

Otherwise, just add an entry similar to:

:lp=:rm=:rp=:sd=/var/spool/lpd/

to your /etc/printcap. This is just a simple 'send it to the lpd service' entry for LPRng.
One long-haired git at your service...
Maxim_11
New Member

Re: host-based printer in linux enviroment

Here's my printcap entry for this queue:
lj1005|lj1:
:lp=lj1005@printserv2:
:sd=/var/spool/lpd/lj1005:
:mx#0:
:sh:

DLink options for only port:
Speed = high
PJL printer = no

This works well with other printers (DeskJet, LaserJet 2500)

With LJ1005w, when i print using this queue(either from linux using lpr, or from windows using samba), job joes through lpr queue, then through printserver.
The "LPT" led on printserver is blinking showing that data is transfering to printer.

Printer does not print.
Stuart Browne
Honored Contributor

Re: host-based printer in linux enviroment

Might want to look at CR/LF translations then. What class of printer is it that's attached to the print server?

Failing that, the driver you use (you are using foomatic, right?) should be able to do the translation for you.

What if you set up a dummy job (text file) which ends with a chr 12 (^L), and see if the page ejects.
One long-haired git at your service...