Re: Solved: FreeBSD as print server w/CUPS + samba + apsfilter

From: Rob (stopspam_at_users.sourceforge.net)
Date: 05/25/04

  • Next message: Doug Poland: "Re: Invalid partition table after sysinstall modifications"
    Date: Tue, 25 May 2004 11:59:14 +0900
    To: freebsd-questions@freebsd.org
    
    

    Mike wrote:
    > Greetings:
    >
    > This post is a result of 2 days of thrashing trying to get FreeBSD (4.9)
    > to act as a print server to Win2K/XP clients. I have included links to
    > a how-to that I wrote that includes a full install and configuration of
    > CUPS and Samba so that local (connected to server) printers print
    > locally, and so that that local printer(s) can then be shared (served)
    > as network printer amongst Windows 2k/XP clients.

    Why using for Samba for this?

    Win2K/XP can print over the ipp port, which is the native way of
    operation for CUPS.

    I have an HP LaserJet 4V attached to my FreeBSD 4-Stable PC.
    This printer is configured with the ipp protocol (I did
    configuration with the CUPS web interface; very easy to use!).

    The only file that I had to manually modify was

       /usr/local/etc/cups/cupsd.conf

    There I have a section:

       <Location />
       Order Deny,Allow
       Deny From All
       Allow From 127.0.0.1
       Allow From a.b.c.d/n
       </Location>

    Where a.b.c.d/n is the usual ip/mask that allows people on that
    network to use the printer.

    Don't forget to open your firewall for the ipp print connection,
    something like

       ipfw add allow log tcp from a.b.c.d/n to me ipp via rl0

    Rob.

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Doug Poland: "Re: Invalid partition table after sysinstall modifications"

    Relevant Pages

    • Re: Accessing printer connected to ethernet print server
      ... The print server on this thing supports both IPP and LPR protocols. ... but HP Laserjet 1012 is not a choice. ... "Control file sent successfully". ...
      (comp.sys.mac.printing)
    • Re: Departmental printing - LPD or CUPS?
      ... client to be its own print server that's fine, ... popping up as alternative print queues. ... the print server should advertise its queues. ... but it needs care in its configuration. ...
      (uk.comp.os.linux)
    • Re: Cups doesnt end print jobs.
      ... The network print server is using an implementation of IPP. ... 'job-state' attribute included in the reply or else the job-state is ... replacing 'theprintserver' with the ...
      (Fedora)
    • Re: Export and Import Printer configuration
      ... that acts as a print server with the printer physically connected to it (e.g ... Say I have 5 other computers on the LAN, ... I haven't done manual configuration for a long time, ... IPP is Internet Printing Protocol. ...
      (Fedora)
    • Re: SBS2003 Ip conflict with a printer & copier
      ... R-click Reservations and add a new reservation for that IP address, using the printer's MAC address from the configuration sheet. ... Do whatever you do to cause the printer to renew its DHCP lease, and it should renew with the IP you selected. ... The Canon should not be effected by this if it's using a static IP, and if for some reason it resets to use DHCP, it'll get the correct IP. ... printer is an USB HP printer with an attached print server. ...
      (microsoft.public.windows.server.sbs)