PDA

View Full Version : [ubuntu] Photo Printer...



kamitsukai
May 28th, 2009, 04:20 PM
I bought an old Samsung SPP-2020 Digital Photo Printer on ebay the other day (absolute steal at £10.00!) but Ubuntu 8.10 doesn't recognise it as a photo printer but as a "generic printer" after it searched online for a download it failed to find one:( I've Googled but I can only find results in French and Spanish? (maybe it was more of a European release....)

Thanks in advance!

Sidewinder1
May 28th, 2009, 04:30 PM
Not to burst your bubble, but there are (not many) printers that will not work with ubuntu/linux. I've only run across one; it was a Dell Cheapie, freebie that was sold with a system. I'm thinking it was a Brother "inside".

kamitsukai
May 28th, 2009, 04:43 PM
Not to burst your bubble, but there are (not many) printers that will not work with ubuntu/linux. I've only run across one; it was a Dell Cheapie, freebie that was sold with a system. I'm thinking it was a Brother "inside".

no it's recognised and it will probably print (I don't want to waste photo paper) but clicking on the preview button before printing shows that Ubuntu doesn't understand the paper dimensions for the printer as it's only an A6 printer at the moment Ubuntu thinks it's a standard A4 text printer;)

philinux
May 28th, 2009, 04:43 PM
There are more than you think that are supported. HP being the most as HP provide linux drivers. Epson and canon aren't bad either. As long as it's not a brand new machine you have a chance.

http://openprinting.org/printer_list.cgi


You may find this driver helps.
http://openprinting.org/show_printer.cgi?recnum=Samsung-SPP-2020

kamitsukai
May 28th, 2009, 04:52 PM
There are more than you think that are supported. HP being the most as HP provide linux drivers. Epson and canon aren't bad either. As long as it's not a brand new machine you have a chance.

http://openprinting.org/printer_list.cgi


You may find this driver helps.
http://openprinting.org/show_printer.cgi?recnum=Samsung-SPP-2020

Ok thanks:D

I'm not sure on this bit though


Make sure your
CUPS is configured for use with rasterto* filters, it should be
someplace in the CUPS docs, but in short: you must use the ESP version
of ghostscript which can output with a 'cups' device (do gs -help|grep
cups if unsure), you should have /etc/cups/pstoraster.convs present
and in mime.convs the following lines should be uncommented:

application/postscript application/vnd.cups-postscript 66 pstops
application/vnd.cups-postscript application/vnd.cups-raster 100 pstoras
ter
application/octet-stream application/vnd.cups-raw 0 -


Whats it actually want me to do? and how?

kamitsukai
May 28th, 2009, 04:54 PM
and I'm getting errors when building...


carl@carl-desktop ~/Desktop/rastertospp-1.1 $ gcc -O2 -Wall -lcupsimage -o rastertospp rastertospp.c
In file included from rastertospp.c:12:
driver.h:39:25: error: cups/cups.h: No such file or directory
driver.h:40:27: error: cups/raster.h: No such file or directory
In file included from rastertospp.c:12:
driver.h:129: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
driver.h:159: error: expected ‘)’ before ‘*’ token
driver.h:193: error: expected ‘)’ before ‘*’ token
driver.h:218: error: expected ‘)’ before ‘*’ token
rastertospp.c:72: error: expected ‘)’ before ‘*’ token
rastertospp.c:75: error: expected ‘)’ before ‘*’ token
rastertospp.c:76: error: expected ‘)’ before ‘*’ token
rastertospp.c:77: error: expected ‘)’ before ‘*’ token
rastertospp.c:82: error: expected ‘)’ before ‘*’ token
rastertospp.c:118: error: expected ‘)’ before ‘*’ token
rastertospp.c:134: error: expected ‘)’ before ‘*’ token
rastertospp.c:180: error: expected ‘)’ before ‘*’ token
rastertospp.c: In function ‘main’:
rastertospp.c:209: error: ‘cups_raster_t’ undeclared (first use in this function)
rastertospp.c:209: error: (Each undeclared identifier is reported only once
rastertospp.c:209: error: for each function it appears in.)
rastertospp.c:209: error: ‘ras’ undeclared (first use in this function)
rastertospp.c:210: error: ‘cups_page_header_t’ undeclared (first use in this function)
rastertospp.c:210: error: expected ‘;’ before ‘header’
rastertospp.c:212: error: ‘ppd_file_t’ undeclared (first use in this function)
rastertospp.c:212: error: ‘ppd’ undeclared (first use in this function)
rastertospp.c:215: error: ‘cups_option_t’ undeclared (first use in this function)
rastertospp.c:215: error: ‘options’ undeclared (first use in this function)
rastertospp.c:226: warning: implicit declaration of function ‘cupsParseOptions’
rastertospp.c:227: warning: implicit declaration of function ‘ppdOpenFile’
rastertospp.c:234: warning: implicit declaration of function ‘ppdMarkDefaults’
rastertospp.c:235: warning: implicit declaration of function ‘cupsMarkOptions’
rastertospp.c:246: warning: implicit declaration of function ‘cupsRasterOpen’
rastertospp.c:246: error: ‘CUPS_RASTER_READ’ undeclared (first use in this function)
rastertospp.c:253: warning: implicit declaration of function ‘cupsRasterReadHeader’
rastertospp.c:253: error: ‘header’ undeclared (first use in this function)
rastertospp.c:259: warning: implicit declaration of function ‘StartPage’
rastertospp.c:274: warning: implicit declaration of function ‘ReadLine’
rastertospp.c:275: warning: implicit declaration of function ‘OutputLine’
rastertospp.c:281: warning: implicit declaration of function ‘EndPage’
rastertospp.c:286: warning: implicit declaration of function ‘cupsFreeOptions’
rastertospp.c:287: warning: implicit declaration of function ‘cupsRasterClose’

philinux
May 28th, 2009, 04:55 PM
Ok thanks:D

I'm not sure on this bit though



Whats it actually want me to do? and how?

That bit is just telling you to edit a file and remove the # to uncomment some lines.

philinux
May 28th, 2009, 04:58 PM
I would start a new thread.

"Help needed compiling a printer driver" or something like that.

kamitsukai
May 28th, 2009, 05:00 PM
I would start a new thread.

"Help needed compiling a printer driver" or something like that.

Ok will do:D

Thanks for your help;)

scprosser
May 28th, 2009, 05:49 PM
I have to dispute the "not many printers that will be recognized by Ubuntu/Linux" statement. I have 5 Printers (An HP LaserJet 4+, an HP PSC1300, an Epson Stylus CX4200, a New Samsung Colour Laser (Forget the Model Number) and a Canon Inkjet (Forget the model number). All of them but the Samsung and the Canon were plug and play, and the Samsung Colour Laser took less than 3 minutes to setup and get working (Google is your friend!)(the Canon STILL doesn't like me, or Linux, but I digress). A lot of people (myself included originally) cringe at setting up a printer in Linux, it used to be MURDER, but it is not the same as it used to be, it's actually quite painless nowadays. Sure, there are some that it just wont work with, but odds are, you will be pleasantly suprised.

kamitsukai
May 28th, 2009, 07:11 PM
Ok all Done:


http://ubuntuforums.org/showpost.php?p=7362109&postcount=5

kamitsukai
May 28th, 2009, 07:55 PM
I now have this printer setup with XP in virtualbox and all I can say is I wish I'd done this from the beggining it was alot less hassle and I'm starting think that I might do this with my samsung CLP-300 as the printing quality will be much better (the samsung drivers leave alot to be desired...)

Sidewinder1
May 28th, 2009, 10:38 PM
" there are (not many) printers that will not work with ubuntu/linux."
Translation: There are many printers that will work with ubuntu/linux.
:-)

Calle_Rönnow
December 25th, 2009, 03:50 PM
EDIT: Still trying to get it to work. Will post any useful advice if successful.