LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2022, 12:00 AM   #1
jiteshpandey
Member
 
Registered: Oct 2017
Posts: 58

Rep: Reputation: Disabled
Samba print without CUPS Filter support


I have my Kyocera Taskalfa printer attached with Windows 11 through Samba share, but due to the bugs/upgrade in cups as mentioned here and here the filter rastertokpsl has stopped working in my system. Now I can neither to print through samba share nor directly through usb directly. Now there are three options left with me.

1. Make my system to stick with older version of cups and all its dependency, since the main cause of filter failing is not known so the dependency should be remain same.

2. Share the files with windows and then go to that system in order to print which is very tiresome and time consuming.

3. Make the samba to print directly without using cups filters through samba share


The last one I am trying to do but the problem arising is that when I make cups to use Generic PDF Printer I print command got initiated from my system but not shown on the samba shared printed and there is no error as the print is successful according to cups.
 
Old 09-27-2022, 12:53 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,834

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Quote:
3. Make the samba to print directly without using cups filters through samba share


The last one I am trying to do but the problem arising is that when I make cups to use Generic PDF Printer I print command got initiated from my system but not shown on the samba shared printed and there is no error as the print is successful according to cups.
I'm not convinced that is a viable option. Which guide/reference are you following which suggested that sending a pdf file to the windows print subsystem would be suitable here?
 
Old 09-27-2022, 01:08 AM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,834

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Maybe Papercut Mobility Print might be a viable option for you here? I haven't tried it, but note that it is promoted as a "Free BYOD solution & Google Cloud Print alternative."

PrintFile is "a freeware utility that can act as a print spooler, watching a specified directory for files. Whenever a file appears in that directory it will automatically be printed."
https://www.lerup.com/printfile/
This might then be as simple as printing to PDF, using samba file sharing to save documents to a directory on the Windows server that is being watched for printing automatically.

There are other proprietary solutions that can be found by searching for "windows automatically print files in folder" and similar.

Last edited by ferrari; 09-27-2022 at 01:10 AM.
 
Old 09-27-2022, 06:14 AM   #4
jiteshpandey
Member
 
Registered: Oct 2017
Posts: 58

Original Poster
Rep: Reputation: Disabled
Papercut Mobility Print has a nice concept will give it a try and you know
 
Old 09-27-2022, 07:32 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,761

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
Can you print a PDF file from the command line using the samba printer?

lpr -P samba_printer some.pdf

By using your own backend it is possible to bypass cups filters. By default anything printed via the desktop is a PDF file. SuSE has some good documentation on creating your own backends.

https://github.com/jsmeix/cups-backends

I made a simple mod to the link above.
Attached Files
File Type: txt backend.txt (857 Bytes, 10 views)
 
Old 09-27-2022, 09:13 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,710

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by jiteshpandey View Post
I have my Kyocera Taskalfa printer attached with Windows 11 through Samba share, but due to the bugs/upgrade in cups as mentioned here and here the filter rastertokpsl has stopped working in my system. Now I can neither to print through samba share nor directly through usb directly. Now there are three options left with me.

1. Make my system to stick with older version of cups and all its dependency, since the main cause of filter failing is not known so the dependency should be remain same.
2. Share the files with windows and then go to that system in order to print which is very tiresome and time consuming.
3. Make the samba to print directly without using cups filters through samba share

The last one I am trying to do but the problem arising is that when I make cups to use Generic PDF Printer I print command got initiated from my system but not shown on the samba shared printed and there is no error as the print is successful according to cups.
Or how about option #4...that's a network printer. Plug it directly into your network, and tell whatever computers you want to print to it, instead of having it attached via USB??

If it's the same printer you've asked about before:
https://www.linuxquestions.org/quest...er-4175714782/
https://www.linuxquestions.org/quest...ro-4175710923/
https://www.linuxquestions.org/quest...er-4175709622/
https://www.linuxquestions.org/quest...er-4175666690/
https://www.linuxquestions.org/quest...me-4175667683/

...you've been asking about this for at least two years now, and rarely if ever follow up. Again, according to that printer's specs, it's both wired and wifi capable. Configuring a network printer is trivial, even on Windows.
 
1 members found this post helpful.
Old 09-28-2022, 11:06 AM   #7
jiteshpandey
Member
 
Registered: Oct 2017
Posts: 58

Original Poster
Rep: Reputation: Disabled
Sorry for late reply as I was busy with office work, I have been using Papercut Mobility and its working smoothly although it is having some cons like you cannot change the paper type and print type.

Dear michaelk your given script is not working directly and am working what's wrong and what you really want to achieve from it. Last TB0ne if you have seen the printer specification its only wired printer not the network, further the website even shows that it supports linux and only I know how much it does. The scanner drivers supports is buggy even the simple command likes "scanimage --help" got crashed with segmentation fault that too not only in latest version but even the versions they have recommend in there guides, there support staff is weird that the printer I have mailed them about these bugs, there reply was we will send some support staff for this which had never arrived and God know what will he do in this matter by arriving here.

Last edited by jiteshpandey; 09-28-2022 at 11:21 AM.
 
Old 09-28-2022, 11:17 AM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,710

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by jiteshpandey View Post
Sorry for late reply as I was busy with office work, I have been using Papercut Mobility and its working smoothly although it is having some cons like you cannot change the paper type and print type.

Dear michaelk your given script is not working directly and am working what's wrong and what you really want to achieve from it. Last TB0ne if you have seen the printer specification its only wired printer not the network, further the website even shows that it supports linux and only I know how much it does.
Really?? May want to inform Kyocera about that:
https://www.kyoceradocumentsolutions...taskalfa-2201/

...since they say it's wireless. And the rest of what you typed makes no sense, sorry. There is a Linux driver on their website (if you've looked, since you've had this printer for years now):
https://www.kyoceradocumentsolutions...GQTE4MDA=.html

So again: hook it up to your network (however you want to is up to you, it is both wireless and wired), and print to it. Why is that difficult???
 
Old 09-28-2022, 06:45 PM   #9
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by jiteshpandey View Post
Sorry for late reply as I was busy with office work, I have been using Papercut Mobility and its working smoothly although it is having some cons like you cannot change the paper type and print type.

Last TB0ne if you have seen the printer specification its only wired printer not the network, further the website even shows that it supports linux and only I know how much it does. The scanner drivers supports is buggy even the simple command likes "scanimage --help" got crashed with segmentation fault that too not only in latest version but even the versions they have recommend in there guides, there support staff is weird that the printer I have mailed them about these bugs, there reply was we will send some support staff for this which had never arrived and God know what will he do in this matter by arriving here.
Your initial post gives the brand but fails to give the exact model. There are a lot of different 'Kyocera Taskalfa' printers so there is no way for us to know exactly what capabilities your printer has without the precise model. Please do not object when someone comments on a detail you failed to provide. I think TbOne has found info that you may have provided on another thread that certainly would be germane here so the rest of us could have the needed info without searching elsewhere.

What model Kyocera Taskalfa printer are you using? All of us can look up the specs and make informed suggestions if we know that.

If it does have network capability then that is certainly the easiest way to set it up for access from all different OSes and you would not be concerned with printing over smb to a windows PC.
 
Old 09-28-2022, 08:50 PM   #10
jiteshpandey
Member
 
Registered: Oct 2017
Posts: 58

Original Poster
Rep: Reputation: Disabled
I am using Kyocera Taskalfa 1800, further I have intentions to hurt TB0ne, I was just clarifying why I again and again posting the same questions. If someone felt it I am very Sorry for it

Last edited by jiteshpandey; 09-28-2022 at 09:09 PM.
 
Old 09-29-2022, 07:50 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,710

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by jiteshpandey View Post
I am using Kyocera Taskalfa 1800, further I have intentions to hurt TB0ne, I was just clarifying why I again and again posting the same questions. If someone felt it I am very Sorry for it
So this is the same printer you've been asking about for over two years now. And unless you actually follow up in your threads, and take advice that you're given, why do you think your problem won't be solved?? According to the link to the Kyocera site, this is a network printer. Set it up as one, and you'll be able to actually use it as a network printer. You won't need Samba, have USB problems, scanning problems, etc., because you'll be using it the way it was INTENDED TO BE USED.

Otherwise, you seem to be asking how to configure a Windows 11 system to share a printer to the network...which is a Windows/Microsoft question. Which means you have to configure lpd services on the Windows system, open the Windows firewall, etc., in order for things to work. Don't want to do that, and it's only got a wired port? Then get a $20 wifi client adapter box, plug it into the printer, and MAKE it a wifi printer. If I had been messing with a printer to get it to print/scan for *TWO YEARS*, I'd certainly be trying whatever folks told me.

Last edited by TB0ne; 09-29-2022 at 08:01 AM.
 
Old 09-29-2022, 09:37 AM   #12
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by jiteshpandey View Post
I am using Kyocera Taskalfa 1800
@TBOne,
This is what I see in the specs for the TASKalfa 1800 at the Kyocera site.
Code:
Network Printing (Optional)	Port 9100, LPR (TASKalfa 1801 & 2201 only)
Clearly the 1800 is not network capable, and you really should have all the facts before you blast someone.

@jiteshpandey,
I feel the suggestion to get a network printer interface and make the printer network capable is a good one. They have printer interfaces available on ebay or newegg. A quick search on ebay for 'network print server' turns up many for about $50 or less and a similar search on newegg does the same. This one is wired or wireless ethernet. https://www.newegg.com/linksys-wps54g/p/N82E16833124042 for <$100
 
Old 09-29-2022, 10:21 AM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,710

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by computersavvy View Post
@TBOne,
This is what I see in the specs for the TASKalfa 1800 at the Kyocera site.
Code:
Network Printing (Optional)	Port 9100, LPR (TASKalfa 1801 & 2201 only)
Clearly the 1800 is not network capable, and you really should have all the facts before you blast someone.
As should you; read the OP's post in this thread (#7, I believe), where they say, "..seen the printer specification its only wired printer." The OP said it was a network printer, and had a wired interface.

From the web page linked to earlier:
Code:
INTERFACE: USB2.0 High Speed x1; 100BASE-TX/10BASE-T (Optional for TASKalfa 1801 & 2201 only)
Network is optional on the 1801 and 2201. Standard on 1800 and 2200, is how I'm reading it, although it could very well mean the opposite, the way it's written. Regardless, the OP has said it's a network printer. Given the OP's responses here, and over the past three years regarding this same printer, there's a dearth of actual information given.
Quote:
@jiteshpandey,
I feel the suggestion to get a network printer interface and make the printer network capable is a good one. They have printer interfaces available on ebay or newegg. A quick search on ebay for 'network print server' turns up many for about $50 or less and a similar search on newegg does the same. This one is wired or wireless ethernet. https://www.newegg.com/linksys-wps54g/p/N82E16833124042 for <$100
These are $29 https://www.amazon.com/gp/product/B00TQEX8BO/?th=1

Set them up in client mode. Can either have static or DHCP address on your network, and takes wired to wifi. But the OP has wifi, and after trying to get scanning/printing working for THREE YEARS, one would think just moving the printer or running a wire would be a far easier solution. And as the OP has been told, there is a full Linux driver (and Windows/Mac), for printing/scanning/faxing available from Kyocera, allowing all of this over the network.
 
Old 09-29-2022, 11:28 AM   #14
jiteshpandey
Member
 
Registered: Oct 2017
Posts: 58

Original Poster
Rep: Reputation: Disabled
The only port available in printer is the port shown in the attachment, and I dont think this is possible what tb0one is telling about. Although I don't have clear idea about it
Attached Thumbnails
Click image for larger version

Name:	1664468707811.jpg
Views:	11
Size:	48.0 KB
ID:	39646  
 
Old 09-29-2022, 11:37 AM   #15
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
From the web page linked to earlier:
Code:
INTERFACE: USB2.0 High Speed x1; 100BASE-TX/10BASE-T (Optional for TASKalfa 1801 & 2201 only)
Network is optional on the 1801 and 2201. Standard on 1800 and 2200, is how I'm reading it, although it could very well mean the opposite, the way it's written. Regardless, the OP has said it's a network printer. Given the OP's responses here, and over the past three years regarding this same printer, there's a dearth of actual information given.
I read that exactly the opposite. I took that to mean that the network interface is available for (and only optional and not standard) for the 1801 & 2201, but not available for the 1800 & 2200. 'Wired' can mean either USB or ethernet, though the OP has stated it is USB in his case.

Thus your blasting seems uncalled for.

Many times a gentle suggestion or comment is better than a blast as it keeps the tone much less abrasive. Even your reply to my post seems very excessive.

BTW, your link (https://www.amazon.com/gp/product/B00TQEX8BO/?th=1) is to a router, not a print server.
This is a print server.
https://www.amazon.com/Wireless-Netw...NsaWNrPXRydWU=

Last edited by computersavvy; 09-29-2022 at 11:51 AM.
 
  


Reply

Tags
cups-filters, printer, samba



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
Print to CUPS server fails with "/usr/lib/cups/filter/foomatic-rip failed" Aule Linux - Newbie 6 09-27-2013 09:08 AM
[SOLVED] [CUPS]. Can print from windows. But cannot print from linux cups slack32 Linux - Networking 2 02-10-2013 08:09 PM
[CUPS]. Can print from windows. But cannot print from linux cups slack32 Linux - Networking 1 02-10-2013 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:23 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