niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » FreeBSD
Printing to remote print server attached via USB
Post new topic   Reply to topic Page 1 of 1 [7 Posts] View previous topic :: View next topic
Author Message
Warren Block
*nix forums Guru Wannabe


Joined: 27 Feb 2005
Posts: 135

PostPosted: Wed Jul 19, 2006 2:14 am    Post subject: Re: Printing to remote print server attached via USB Reply with quote

John Doe <john@does.com> wrote:
Quote:

The router in question is a "Safecom SBRU-10100 4 Port Cable/DSL
Broadband Router with USB Print Server". This is a very cheap little
gadget (£7.99) and im not expecting ANYTHING from it really was just
wondering if anybody had experience with this kind of setup : USB
PRINTER <-> ROUTER <-> NETWORK.

Given those specifics, a web search shows that it does support lpd
printing and the queue name is "lp". Here's a printcap entry that
should work:

lp:\
:lp=:\
:sh:\
:mx#0:\
:rm=safecom:\
:rp=lp:\
:sd=/var/spool/output/lpd/safecom:\
:lf=/var/log/lpd-errs:

You also need to add an entry for safecom in /etc/hosts so that
rm=safecom resolves, and create the spool directory
/var/spool/output/lpd/safecom.

--
Warren Block * Rapid City, South Dakota * USA
Back to top
John Doe
*nix forums addict


Joined: 26 Mar 2005
Posts: 85

PostPosted: Tue Jul 18, 2006 10:53 pm    Post subject: Re: Printing to remote print server attached via USB Reply with quote

Warren Block wrote:
Quote:
John Doe <john@does.com> wrote:
Dr. R. E. Hawkins wrote:
On Mon, 17 Jul 2006 22:58:17 +0000, John Doe wrote:

What is the best solution to get it working ?

Lpr ? Apsfilter ? CUPS ?
Once you have a spool established on the machine to which it is attached,
lpd just doesn't care . . . and all you need to know about lpd is
in the handbook under Advanced Printing.
Forgot to mention it is attached to a router not a host.
So i guess it depends on the routers capabilities - right ?
It works fine with XP boxes though they need software installed to get
them going.

Okay, it's a router. Does it just say "ROUTER" on it, or is there a
brand and model that can be researched on the web? Do you have the
manual? Does it support lpd or port 9100? The XP software--does it
just say "SOFTWARE", or does it have a name that gives a clue to what it
does or can be researched on the web? Do you have the manual?

You may find a common theme in the paragraph above.

XP can send lpr print jobs natively, so the software is unlikely to be
that unless it's generic software that makes sure lpr is available for
any version of Windows. Before Windows 2000, Windows didn't do lpr,
because that would be useful and so could be sold as an add-on or
"business" version.


The router in question is a "Safecom SBRU-10100 4 Port Cable/DSL
Broadband Router with USB Print Server". This is a very cheap little
gadget (£7.99) and im not expecting ANYTHING from it really was just
wondering if anybody had experience with this kind of setup : USB
PRINTER <-> ROUTER <-> NETWORK.

The "manual" (4 pages) as usual only covers how to insert the cd in your
windows box and enable autorun if its disabled ;-)

Anyways, will get personal with "man lpr" asap.

Thanks for your help

Cheers

Steven
Back to top
Warren Block
*nix forums Guru Wannabe


Joined: 27 Feb 2005
Posts: 135

PostPosted: Tue Jul 18, 2006 12:28 pm    Post subject: Re: Printing to remote print server attached via USB Reply with quote

John Doe <john@does.com> wrote:
Quote:
Dr. R. E. Hawkins wrote:
On Mon, 17 Jul 2006 22:58:17 +0000, John Doe wrote:

What is the best solution to get it working ?

Lpr ? Apsfilter ? CUPS ?

Once you have a spool established on the machine to which it is attached,
lpd just doesn't care . . . and all you need to know about lpd is
in the handbook under Advanced Printing.

Forgot to mention it is attached to a router not a host.
So i guess it depends on the routers capabilities - right ?
It works fine with XP boxes though they need software installed to get
them going.

Okay, it's a router. Does it just say "ROUTER" on it, or is there a
brand and model that can be researched on the web? Do you have the
manual? Does it support lpd or port 9100? The XP software--does it
just say "SOFTWARE", or does it have a name that gives a clue to what it
does or can be researched on the web? Do you have the manual?

You may find a common theme in the paragraph above.

XP can send lpr print jobs natively, so the software is unlikely to be
that unless it's generic software that makes sure lpr is available for
any version of Windows. Before Windows 2000, Windows didn't do lpr,
because that would be useful and so could be sold as an add-on or
"business" version.

--
Warren Block * Rapid City, South Dakota * USA
Back to top
jpd
*nix forums Guru


Joined: 22 Feb 2005
Posts: 877

PostPosted: Tue Jul 18, 2006 8:31 am    Post subject: Re: Printing to remote print server attached via USB Reply with quote

Begin <R_%ug.41530$OT.26293@newsfe6-win.ntli.net>
On 2006-07-18, John Doe <john@does.com> wrote:
Quote:
Forgot to mention it is attached to a router not a host.
So i guess it depends on the routers capabilities - right ?

You're now also expecting `host-type' capabilities from what you say
is a router. FreeBSD does not care whether it forwards packets or
not. Other systems might differ. From an administrative point of view
it is generally considered better to concentrate on having things be
`clients', `servers', and `routers' (or `router/firewalls', or something
like that) and try and not mix them up too much.


Quote:
It works fine with XP boxes though they need software installed to get
them going.

Ah, magic but otherwise unspecified software glue. Well, it is true that
windows boxes have this habit of needing drivers client side even if the
printer is somewhere else and attached to something else.

Unix boxes generally expect their printers to be postscript capable. If
it isn't, a simpler way to fix it is by prepending a printer server that
takes the postscript printjobs coming in from the network and translates
them to whatever it is that the printer wants to have, instead of doing
that on every single host on the network.

Ghostscript can be used for translating postscript into whatever else
the printer prefers. I personally prefer to forego all this and just
make sure the printer does understand postscript. After all, the clients
are likely to outnumber the printers on the network. And not needing
an extra step in the print processing is a bonus.


--
j p d (at) d s b (dot) t u d e l f t (dot) n l .
This message was originally posted on Usenet in plain text.
Any other representation, additions, or changes do not have my
consent and may be a violation of international copyright law.
Back to top
John Doe
*nix forums addict


Joined: 26 Mar 2005
Posts: 85

PostPosted: Tue Jul 18, 2006 7:22 am    Post subject: Re: Printing to remote print server attached via USB Reply with quote

Dr. R. E. Hawkins wrote:
Quote:
On Mon, 17 Jul 2006 22:58:17 +0000, John Doe wrote:

What is the best solution to get it working ?

Lpr ? Apsfilter ? CUPS ?

Once you have a spool established on the machine to which it is attached,
lpd just doesn't care . . . and all you need to know about lpd is
in the handbook under Advanced Printing.

hawk

Forgot to mention it is attached to a router not a host.
So i guess it depends on the routers capabilities - right ?
It works fine with XP boxes though they need software installed to get
them going.

Cheers

Steven
Back to top
Dr. R. E. Hawkins
*nix forums addict


Joined: 23 Jun 2006
Posts: 55

PostPosted: Tue Jul 18, 2006 1:01 am    Post subject: Re: Printing to remote print server attached via USB Reply with quote

On Mon, 17 Jul 2006 22:58:17 +0000, John Doe wrote:

Quote:
What is the best solution to get it working ?

Lpr ? Apsfilter ? CUPS ?

Once you have a spool established on the machine to which it is attached,
lpd just doesn't care . . . and all you need to know about lpd is
in the handbook under Advanced Printing.

hawk
Back to top
John Doe
*nix forums addict


Joined: 26 Mar 2005
Posts: 85

PostPosted: Mon Jul 17, 2006 9:58 pm    Post subject: Printing to remote print server attached via USB Reply with quote

What is the best solution to get it working ?

Lpr ? Apsfilter ? CUPS ?

Cheers

Steven
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 Posts] View previous topic :: View next topic
The time now is Fri Nov 21, 2008 5:33 pm | All times are GMT
navigation Forum index » *nix » BSD » FreeBSD
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Transfer qmail email account to postfix server tallman Postfix 0 Thu Jun 05, 2008 12:43 pm
No new posts Unable to print PDF only. subhankar RedHat 0 Mon May 05, 2008 9:08 am
No new posts Postfix sending problem for local domain remote email monkey_magix Postfix 0 Mon Sep 10, 2007 10:17 am
No new posts NFS server on Solaris 10 gurgle Solaris 0 Tue Sep 04, 2007 7:05 pm
No new posts Help required for configuring the VPN Server in Linux SHERDIL security 0 Sun Nov 19, 2006 2:22 pm

Ethical hacking tool kit | Xbox Mod Chip | Computers 2007 | Loans | Online Advertising
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3709s ][ Queries: 20 (0.2685s) ][ GZIP on - Debug on ]