Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot print using shared printer (CUPS)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Thu Jul 08, 2010 5:54 pm    Post subject: Cannot print using shared printer (CUPS) Reply with quote

First a very basic question --
1) In the CUPS web UI, do I have to 'add' a printer to make it work? I mean, I had the pdf printer in the 'manage printer' section with the name 'PDF_printer', I could print test pages with it, but with apps like OO, an 'error' occurred.

Then I added 'PDF_printer' using that add printer section and specifying the CUPS-PDF ppd file and made a printer called 'test' which worked as expected, so IMO you have to add a printer even if it appears in the manage printer section (i.e. it is getting detected), is this true?

2) The client can see the virtual PDF printer and I can even print test pages using it (through the client); but cause of point 1, I think I need to add that network printer for real apps to work on it, but it does not get auto detected. It just give me a list of what printer is it, and a CUPS printer is not in that list.

My client.conf -

Code:
ServerName OLD_BROKEN_LAP
[/quote]

My cupsd.conf -

Code:

LogLevel info

SystemGroup lpadmin


Listen *:631
Listen /var/run/cups/cups.sock

Browsing On
BrowseOrder allow,deny
BrowseAllow all

DefaultAuthType Basic
BrowseAddress 192.168.1.2:631
BrowseAddress @LOCAL
BrowseLocalProtocols cups
BrowseRemoteProtocols cups
<Location />
  Order allow,deny
  Allow localhost
  Allow 192.168.1.2
</Location>

<Location /admin>
  Encryption Required
  Order allow,deny
  Allow localhost
</Location>

<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

<Policy default>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>

_________________
My blog


Last edited by dE_logics on Sat Jul 17, 2010 5:28 am; edited 1 time in total
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Fri Jul 09, 2010 3:08 am    Post subject: Reply with quote

Holy cow...
_________________
My blog
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sat Jul 10, 2010 4:31 pm    Post subject: Reply with quote

Looks like Gentoo users don't use much printers.
_________________
My blog
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Sat Jul 10, 2010 5:05 pm    Post subject: Reply with quote

Hi,
Did you follow this howto?
http://www.gentoo.org/doc/en/printing-howto.xml
If so did you use http://localhost:631 to config the printer?
Sometimes you may have to replace localhost with 127.0.0.1.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Mon Jul 12, 2010 12:45 pm    Post subject: Reply with quote

Yes and yes.

That Gentoo guide has a bug... but first let's fix this then I'll report it.




Just one more post......
_________________
My blog
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Tue Jul 13, 2010 4:44 pm    Post subject: Reply with quote

And ironically that was a bump...
_________________
My blog
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Thu Jul 15, 2010 12:56 pm    Post subject: Reply with quote

Ok, according to everyone, it should have worked.
_________________
My blog
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Fri Jul 16, 2010 12:54 pm    Post subject: Reply with quote

At least someone can clear the doubts (1, 2)....
_________________
My blog
Back to top
View user's profile Send private message
Inodoro_Pereyra
Advocate
Advocate


Joined: 03 Nov 2006
Posts: 2631
Location: En la otra punta del cable

PostPosted: Fri Jul 16, 2010 6:18 pm    Post subject: Reply with quote

Hi, I think you have no answers because the question is fuzzy. I readed it a couple of times and sitll don´t get it all. What are you asking about besides of the fact that you can´t print?

Post configuration files, set cups and samba in debug mode and post logs, otherwise don´t expect more than guessings.

Cheers!
_________________
Mi Blog.

Si no fuera por C, estaríamos escribiendo programas en BASI, PASAL y OBOL.
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sat Jul 17, 2010 5:28 am    Post subject: Reply with quote

Question updated.

Is it clear now?

I was wondering if it's cause of hosts.deny.
_________________
My blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum