Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] unable to print with xerox phaser 3116
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sing_ecgroup
n00b
n00b


Joined: 09 Aug 2007
Posts: 22

PostPosted: Sat Aug 11, 2007 6:29 am    Post subject: Reply with quote

Since I have not setup any X windows, so I can't use the print manager in kde or gnome..

I would like to know how to get the printer name for the lpr command?

Here is the backend of CUPS.
Code:
ls /usr/libexec/cups/backend/
beh  http  ipp  lpd  parallel  scsi  serial  smb  snmp  socket  usb


and I have already put the ppmtospl2 to the correct filter place
Code:
locate ppmtospl2
/usr/libexec/cups/filter/ppmtospl2
/root/Xerox/bin/Linux/x86/filters/ppmtospl2
/root/Xerox/bin/Linux/ppc/filters/ppmtospl2


cups can access and call to the ppmtospl2 without any error, at least no error return as the last the error_log I posted.


I will try to emerge the ghostscript-esp and see if it really solve the problem.
I will let you know the result later as I can't access to the printer right now.

Thank you for your help.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Sat Aug 11, 2007 8:58 am    Post subject: Reply with quote

Quote:
[quote="sing_ecgroup"]Since I have not setup any X windows, so I can't use the print manager in kde or gnome..

I would like to know how to get the printer name for the lpr command?


I think that it should be xerox. Whatever name you added to cups, that's the name of the printer.

Quote:
Here is the backend of CUPS.
Code:
ls /usr/libexec/cups/backend/
beh  http  ipp  lpd  parallel  scsi  serial  smb  snmp  socket  usb


In my case I have
Code:
ls /usr/libexec/cups/backend/
beh  canon  epson  hp  http  ipp  lpd  parallel  scsi  serial  snmp  socket  usb


Quote:

and I have already put the ppmtospl2 to the correct filter place
Code:
locate ppmtospl2
/usr/libexec/cups/filter/ppmtospl2
/root/Xerox/bin/Linux/x86/filters/ppmtospl2
/root/Xerox/bin/Linux/ppc/filters/ppmtospl2



Now this is weird. I don't have anything under /root related to the printer.
Back to top
View user's profile Send private message
sing_ecgroup
n00b
n00b


Joined: 09 Aug 2007
Posts: 22

PostPosted: Mon Aug 13, 2007 4:31 am    Post subject: Reply with quote

I have emerge the app-text/ghostscript-esp 8.15.4 as I just can't emerge the 8.15.3, but with no luck.

The reason why there is ppmtospl2 under /root is because I untar the files under root folder.

And then I tried to use the Samsung MF-1410 ppd from the foomatic again ( I have tried 1410, 1450, 1610 before), but luck back to me again. I can print with the MF-1410! I think it maybe related to ghostscript-esp, as I have not change much of the setting. And for the backend issue, the CUPS just using the usb backend straightly, so I think it maybe really the program of Xerox ppd file.

Please try to use the MF-1410 ppd and I think you can your Xerox printer. :)
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Mon Aug 13, 2007 9:49 am    Post subject: Reply with quote

sing_ecgroup wrote:
I have emerge the app-text/ghostscript-esp 8.15.4 as I just can't emerge the 8.15.3, but with no luck.

The reason why there is ppmtospl2 under /root is because I untar the files under root folder.

And then I tried to use the Samsung MF-1410 ppd from the foomatic again ( I have tried 1410, 1450, 1610 before), but luck back to me again. I can print with the MF-1410! I think it maybe related to ghostscript-esp, as I have not change much of the setting. And for the backend issue, the CUPS just using the usb backend straightly, so I think it maybe really the program of Xerox ppd file.

Please try to use the MF-1410 ppd and I think you can your Xerox printer. :)


Here is what I have
Code:
ls /usr/local/linuxprinter/ppd/C/
CLP-300splc.ppd  ML-1210spl.ppd  ML-1450spl.ppd   ML-1740spl2.ppd  ML-2250spl2.ppd   ML-3560spl2.ppd  cms
CLP-500splc.ppd  ML-1430spl.ppd  ML-1510spl2.ppd  ML-1750spl2.ppd  ML-2550Sps.ppd    ML-6060pcl.ppd
CLP-510splc.ppd  ML-1440spl.ppd  ML-1520spl2.ppd  ML-2010spl2.ppd  ML-2550Sspl2.ppd  ML-6060ps.ppd
CLP-550ps.ppd    ML-1450pcl.ppd  ML-1610spl2.ppd  ML-2150ps.ppd    ML-2550ps.ppd     ML-7300pcl.ppd
CLP-600splc.ppd  ML-1450ps.ppd   ML-1710spl2.ppd  ML-2150spl2.ppd  ML-2560ps.ppd     ML-7300ps.ppd


AND

Code:
locate ML-1410
/usr/share/ppd/Samsung/Samsung-ML-1410-gdi.ppd
/usr/share/ppd/Samsung/Samsung-ML-1410-gdi.ppd.gz


Did you ran the setup.sh script? In my case it installed in /usr/local/linuxprinting but the samsung ML-1410 appears in other place. I think I have a mismatch of places and not sure where exactly the files should be.

I have app-text/ghostscript-esp 8.15.3 installed, the stable version.
I will try also the unstable version as long as it will work.
I will be probably next week to check the printer.
Back to top
View user's profile Send private message
sing_ecgroup
n00b
n00b


Joined: 09 Aug 2007
Posts: 22

PostPosted: Mon Aug 13, 2007 5:43 pm    Post subject: Reply with quote

I did not run the setup.sh script, actually my ML-1410 ppd is provided by the foomatic package, not the one on Samsung website.

You can copy the ppd to /usr/share/cups/model/ and then create the printer by using that Samsung ML 1410 ppd.

Please have a try and let me know the result.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Mon Aug 13, 2007 10:44 pm    Post subject: Reply with quote

sing_ecgroup wrote:
I did not run the setup.sh script, actually my ML-1410 ppd is provided by the foomatic package, not the one on Samsung website.

You can copy the ppd to /usr/share/cups/model/ and then create the printer by using that Samsung ML 1410 ppd.

Please have a try and let me know the result.


Thanks for all the tips. I went by the book and tried with the script and all the instructions that xerox gave in their README.

I will check it next week and tell you. I really want to solve it.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Sun Aug 19, 2007 11:56 am    Post subject: Reply with quote

sing_ecgroup wrote:
I did not run the setup.sh script, actually my ML-1410 ppd is provided by the foomatic package, not the one on Samsung website.

You can copy the ppd to /usr/share/cups/model/ and then create the printer by using that Samsung ML 1410 ppd.

Please have a try and let me know the result.


Finally, I managed to print. :D

Now lets get to a party. :D It was very frustating.
One weird thing that happened with cups is the following:
1. If I add printer and give a name xerox (so it will be faster if i want to do lpr -Pxerox file) it takes out an empty page.
2. However If i use "add this printer" (and the detected name of the printer, but it's a longer name) it prints without problems.

I use the same ppd as you mentioned to copy in both cases to
Code:
/usr/share/cups/model
it prints everything.

The ML-1410 was a very good hint. And I use ghostscript-esp 8.15.3.
Back to top
View user's profile Send private message
sing_ecgroup
n00b
n00b


Joined: 09 Aug 2007
Posts: 22

PostPosted: Mon Aug 20, 2007 11:11 am    Post subject: Reply with quote

queen wrote:

One weird thing that happened with cups is the following:
1. If I add printer and give a name xerox (so it will be faster if i want to do lpr -Pxerox file) it takes out an empty page.
2. However If i use "add this printer" (and the detected name of the printer, but it's a longer name) it prints without problems.

I use the same ppd as you mentioned to copy in both cases to
Code:
/usr/share/cups/model
it prints everything.

The ML-1410 was a very good hint. And I use ghostscript-esp 8.15.3.


Well, how about use "add this printer" to create a printer and then modify it to give it a shorter name?

So now, we are quite sure that the ML-1410 ppd is the key factor for using Phaser 3116 in Gentoo environment.

I hope our experiences can help the other phaser user. :)
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Mon Aug 20, 2007 2:04 pm    Post subject: Reply with quote

sing_ecgroup wrote:
queen wrote:

One weird thing that happened with cups is the following:
1. If I add printer and give a name xerox (so it will be faster if i want to do lpr -Pxerox file) it takes out an empty page.
2. However If i use "add this printer" (and the detected name of the printer, but it's a longer name) it prints without problems.

I use the same ppd as you mentioned to copy in both cases to
Code:
/usr/share/cups/model
it prints everything.

The ML-1410 was a very good hint. And I use ghostscript-esp 8.15.3.


Well, how about use "add this printer" to create a printer and then modify it to give it a shorter name?

So now, we are quite sure that the ML-1410 ppd is the key factor for using Phaser 3116 in Gentoo environment.

I hope our experiences can help the other phaser user. :)


I tried to use modify but for some reason the name was fixed and i couldn't change it. I could change only the location and description (the 2nd and the 3rd field). I am curios if you have first option also disabled. But that's a piece of cake. I can use copy paste in the case I want to use lpr. From firefox or other application I just use print and the name is already selected. I am glad I can print. It was a real pain in the ............... ;-)

Maybe a small howto will be useful for other users. Also I think it's important that we used ML-1410 from foomatic and not from samsung web site.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum