LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-11-2022, 06:45 AM   #16
_peter
Member
 
Registered: Sep 2014
Location: paris
Distribution: slackware
Posts: 314

Rep: Reputation: Disabled

Quote:
Originally Posted by TurboBlaze View Post
Hi guys.
I can't found cndrvcups-common package in the tarball https://gdlp01.c-wss.com/gds/8/01000...m17n-10.tar.gz
He is have only /linux-UFRII-drv-v560-m17n/x64/RPM/cnrdrvcups-ufr2-uk-5.60-1.10.x86_64.rpm
But if look inside of tarball /linux-UFRII-drv-v560-m17n/Sources/cnrdrvcups-lb-5.60-1.10.tar.xz we have this sourses.
hi,
try to use the 08 source from india linux-UFRII-drv-v560-m17n-08.tar.gz
https://in.canon/en/support/0100924010
or
https://asia.canon/en/support/0100924010
it should build on Slackware64 15.0 after you install jbigkit

give thanks to slackbuilds.org, the maintainers and Slackware

incoming, allend's response may be more relevant to your issue.
 
Old 12-11-2022, 07:49 AM   #17
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 196

Rep: Reputation: Disabled
hi allend,
thanks for the trick!
BTW Avahi is

hi _peter,
I builded jbigkit-2.1-x86_64-2_SBo.tgz and try compile the same linux-UFRII-drv-v560-m17n-08.tar.gz and stack on the same error:
Code:
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
make: *** No targets specified and no makefile found. Stop.
My question is more about Canon UFR II/UFRII LT Printer Driver and compatibility with Slackware x86_64.
A new driver does not have cnrdrvcups-common-5.60, cnrdrvcups-lb-5.60 and cnrdrvcups-utility-5.60 in standard delivery by Canon.
They are must to be builded frome source /linux-UFRII-drv-v560-m17n/Sources/cnrdrvcups-lb-5.60-1.10.tar.xz
Others distro is have scripts for building Canon UFR II/UFRII LT Printer Driver, but for Slackware I don't found slackbuild.
Manual build from source via ./allgen.sh is stuck on the:
Code:
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
make: *** No targets specified and no makefile found. Stop.
I have another question. Drivers UFR II/UFRII LT for Сanon for Slackware with x86_64 arch needs in multilib (compat32) right?

BTW I don't have any issues with my Canon i-SENSYS LBP6030B and another driver UFRII LT from Canon in x86_64 arch https://gdlp01.c-wss.com/gds/0/01000...uken-18.tar.gz
 
Old 12-11-2022, 09:46 AM   #18
_peter
Member
 
Registered: Sep 2014
Location: paris
Distribution: slackware
Posts: 314

Rep: Reputation: Disabled
forgot: edit line 9 and 20 of the file allgen.sh

Quote:
Originally Posted by TurboBlaze View Post
Manual build from source via ./allgen.sh is stuck on the:
Code:
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
make: *** No targets specified and no makefile found. Stop.
Drivers UFR II/UFRII LT for Сanon for Slackware with x86_64 arch needs in multilib (compat32) right?
it works here, it should eventually work for you on Slackware64 15.0 no multilib.

Code:
     1  configure: creating ./config.status
     2  config.status: creating Makefile
     3  config.status: creating config.h
     4  config.status: executing depfiles commands
     5  configure: creating ./config.status
     6  config.status: creating Makefile
     7  config.status: creating cnjatool/Makefile
     8  config.status: creating src/Makefile
     9  config.status: creating po/Makefile.in
    10  config.status: creating config.h
    11  config.status: executing depfiles commands
    12  config.status: executing libtool commands
    13  config.status: executing default-1 commands
    14  configure: creating ./config.status
    15  config.status: creating Makefile
    16  config.status: creating config.h
    17  config.status: executing depfiles commands
    18  configure: creating ./config.status
    19  config.status: creating Makefile
    20  config.status: creating config.h
    21  config.status: executing depfiles commands
    22  configure: creating ./config.status
    23  config.status: creating Makefile
    24  config.status: creating config.h
    25  config.status: executing depfiles commands
files produced

Code:
backend:
-rwxr-xr-x 1 root root  26480 Dec 11 08:10 cnusbufr2*

rasterfilter:
-rwxr-xr-x 1 root root  31288 Dec 11 08:10 rastertoufr2*

cnjbig:
-rwxr-xr-x 1 root root  21176 Dec 11 08:10 cnjbigufr2*

Last edited by _peter; 12-11-2022 at 09:49 AM. Reason: forgot to specify edits
 
Old 12-12-2022, 12:00 PM   #19
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 196

Rep: Reputation: Disabled
Hi _peter,
thanks for your effort.
I builded cnrdrvcups-ufr2-uk-5.60-1.08-x86_64-1bl.txz
Anybody with Canon printer can test it?

Thanks.
 
Old 12-13-2022, 07:22 AM   #20
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Quote:
BTW Avahi is
I have just found that you can do discovery with
Code:
nmap --script=broadcast-dns-service-discovery
(If you have a firewall, you will need to allow UDP from and to port 5353).

This is a snippet of my output
Code:
|     631/tcp ipp
|       txtvers=1
|       qtotal=1
|       pdl=image/urf,application/octet-stream,application/vnd.brother-hbp
|       rp=ipp/port1
|       note=
|       ty=Brother MFC-J825DW
|       product=(Brother MFC-J825DW)
|       adminurl=http://BRN001BA9BBF58B.local./net/net/airprint.html
|       priority=25
|       usb_MFG=Brother
|       usb_MDL=MFC-J825DW
|       usb_CMD=HBP,BRPJL,URF
|       Color=T
|       Copies=F
|       Duplex=T
|       Scan=T
|       PaperCustom=T
|       Binary=T
|       Transparent=T
|       Address=192.168.0.5
The IPP URI can be constructed from the values of Address and rp, i.e. ipp://192.168.0.5/ipp/port1.
 
2 members found this post helpful.
Old 12-14-2022, 12:20 AM   #21
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 196

Rep: Reputation: Disabled
Canon-MF3010 does't print anything and stuck on HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
it was just cycling like it was trying to print.

/var/log/cups/error_log
Code:
D [13/Dec/2022:16:00:40 +0000] load_ppd: Loading /etc/cups/ppd/Canon-MF3010.ppd...
D [13/Dec/2022:16:00:40 +0000] load_ppd: Saving /var/cache/cups/Canon-MF3010.data...
D [13/Dec/2022:16:00:40 +0000] cupsdRegisterPrinter(p=0x56355a3892d0(Canon-MF3010))
D [13/Dec/2022:16:00:40 +0000] cupsdMarkDirty(--p--)
D [13/Dec/2022:16:00:40 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
I [13/Dec/2022:16:00:40 +0000] Partial reload complete.
D [13/Dec/2022:16:00:40 +0000] Calling FindDeviceById(cups-Canon-MF3010)
D [13/Dec/2022:16:00:40 +0000] Calling DeleteDevice(/org/freedesktop/ColorManager/devices/cups_Canon_MF3010)
D [13/Dec/2022:16:00:40 +0000] Using profile ID "Canon-MF3010-Gray..".
D [13/Dec/2022:16:00:40 +0000] Calling CreateProfile(Canon-MF3010-Gray..,temp)
W [13/Dec/2022:16:00:40 +0000] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Canon-MF3010-Gray..\' already exists
I [13/Dec/2022:16:00:40 +0000] Registering ICC color profiles for "Canon-MF3010".
D [13/Dec/2022:16:00:40 +0000] Calling CreateDevice(cups-Canon-MF3010,temp)
D [13/Dec/2022:16:00:40 +0000] Created device "/org/freedesktop/ColorManager/devices/cups_Canon_MF3010".

D [13/Dec/2022:16:01:37 +0000] CUPS-Get-Default
D [13/Dec/2022:16:01:37 +0000] [Client 67] Returning IPP successful-ok for CUPS-Get-Default (no URI) from localhost.
D [13/Dec/2022:16:01:37 +0000] [Client 67] Content-Length: 9962
D [13/Dec/2022:16:01:37 +0000] [Client 67] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [13/Dec/2022:16:01:37 +0000] [Client 67] con->http=0x56355a344d60
D [13/Dec/2022:16:01:37 +0000] [Client 67] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=9962, response=0x56355a382c60(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Dec/2022:16:01:37 +0000] [Client 67] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/Dec/2022:16:01:37 +0000] [Client 67] bytes=0, http_state=0, data_remaining=9962
D [13/Dec/2022:16:01:37 +0000] [Client 67] Flushing write buffer.
D [13/Dec/2022:16:01:37 +0000] [Client 67] New state is HTTP_STATE_WAITING
D [13/Dec/2022:16:01:37 +0000] [Client 67] Waiting for request.
--
D [13/Dec/2022:16:01:37 +0000] CUPS-Get-Printers
D [13/Dec/2022:16:01:37 +0000] [Client 67] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost.
D [13/Dec/2022:16:01:37 +0000] [Client 67] Content-Length: 1220
D [13/Dec/2022:16:01:37 +0000] [Client 67] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [13/Dec/2022:16:01:37 +0000] [Client 67] con->http=0x56355a344d60
D [13/Dec/2022:16:01:37 +0000] [Client 67] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=1220, response=0x56355a340eb0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Dec/2022:16:01:37 +0000] [Client 67] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/Dec/2022:16:01:37 +0000] [Client 67] bytes=0, http_state=0, data_remaining=1220
D [13/Dec/2022:16:01:37 +0000] [Client 67] Flushing write buffer.
D [13/Dec/2022:16:01:37 +0000] [Client 67] New state is HTTP_STATE_WAITING
D [13/Dec/2022:16:01:37 +0000] [Client 67] Waiting for request.
D [13/Dec/2022:16:01:37 +0000] cupsdSetBusyState: newbusy="Printing jobs", busy="Active clients and printing jobs"
D [13/Dec/2022:16:01:37 +0000] [Client 67] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Dec/2022:16:01:37 +0000] [Client 67] Closing connection.
D [13/Dec/2022:16:01:37 +0000] cupsdSetBusyState: newbusy="Printing jobs", busy="Printing jobs"
D [13/Dec/2022:16:01:37 +0000] cupsdSetBusyState: newbusy="Active clients and printing jobs", busy="Printing jobs"
D [13/Dec/2022:16:01:37 +0000] [Client 68] Server address is "/var/run/cups/cups.sock".
D [13/Dec/2022:16:01:37 +0000] [Client 68] Accepted from localhost (Domain)
dmesg
Code:
[    3.577463] usb 1-5: New USB device found, idVendor=04a9, idProduct=2759, bcdDevice= 1.00
[    3.577476] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.577483] usb 1-5: Product: MF3010
[    3.577487] usb 1-5: Manufacturer: Canon Inc
[    3.577492] usb 1-5: SerialNumber: 01C6G000032F
[  335.897381] usblp 1-5:1.1: usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x04A9 pid 0x2759
[  361.112232] process 'cnrsdrvufr2' launched '/usr/bin/cnjbigufr2' with NULL argv: empty string added
[  507.359033] usb 1-5: USB disconnect, device number 3
[  507.359233] usblp0: nonzero read bulk status received: -108
[  510.086590] usb 1-5: new high-speed USB device number 10 using xhci_hcd
[  510.222335] usb 1-5: New USB device found, idVendor=04a9, idProduct=2759, bcdDevice= 1.00
[  510.222339] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  510.222342] usb 1-5: Product: MF3010
[  510.222343] usb 1-5: Manufacturer: Canon Inc
[  510.222345] usb 1-5: SerialNumber: 01C6G000032F
 
Old 12-14-2022, 03:11 AM   #22
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Canon MF3010
Quote:
Standard Interface USB 2.0 Hi-Speed
being plugged to a USB 3 port
Quote:
[ 510.086590] usb 1-5: new high-speed USB device number 10 using xhci_hcd
Can you try a USB 2 port?
 
Old 12-16-2022, 02:15 AM   #23
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 196

Rep: Reputation: Disabled
In USB 2.0 port without success.
 
Old 12-16-2022, 06:12 AM   #24
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Quote:
Originally Posted by TurboBlaze View Post
In USB 2.0 port without success.
Diddums. Have you tried turning it off and on again?

Seriously, if you want help, you need to provide more detail. (What does "without success" mean here?)
The failure to work in a USB 2.0 port suggests that hardware incompatibility can be excluded, which has been reported as a problem with USB printing. (I am not a fan of USB printing. I gave up it up as a bad joke many years ago.)

The problem is more likely to be in the software stack.
Change the LogLevel to "debug" in /etc/cups/cupsd/conf, restart CUPs with '/etc/rc.d/rc.cups restart' and retry printing. Inspect the log for clues.
 
Old 02-08-2023, 08:49 PM   #25
MikeVx
Member
 
Registered: Feb 2003
Posts: 76

Rep: Reputation: 1
Printing problem solved, yay!

Quote:
Originally Posted by allend View Post
If this is a network printer, you may be able to sidestep the need to install a driver.
From local CUPS Help under "Printer Drivers and PPDs":

The trick is knowing what to use for the IPP URI. This is discoverable by Multicast DNS and DNS Service Discovery, but this is not available in stock Slackware. (CUPS can do it but requires Avahi support.)
A web search suggests that Canon might use ipp://<ip address>/ipp.
Perhaps the output from 'ipptool -tv ipp://<ip address>//ipp/ ipp-everywhere.test | grep printer-uri-supported' would be informative.

PS - This driverless printing stuff is new to me, but I have been curious ever since i saw my iPhone seamlessly print to my network printer. I recently tried it in a fresh stock Slackware64-15.0 install and it worked perfectly with my Brother MFC-J825DW device for printing, leaving a .ppd file in /etc/cups/ppd/. (Scanning is another kettle of fish.)
Thank you for solving my problem.

Apparently quoting here doesn't do nesting. The command you provided, with adjustments for queue name and DNS name on my network, worked as-is on my Brother HL-L3290CDW.
I had installed Slackware64-15, and my printer, which had previously functioned perfectly on Slackware 14.2, would not print, or to be precise, CUPS would not send it jobs. I could print from my work tablet, or from a Windows VM on the same system that CUPS would not work on, but not through CUPS. I created the queue with your example command and I am printing now. Happy, happy! Joy, joy!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Package from slackware64-current tb75252 Slackware 5 05-31-2016 01:24 PM
[SOLVED] Snort-2.9.6.0 on Slackware64-current 3rensho Linux - Software 2 03-03-2014 05:06 PM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
Updating from Slackware64-current to Slackware64 13. glore2002 Slackware 4 08-28-2009 06:50 PM
Slackware64-current on a second HD. glore2002 Slackware 7 08-23-2009 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration