[cups] Unable to select a workstation printer driver for network raw printer

Gene Heskett gheskett at shentel.net
Fri Aug 8 09:53:41 PDT 2014


On Friday 08 August 2014 05:11:20 John Lawton did opine
And Gene did reply:
> Hi Gene,
> 
> here is the printers.conf file on my workstation:
> 
> # Printer configuration file for CUPS
> v1.7.2
> 
> # Written by
> cupsd
> 
> # DO NOT EDIT THIS FILE WHEN CUPSD IS
> RUNNING
> 
> <DefaultPrinter
> Dell-Color-Laser-1320c>
> 
> UUID
> urn:uuid:9686509f-b1ef-3f4c-4532-9ef49c8ecc4c
> 
> AuthInfoRequired
> none
> 
> Info Dell Color Laser
> 1320c
> 
> Location
> 192.168.0.100
> 
> DeviceURI
> ipp://192.168.0.100:631/printers/Dell_Color_Laser_1320c
> 
> PPDTimeStamp
> *
> 
> State
> Idle
> 
> StateTime
> 1407409902
> 
> Type
> 6
> 
> Accepting
> Yes
> 
> Shared
> No
> 
> ColorManaged
> Yes
> 
> JobSheets none
> none
> 
> QuotaPeriod
> 0
> 
> PageLimit
> 0
> 
> KLimit
> 0
> 
> OpPolicy
> default
> 
> ErrorPolicy
> retry-job
> 
> Option cups-browsed
> true
> 
> </Printer>
> 
> What I need to do is make this workstation use a PPD driver file when
> sending to this Samba printer. At the moment it sends raw data, so it
> fails to work.
> 
Now, I'd call lathe.coyote.den a "workstation".
That machines printers.conf:

# Printer configuration file for CUPS v1.4.3
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING

Is a null file, yet I have printed a linuxcnc related 12 page, landscape 
mode file at least 4 times this morning, 2 of which wasted paper because 
you don't spell landscaoe like that. :) So those 2 printouts were done in 
portrait mode, somewhat worthless because of the line lengths involved.

# Printer configuration file for CUPS v1.4.3
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer BROTHEHL2140>
Info BROTHER HL-2140
Location coyote.coyote.den
MakeModel Brother HL-2140 Foomatic/hpijs-pcl5e (recommended)
DeviceURI usb://Brother/HL-2140%20series
State Idle
StateTime 1406987722
Type 8433684
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 100 foomatic-rip
Filter application/vnd.cups-pdf 0 foomatic-rip
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
AllowUser gene
OpPolicy default
ErrorPolicy retry-job
Option fitplot true
Option orientation-requested 3
</Printer>
<DefaultPrinter Brother_HL-3170CDW_series>
Info Brother HL-3170CDW series
Location Local Printer
MakeModel Brother HL-3170CDW series CUPS
DeviceURI dnssd://Brother%20HL-3170CDW%20series._printer._tcp.local/
State Idle
StateTime 1378315791
Reason toner-low-report
Type 8392780
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 0 brother_lpdwrapper_hl3170cdw
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
Attribute marker-colors 
\#000000,#00FFFF,#FF00FF,#FFFF00,none,none,none,none,none,none
Attribute marker-levels -1,-1,-1,-1,-1,97,95,95,95,95
Attribute marker-names Black Toner Cartridge,Cyan Toner Cartridge,Magenta 
Toner Cartridge,Yellow Toner Cartridge,Waste Toner Box,Belt Unit,Black 
Drum Unit,Cyan Drum Unit,Magenta Drum Unit,Yellow Drum Unit
Attribute marker-types 
toner,toner,toner,toner,wasteToner,other,opc,opc,opc,opc
Attribute marker-change-time 1378315791
</Printer>
<Printer Cups-PDF>
Info Cups-PDF
Location coyote.coyote.den
MakeModel Generic CUPS-PDF Printer
DeviceURI cups-pdf:/
State Idle
StateTime 1341340880
Type 8450124
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-pdf 0 -
Filter application/vnd.cups-postscript 100 -
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer EPSON-Epson-Stylus-NX510>
Info EPSON Epson Stylus NX510
Location coyote.den
MakeModel Epson Stylus NX515 - CUPS+Gutenprint v5.2.5 Simplified
DeviceURI usb://EPSON/Stylus%20NX510?serial=4C454C593037313524&interface=1
State Stopped
StateMessage Unplugged or turned off
StateTime 1407245740
Reason paused
Type 8425484
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-raster 100 rastertogutenprint.5.2
Filter application/vnd.cups-command 33 commandtoepson
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
<Printer HL-3170CDW-series>
Info Brother HL-3170CDW series
Location coyote
MakeModel Brother HL-3170CDW series CUPS
DeviceURI usb://Brother/HL-3170CDW%20series?serial=U63478A3J114945
State Idle
StateTime 1404848219
Type 8392780
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 0 brother_lpdwrapper_hl3170cdw
Filter application/vnd.cups-command 0 commandtops
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
<Printer HL3170CDW>
Info HL3170CDW
Location coyote.den
MakeModel Brother HL-3170CDW series CUPS
DeviceURI dnssd://Brother%20HL-3170CDW%20series._pdl-
datastream._tcp.local/
State Idle
StateTime 1407341968
Reason toner-low-report
Type 8392780
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 0 brother_lpdwrapper_hl3170cdw
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
Attribute marker-colors 
\#000000,#00FFFF,#FF00FF,#FFFF00,none,none,none,none,none,none
Attribute marker-levels -1,-1,-1,-1,-1,92,85,85,85,85
Attribute marker-names Black Toner Cartridge,Cyan Toner Cartridge,Magenta 
Toner Cartridge,Yellow Toner Cartridge,Waste Toner Box,Belt Unit,Black 
Drum Unit,Cyan Drum Unit,Magenta Drum Unit,Yellow Drum Unit
Attribute marker-types 
toner,toner,toner,toner,wasteToner,other,opc,opc,opc,opc
Attribute marker-change-time 1407341968
</Printer>

Maybe there is a clue in that.  One thing is for sure, Samba, with its 
funkity windows legacy stuff, is NOT involved.  I haven't had an active 
Samba share of any kind in 3 or 4 years, I simply got tired of the 
constant headaches.  Using cups's networking facilities Just Works(TM).

Perhaps Samba has a lock on the printer on the server?

Something sure is messed up, install or ?? unk.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS



More information about the cups mailing list