![]() |
Announce: Small-size alternative tablet PRINT support for OS2007
Hi all,
I have repackaged the Debian LPRNG (BSD LPR, NG is Next Generation IIRC) for OS2007 (startup scripts adjusted, documentation stripped off, installation/de-installation scripts modified, and some other stuff). (To find the lprng package: Link at bottom of posting) So, what is this?
Lastly, here is the example /etc/printcap the lprng package for OS2007 comes with: Code:
# /etc/printcap: printer capability database. See printcap(5). Please let me know of any problems. I have used it for only a few hours after I finished my adjust/repackage cycle, and it works for me. Install/de-install seems to work ok too, but I may have overlooked something yet of course. Oh, and because LPR, LPRNG (this package) and CUPS all use the same commands (e.g. /usr/bin/lpr) then this package conflicts with the others and can't be installed at the same time. Here is the link to the current package. If you open the following link you should find lprng_3.8.28dfsg.1-1.1_armel.deb there: http://www.box.net/shared/zaj5id7dau TA-T3 |
Re: Announce: Small-size alternative tablet PRINT support for OS2007
Can I print to samba shared printers with this? Nice and small, I did not even know this was out here. I guess its only been two days. Cool stuff, you working on a mini KDE also? :D
hehe Nice work |
Re: Announce: Small-size alternative tablet PRINT support for OS2007
No mini KDE I'm afraid :)
I'm not familiar with samba shared printers, but I'll ask my sysadmin - he deals with printers, and cups as well as lpr(ng). Edit: Talked to the sysadmin. As far as I can understand it, lpr/lprng can print to samba shared printers that have been set up to also support the lpr/lpd protocol - in other words, when they look like Unix printers too. From what I understand this is needed for CUPS to access them too, although a CUPS server controlling a printer can also export that printer as a samba shared printer, for the convenience of Windows machines. The biggest difference between the CUPS system and the LPR/LPD system is that CUPS daemons keep talking among themselves on additional communication ports, in addition to being able to just print to lpr/lpd-enabled printers. I've found that systems running just lpr/lpd (or lprng) can print to any printers managed by either their local CUPS systems, or BSD LPD, or directly networked printers (which tend to support the lpr/lpd protocol first, but some of them also supports the newer additional IPP protocol which CUPS also uses.) It's probably better to check the authorative sources, so I looked at wikipedia and quote this part: Compatibility CUPS provides both the System V and Berkeley printing commands so the traditional commands for printing can be used for CUPS. CUPS listens on port 515, which is the traditional LPD port (it treats this as a 'backend'). When CUPS is installed the lp System V printing system command and the lpr Berkeley printing system commands are installed as compatible programs. This allows a standard interface to CUPS and allows maximum compatibility with existing applications that rely on these printing systems. (the 'Berkeley printing commands' mentioned above refers to the lpr/lpd, or BSD LPR systems I've been talking about earlier.) For my own needs, I would install CUPS on a computer where a printer is physically connected, and use either a subset CUPS on a client machine (if the CUPS system on the computer with the printer has all the filters you won't actually need any on the client), or just BSD LPR or LPRNG. So that's why I put together the lprng package, it does just what's needed for me. |
Re: Announce: Small-size alternative tablet PRINT support for OS2007
P.s. there are a few graphical interfaces around for monitoring a print queue, if there's any interest I can look at porting them too. For those running the KDE suite there's probably one integrated already though, but some other tool could maybe be useful for Hildon.
|
Re: Announce: Small-size alternative tablet PRINT support for OS2007
Sorry to resurrect an old thread, but I'm having a bit of trouble getting printing on my 770 to work with my networked printer (an HP LaserJet 4P, connected via an Edimax PS-1206).
I think the problem is with my printcap entry, but since I've never used printcap, I'm not sure. Quote:
|
Re: Announce: Small-size alternative tablet PRINT support for OS2007
Try something like this:
Code:
lp|Remote printer entry:\ Code:
192.168.0.7 printserver |
Re: Announce: Small-size alternative tablet PRINT support for OS2007
Well, it mostly worked. :)
Test text file is like this: Quote:
Quote:
|
Re: Announce: Small-size alternative tablet PRINT support for OS2007
That looks like you've got an LF (ASCII 10) without a CR (ASCII 13) in there. Don't know how to fix it, though.
|
Re: Announce: Small-size alternative tablet PRINT support for OS2007
Sadly, I don't know either.
|
Re: Announce: Small-size alternative tablet PRINT support for OS2007
It all depends on what your networked printer supports. Some can take text directly, some don't. And if they do, they make want cr/lf the way it seems here. Some printers can take postscript and sometimes also pdf, and sometimes postscript is all they can take.
How is your printer accessed? Is it directly networked? Or is it connected to a networked computer instead? In the latter case you will want to install Cups on that system, and all the filters it needs to swallow all kind of file types you care to send from your 770. |
All times are GMT. The time now is 06:46. |
vBulletin® Version 3.8.8