[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cups - printing to another machine



OK, I changed /etc/cupsys/cupsd.conf 



order deny,allow
deny from all
allow from localhost
allow from machine1

nothing happened.
then I changed

order allow,deny
#deny from all
allow from localhost
allow from machine1

Now I can print from Win2000 on vmware to machine2 but
I cannot print via

from machine1 (where I am printing from)

lp -d Laserjet test.txt

cat error_log
I [26/Apr/2002:11:17:41 -0500] Job 7 queued on 'Laserjet' by 'root'.

cat accces.log
127.0.0.1 - - [26/Apr/2002:11:17:41 -0500] "POST / HTTP/1.1" 200 136
127.0.0.1 - - [26/Apr/2002:11:17:41 -0500] "POST / HTTP/1.1" 200 136
127.0.0.1 - - [26/Apr/2002:11:17:41 -0500] "POST / HTTP/1.1" 200 76
127.0.0.1 - - [26/Apr/2002:11:17:41 -0500] "POST /printers/Laserjet HTTP/1.1" 200 263



No log entries from machine2 and no activity from the printer on machine2


machine1

lpstat -v
device for DeskJet: parallel:/dev/lp0
device for Laserjet: ipp://machine2/printers/Laserjet
buddha:~# lpstat -t
scheduler is running
system default destination: DeskJet
device for DeskJet: parallel:/dev/lp0
device for Laserjet: ipp://machine2/printers/Laserjet
DeskJet accepting requests since Jan 01 00:00
Laserjet accepting requests since Jan 01 00:00
printer DeskJet is idle.  enabled since Jan 01 00:00
printer Laserjet now printing Laserjet-4.  enabled since Jan 01 00:00
DeskJet-2               root              1024   Fri Apr 26 10:45:46 2002
Laserjet-4              root              1024   Fri Apr 26 10:46:54 2002

Lance








> On  0, Lance Hoffmeyer <lance@augustmail.com> wrote:
> > How do I setup cups on machine1 to print on machine2?
> > 
> > Machine2 is setup with cups and I can print on it.
> > 
> > 
> > I have tried the following from machine1 thinking that cups has builtin http support:
> > 
> > lpadmin -p Laserjet -v ipp://machine2/printers/Laserjet (from the docs)
> > lpadmin -p Laserjet -v http://machine2/printers/Laserjet (from the docs)
> > 
> > but this does not work.  I have these two machines connected via a hub with nfs.
> 
> What you have tried is correct.  How have you set up the permissions
> on machine2?  Have you allowed machine1 to connect, or do you have
> this sort of access control section:
> 
> order deny,allow
> deny from all
> allow from localhost
> 
> ?
> 
> Tom
> -- 
> Tom Cook
> Information Technology Services, The University of Adelaide
> 
> "That you're not paranoid does not mean they're not out to get you."
> 	- Robert Waldner
> 
> Get my GPG public key: https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au



-- 

                                Lance Hoffmeyer
                              lance@augustmail.com

-------------------------------------------------------------------------------
The propagandist's purpose is to make one set of people forget that certain other
                            sets of psople are human
                                       -
                                 Aldous Huxley


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: