Re: cups printer stopped printing locally

2009-02-21 Thread Seb
On Sat, 21 Feb 2009 20:17:28 +0100,
Jan De Luyck  wrote:

> On Saturday 21 February 2009 19:28:30 Seb wrote:
>> Hi,

>> Since the recent CUPS package (1.3.9-14) upgrade in sid, a Samsung
>> ML-1740 stopped printing from the local machine.  Let me explain.

> I have no idea if it's the same issue, but since that package upgrade,
> my printed only the raw PS output instead of the actual
> documents. Reverting to the version in Lenny (1.3.8-1lenny4.1) made
> mine work again. Worth a shot?

Thanks Jan, looks like my previous message crossed yours!  If it didn't
make it yet, I said there that I eventually found a solution by
installing package splix.  It actually has a driver for this particular
model.  I'm still baffled though because the printer printed fine from
other computers in the network except localhost.  But it doesn't matter
anymore in my case because package splix made it print fine both from
localhost and elsewhere in the network.


-- 
Seb


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: cups printer stopped printing locally

2009-02-21 Thread Jan De Luyck
On Saturday 21 February 2009 19:28:30 Seb wrote:
> Hi,
>
> Since the recent CUPS package (1.3.9-14) upgrade in sid, a Samsung
> ML-1740 stopped printing from the local machine.  Let me explain.

I have no idea if it's the same issue, but since that package upgrade, my 
printed only the raw PS output instead of the actual documents. Reverting to 
the version in Lenny (1.3.8-1lenny4.1) made mine work again. Worth a shot?

-- 
Qual é o cúmulo da burrice?

R.: Ser reprovado no exame de fezes.


--
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: cups printer stopped printing locally

2009-02-21 Thread Seb
I just solved the problem.  It appears the driver for the ML-1750 no
longer works with ML-1740.  The solution for was to use package splix,
which provides a driver for this exact model, among many others.  I
probably should have been using this from the beginning.



On Sat, 21 Feb 2009 12:28:30 -0600,
Seb  wrote:

> Hi, Since the recent CUPS package (1.3.9-14) upgrade in sid, a Samsung
> ML-1740 stopped printing from the local machine.  Let me explain.

> - I've had 2 printers in my local machine managed through CUPS: the
> model above, and a Canon PIXMA MP150.  Both printers set up in CUPS to
> be shared across my home network, and were working perfectly for
> years, printing from any computer in the network.  When adding the
> Samsung printer to the CUPS server, there wasn't an option for a
> driver for this exact model, but the one for ML-1750 worked without
> problems.  For the Canon printer, I had to install the Gutenprint
> drivers (cups-driver-gutenprint) package, to make it work properly.

> - Since the upgrade, the Samsung ML-1740 no longer prints from my
> local machine, but strangely, it does print from other computers in
> the network.  The Canon printer continues to print fine from anywhere
> in the network.

> - Checking the logs, jobs sent to the Samsung ML-1740 from my local
> machine don't show any errors, but the server appears to be unable to
> determine the number of pages.  Below are log entries for a file
> printed from local machine, and from another computer in the net:

> ++--+-+--+---+---+---+
>> ID |Name |User |Size |Pages |State |Control|
> ++--+-+--+---+---+---+
Samsung-1087> fileA |netuser |2030k |1 |completed at Fri Feb 20| |
>> | | | | |15:11:09 2009 | |
> ++--+-+--+---+---+---+
Samsung-1085> fileA |localuser|2030k |Unknown|completed at Fri Feb 20| |
>> | | | | |15:07:17 2009 | |
> ++--+-+--+---+---+---+

> Does anybody have any idea what may be happening, or see the same
> problem with the same printer?  I'm copying my /etc/cups/cupsd.conf
> below, in case it's useful.  Thanks in advance.

> LogLevel warning SystemGroup lpadmin # Allow remote access Port 631
> Listen /var/run/cups/cups.sock # Enable printer sharing and shared
> printers.  Browsing On BrowseOrder allow,deny BrowseAllow all
> BrowseAddress @LOCAL DefaultAuthType Basic  # Allow shared
> printing...  Order allow,deny Allow @LOCAL   /admin> Encryption Required # Restrict access to the admin pages...
> Order allow,deny   AuthType Default
> Require user @SYSTEM # Restrict access to the configuration files...
> Order allow,denySend-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   CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class
> CUPS-Set-Default> AuthType Default Require user @SYSTEM Order
> deny,allow   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   CUPS-Authenticate-Job> Require user @OWNER @SYSTEM Order deny,allow
>   Order deny,allow  

> During the upgrade I chose to rewrite the configuration file, and
> diff'ing them:

> *** cupsd.conf 2009-02-17 10:40:19.0 -0600 ---
> cupsd.conf.dpkg-old 2008-03-29 16:48:55.0 -0500
> *** *** 10,29  BrowseAddress @LOCAL DefaultAuthType
> Basic  !  # Allow shared printing...  Order allow,deny !
> Allow @LOCAL   !  Encryption Required !  #
> Restrict access to the admin pages...  Order allow,deny 
>  AuthType Default Require user @SYSTEM !  #
> Restrict access to the configuration files...  Order allow,deny
>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> --- 10,30  BrowseAddress @LOCAL
> DefaultAuthType Basic  !  # Allow shared printing and
> remote administration...  Order allow,deny !  Allow all 
>  !  # Allow remote administration...  Order
> allow,deny + Allow all   AuthType
> Default Require user @SYSTEM !  # Allow remote access to the
> configuration files...  Order allow,deny + Allow all 
>   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>


-- 
Seb


-- 
To UNSUBSCRIBE, email to debian-amd64-r

cups printer stopped printing locally

2009-02-21 Thread Seb
Hi,

Since the recent CUPS package (1.3.9-14) upgrade in sid, a Samsung
ML-1740 stopped printing from the local machine.  Let me explain.

- I've had 2 printers in my local machine managed through CUPS: the
  model above, and a Canon PIXMA MP150.  Both printers set up in CUPS to
  be shared across my home network, and were working perfectly for
  years, printing from any computer in the network.  When adding the
  Samsung printer to the CUPS server, there wasn't an option for a
  driver for this exact model, but the one for ML-1750 worked without
  problems.  For the Canon printer, I had to install the Gutenprint
  drivers (cups-driver-gutenprint) package, to make it work properly.

- Since the upgrade, the Samsung ML-1740 no longer prints from my local
  machine, but strangely, it does print from other computers in the
  network.  The Canon printer continues to print fine from anywhere in
  the network.

- Checking the logs, jobs sent to the Samsung ML-1740 from my local
  machine don't show any errors, but the server appears to be unable to
  determine the number of pages.  Below are log entries for a file
  printed from local machine, and from another computer in the net:

++--+-+--+---+---+---+
|ID  |Name  |User |Size  |Pages  |State  |Control|
++--+-+--+---+---+---+
|Samsung-1087|fileA |netuser  |2030k |1  |completed at Fri Feb 20|   |
||  | |  |   |15:11:09 2009  |   |
++--+-+--+---+---+---+
|Samsung-1085|fileA |localuser|2030k |Unknown|completed at Fri Feb 20|   |
||  | |  |   |15:07:17 2009  |   |
++--+-+--+---+---+---+

Does anybody have any idea what may be happening, or see the same
problem with the same printer?  I'm copying my /etc/cups/cupsd.conf
below, in case it's useful.  Thanks in advance.

------
LogLevel warning
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress @LOCAL
DefaultAuthType Basic

  # Allow shared printing...
  Order allow,deny
  Allow @LOCAL


  Encryption Required
  # Restrict access to the admin pages...
  Order allow,deny


  AuthType Default
  Require user @SYSTEM
  # Restrict access to the configuration files...
  Order allow,deny


  
Require user @OWNER @SYSTEM
Order deny,allow
  
  
AuthType Default
Require user @SYSTEM
Order deny,allow
  
  
AuthType Default
Require user @SYSTEM
Order deny,allow
  
  
Require user @OWNER @SYSTEM
Order deny,allow
  
  
Order deny,allow
  

------

During the upgrade I chose to rewrite the configuration file, and
diff'ing them:

------
*** cupsd.conf  2009-02-17 10:40:19.0 -0600
--- cupsd.conf.dpkg-old 2008-03-29 16:48:55.0 -0500
***
*** 10,29 
  BrowseAddress @LOCAL
  DefaultAuthType Basic
  
!   # Allow shared printing...
Order allow,deny
!   Allow @LOCAL
  
  
!   Encryption Required
!   # Restrict access to the admin pages...
Order allow,deny
  
  
AuthType Default
Require user @SYSTEM
!   # Restrict access to the configuration files...
Order allow,deny
  
  

--- 10,30 
  BrowseAddress @LOCAL
  DefaultAuthType Basic
  
!   # Allow shared printing and remote administration...
Order allow,deny
!   Allow all
  
  
!   # Allow remote administration...
Order allow,deny
+   Allow all
  
  
AuthType Default
Require user @SYSTEM
!   # Allow remote access to the configuration files...
Order allow,deny
+   Allow all
  
  

------



Cheers,

-- 
Seb


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org