You are not logged in.

#1 2020-04-29 06:24:40

K42serchen
Member
Registered: 2020-04-29
Posts: 2

CUPS only sends `lpaadmin` commandline string to printer

I set up cups and the AUR package for my printer


https://aur.archlinux.org/packages/brother-mfc-9332cdw/

the AUR package installed the files in a different location than where CUPS was trying to use them

E [28/Apr/2020:13:21:19 +0200] [Job 1] Stopping job because the scheduler could not execute a filter.
E [28/Apr/2020:13:24:02 +0200] Brother_MFC-9332CDW: File \"/usr/lib/cups/filter/brother_lpdwrapper_mfc9332cdw\" not available: No such file or directory

after i found where the AUR installed the files i symlinked them to the places where cups was expecting them.
Afterwards my errorlog from cups was empty.

The issue now is that when i submit a printjob (lpr command line or firefox print dialog) only a commandline containing
"lpaadmin ...." is printed

I enabled debug in cupsd.conf its pretty verbose but nothing indicating why my issues happens.

I use the printer as a network printer with a connection string like this
lpd://BRN3C2AF41A70A9/BINARY_P1

THe log actually mentions 2 pages

D [29/Apr/2020:08:21:48 +0200] [Job 10] Copying page 2...
D [29/Apr/2020:08:21:48 +0200] [Job 10] pagew = 588.0, pagel = 768.0
D [29/Apr/2020:08:21:48 +0200] [Job 10] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
D [29/Apr/2020:08:21:48 +0200] [Job 10] PageLeft = 12.0, PageRight = 600.0
D [29/Apr/2020:08:21:48 +0200] [Job 10] PageTop = 780.0, PageBottom = 12.0
D [29/Apr/2020:08:21:48 +0200] [Job 10] PageWidth = 612.0, PageLength = 792.0
D [29/Apr/2020:08:21:48 +0200] [Job 10] Wrote 2 pages..

but only the one with the commandline will come out.

unfortunatly search results are very cluttered with "how can i print from commandline" so I haven't been able to dig up any help.

Just found that in page_log the total number is not increasing

Brother_MFC-9332CDW k42serchen 8 [28/Apr/2020:17:22:05 +0200] total 0 - localhost CUPS/Troubleshooting - ArchWiki - -

Last edited by K42serchen (2020-04-29 06:56:52)

Offline

#2 2020-04-30 13:05:54

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: CUPS only sends `lpaadmin` commandline string to printer

The AUR package looks to be pretty old which could be the reason why it's not working?

Just checking that you specifically have the Brother MFC-9332CDW as I can't find a listing for it on openprinting.org ?
I've found https://openprinting.org/printer/Brothe … FC-9330CDW but it's classed as a "Paperweight".

When you say...

K42serchen wrote:

i symlinked them to the places where cups was expecting them

what exactly did you do and what does the cups debug log say then?

I notice there is a "brother_mfc9332cdw_printer_en.ppd" file included in the AUR package: did you use that to add the device in the CUPS web interface?

[I don't have a Brother printer].

Offline

#3 2020-05-01 19:33:44

K42serchen
Member
Registered: 2020-04-29
Posts: 2

Re: CUPS only sends `lpaadmin` commandline string to printer

Hi,

thank you for your reply.

I guess the MFC-9332CDW was only sold in germany. Yes the ppd file is entered in the printers config.

The cups debug log has only no warning or error lines.

I noticed that on another computer, ubuntu actually, the printer works without driver installation.

Maybe the driver is indeed rusty. Ill will uninstall it and try again.

Offline

Board footer

Powered by FluxBB