System default printer

Tomas Rett rett at chmi.cz
Fri Oct 24 07:57:58 BST 2003


Hi listers !

I have Linux 2.4.21-0.13mdk Mandrake 9.1.

I set up one printer as DEFAULT in CUPS via PrinterDrake, tested it on 
the http://localhost:631/printers page and everything is correct. The 
other printer I have is also configured correctly and prits.

But lpstat -t command shows that the second printers is "the default 
destination" and the "lp" command without specifiying the destination 
prints on this second printer.

How can I tell the lpstat and lp to accept the CUPS setting ?

Tom


P.S.

This is the lpstat -t output:

[rett at cps-rett /etc/init.d]$ lpstat -t
scheduler is running
system default destination: LJ4V           <-- this value must be LJ6L
device for LJ4V: socket://192.168.108.7:9100/
device for LJ6L: smb://SOI/ZORKA/LJ6L
LJ4V accepting requests since Jan 01 00:00
LJ6L accepting requests since Jan 01 00:00
printer LJ4V is idle.  enabled since Jan 01 00:00
printer LJ6L is idle.  enabled since Jan 01 00:00

and the /etc/cups/printers.conf which correctly shows the CUPS default 
printer is:

[root at cps-rett /etc/cups]# cat printers.conf
# Printer configuration file for CUPS v1.1.19
# Written by cupsd on Fri Oct 24 06:43:26 2003
<Printer LJ4V>
Info
Location
DeviceURI socket://192.168.108.7:9100
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<DefaultPrinter LJ6L>         <-- this is correct
Info
Location
DeviceURI smb://rett:rett2003@SOI/ZORKA/LJ6L
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>


___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list