This is a discussion on can't print to samsung 2010 anymore? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I used to be able to print before but I recently starting trying to share the printer through samba ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I used to be able to print before but I recently starting trying to share the printer through samba and I must have broken it. I then moved the printer to another machine, with a fresh slack-11 install (no x11), but I still can't print. Attached is a log I get when I try to do: lp -d samsung test.txt I imagine that's a way to test it from command line. I wanted to try command line since the web admin tool spits out more debug stuff. I also noticed that the admin tool says this for my printer: samsung (Default Printer) "Failed to load the PPM image" Description: samsung Location: Make and Model: Samsung ML-2010 Series (SPL II) Printer State: idle, accepting jobs, published. Device URI: usb://Samsung/ML-2010 I looked up the "Failed to load the PPM image" and couldn't find any solutions. But it looks like I'm not the only person with these problems. Was something updated that broke this? I might have had slackware 10.x on my first desktop and that may explain why it worked before. Anyway, any help would be greatly appreciated. Here is my log: (the lp command shown earlier kicks off job 3, but i guess job 2 needs to get unloaded...) D [22/Feb/2007:18:03:01 -0800] Unloading job 2... D [22/Feb/2007:18:03:02 -0800] cupsdAcceptClient: 10 from localhost (Domain) D [22/Feb/2007:18:03:02 -0800] cupsdReadClient: 10 POST / HTTP/1.1 D [22/Feb/2007:18:03:02 -0800] cupsdAuthorize: No authentication data provided. D [22/Feb/2007:18:03:02 -0800] CUPS-Get-Printers D [22/Feb/2007:18:03:02 -0800] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok) D [22/Feb/2007:18:03:02 -0800] cupsdReadClient: 10 POST / HTTP/1.1 D [22/Feb/2007:18:03:02 -0800] cupsdAuthorize: No authentication data provided. D [22/Feb/2007:18:03:02 -0800] CUPS-Get-Classes D [22/Feb/2007:18:03:02 -0800] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok) D [22/Feb/2007:18:03:02 -0800] cupsdReadClient: 10 POST / HTTP/1.1 D [22/Feb/2007:18:03:02 -0800] cupsdAuthorize: No authentication data provided. D [22/Feb/2007:18:03:02 -0800] CUPS-Get-Default D [22/Feb/2007:18:03:02 -0800] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok) D [22/Feb/2007:18:03:02 -0800] cupsdCloseClient: 10 D [22/Feb/2007:18:03:02 -0800] cupsdAcceptClient: 10 from localhost (Domain) D [22/Feb/2007:18:03:02 -0800] cupsdReadClient: 10 POST /printers/samsung HTTP/1.1 D [22/Feb/2007:18:03:02 -0800] cupsdAuthorize: No authentication data provided. D [22/Feb/2007:18:03:02 -0800] Print-Job ipp://localhost/printers/samsung D [22/Feb/2007:18:03:02 -0800] print_job: auto-typing file... D [22/Feb/2007:18:03:02 -0800] print_job: request file type is text/plain. D [22/Feb/2007:18:03:02 -0800] add_job: requesting-user-name="root" I [22/Feb/2007:18:03:02 -0800] Adding start banner page "none" to job 3. D [22/Feb/2007:18:03:02 -0800] Discarding unused job-created event... I [22/Feb/2007:18:03:02 -0800] Adding end banner page "none" to job 3. I [22/Feb/2007:18:03:02 -0800] Job 3 queued on "samsung" by "root". D [22/Feb/2007:18:03:02 -0800] Job 3 hold_until = 0 D [22/Feb/2007:18:03:02 -0800] Discarding unused printer-state-changed event... D [22/Feb/2007:18:03:02 -0800] job-sheets=none,none D [22/Feb/2007:18:03:02 -0800] banner_page = 0 D [22/Feb/2007:18:03:02 -0800] [Job 3] argv[0]="samsung" D [22/Feb/2007:18:03:02 -0800] [Job 3] argv[1]="3" D [22/Feb/2007:18:03:02 -0800] [Job 3] argv[2]="root" D [22/Feb/2007:18:03:02 -0800] [Job 3] argv[3]="test.txt" D [22/Feb/2007:18:03:02 -0800] [Job 3] argv[4]="1" D [22/Feb/2007:18:03:02 -0800] [Job 3] argv[5]="job-uuid=urn:uuid:a38fceac-e873-33e6-76d4-67bdc4b77d7d" D [22/Feb/2007:18:03:02 -0800] [Job 3] argv[6]="/var/spool/cups/d00003-001" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[1]="CUPS_DATADIR=/usr/share/cups" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[6]="CUPS_SERVERROOT=/etc/cups" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[7]="CUPS_STATEDIR=/var/run/cups" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[9]="SERVER_ADMIN=root@mini" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[10]="SOFTWARE=CUPS/1.2.8" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[11]="TMPDIR=/var/spool/cups/tmp" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[12]="USER=root" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[13]="CUPS_SERVER=/var/run/cups/cups.sock" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[14]="CUPS_ENCRYPTION=IfRequested" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[15]="IPP_PORT=631" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[16]="CHARSET=iso-8859-1" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[17]="LANG=en_US" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[18]="PPD=/etc/cups/ppd/samsung.ppd" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[19]="RIP_MAX_CACHE=8m" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[20]="CONTENT_TYPE=text/plain" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[21]="DEVICE_URI=usb://Samsung/ML-2010" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[22]="PRINTER=samsung" D [22/Feb/2007:18:03:02 -0800] [Job 3] envp[23]="FINAL_CONTENT_TYPE=printer/samsung" I [22/Feb/2007:18:03:02 -0800] Started filter /usr/lib/cups/filter/texttops (PID 25450) for job 3. I [22/Feb/2007:18:03:02 -0800] Started filter /usr/lib/cups/filter/pstops (PID 25451) for job 3. I [22/Feb/2007:18:03:02 -0800] Started filter /usr/lib/cups/filter/rastertosamsungspl (PID 25452) for job 3. I [22/Feb/2007:18:03:02 -0800] Started backend /usr/lib/cups/backend/usb (PID 25453) for job 3. D [22/Feb/2007:18:03:02 -0800] Discarding unused job-state event... D [22/Feb/2007:18:03:02 -0800] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok) D [22/Feb/2007:18:03:02 -0800] [Job 3] Page = 612x792; 12,12 to 600,780 D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->num_fonts = 35 D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[0] = AvantGarde-Book D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[1] = AvantGarde-BookOblique D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[2] = AvantGarde-Demi D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[3] = AvantGarde-DemiOblique D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[4] = Bookman-Demi D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[5] = Bookman-DemiItalic D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[6] = Bookman-Light D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[7] = Bookman-LightItalic D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[8] = Courier D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[9] = Courier-Bold D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->num_fonts = 35 D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[0] = AvantGarde-Book D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[1] = AvantGarde-BookOblique D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[2] = AvantGarde-Demi D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[3] = AvantGarde-DemiOblique D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[4] = Bookman-Demi D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[5] = Bookman-DemiItalic D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[6] = Bookman-Light D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[7] = Bookman-LightItalic D [22/Feb/2007:18:03:02 -0800] [Job 3] ppd->fonts[8] = Courier D [22/Feb/2007:18:03:02 -0800] [Job 3] Page = 612x792; 12,12 to 600,780 D [22/Feb/2007:18:03:02 -0800] [Job 3] slow_collate=0, slow_duplex=0, slow_order=0 D [22/Feb/2007:18:03:02 -0800] [Job 3] Before copy_comments - %!PS-Adobe-3.0 D [22/Feb/2007:18:03:02 -0800] [Job 3] %!PS-Adobe-3.0 D [22/Feb/2007:18:03:02 -0800] cupsdCloseClient: 10 E [22/Feb/2007:18:03:02 -0800] PID 25452 (/usr/lib/cups/filter/rastertosamsungspl) stopped with status 3! D [22/Feb/2007:18:03:02 -0800] [Job 3] %%BoundingBox: 0 0 612 792 D [22/Feb/2007:18:03:02 -0800] [Job 3] %cupsRotation: 0 D [22/Feb/2007:18:03:02 -0800] [Job 3] %%Creator: texttops/CUPS v1.2.8 D [22/Feb/2007:18:03:02 -0800] [Job 3] %%CreationDate: Thu 22 Feb 2007 06:03:02 PM PST D [22/Feb/2007:18:03:02 -0800] [Job 3] %%Title: (test.txt) D [22/Feb/2007:18:03:02 -0800] [Job 3] %%For: (root) D [22/Feb/2007:18:03:02 -0800] [Job 3] %%Pages: (atend) D [22/Feb/2007:18:03:02 -0800] [Job 3] %%DocumentNeededResources: font Courier-Bold D [22/Feb/2007:18:03:02 -0800] [Job 3] %%+ font Courier D [22/Feb/2007:18:03:02 -0800] [Job 3] %%DocumentSuppliedResources: procset texttops 1.1 0 D [22/Feb/2007:18:03:02 -0800] [Job 3] %%+ font Courier-Bold D [22/Feb/2007:18:03:02 -0800] [Job 3] %%+ font Courier D [22/Feb/2007:18:03:02 -0800] [Job 3] %%EndComments D [22/Feb/2007:18:03:02 -0800] [Job 3] Before copy_prolog - %%BeginProlog D [22/Feb/2007:18:03:02 -0800] [Job 3] ExecProgramV: 'gs' '-dNOPAUSE' '-dBATCH' '-dSAFER' '-q' '-sOutputFile=-' '-sDEVICE=pbmraw' '-r600x600' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-dFIXEDMEDIA' '-' D [22/Feb/2007:18:03:02 -0800] [Job 3] gs: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory D [22/Feb/2007:18:03:02 -0800] [Job 3] Child PID for gs is 25454 E [22/Feb/2007:18:03:02 -0800] [Job 3] Failed to load the PPM image D [22/Feb/2007:18:03:02 -0800] Discarding unused printer-state-changed event... D [22/Feb/2007:18:03:02 -0800] [Job 3] Before copy_setup - %%Page: 1 1 D [22/Feb/2007:18:03:02 -0800] [Job 3] Before page loop - %%Page: 1 1 D [22/Feb/2007:18:03:02 -0800] [Job 3] Copying page 1... D [22/Feb/2007:18:03:02 -0800] [Job 3] pagew = 587.0, pagel = 767.0 D [22/Feb/2007:18:03:02 -0800] [Job 3] bboxw = 612, bboxl = 792 D [22/Feb/2007:18:03:02 -0800] [Job 3] PageLeft = 12.5, PageRight = 599.5 D [22/Feb/2007:18:03:02 -0800] [Job 3] PageTop = 779.5, PageBottom = 12.5 D [22/Feb/2007:18:03:02 -0800] [Job 3] PageWidth = 612.0, PageLength = 792.0 D [22/Feb/2007:18:03:02 -0800] [Job 3] Wrote 1 pages... D [22/Feb/2007:18:03:02 -0800] PID 25450 (/usr/lib/cups/filter/texttops) exited with no errors. D [22/Feb/2007:18:03:02 -0800] PID 25451 (/usr/lib/cups/filter/pstops) exited with no errors. D [22/Feb/2007:18:03:02 -0800] Discarding unused printer-state-changed event... D [22/Feb/2007:18:03:02 -0800] [Job 3] Printer using device file "/dev/usblp0"... D [22/Feb/2007:18:03:02 -0800] Discarding unused printer-state-changed event... D [22/Feb/2007:18:03:02 -0800] [Job 3] backendRunLoop(print_fd=0, device_fd=4, use_bc=1) D [22/Feb/2007:18:03:02 -0800] [Job 3] Read 183 bytes of print data... D [22/Feb/2007:18:03:02 -0800] [Job 3] Wrote 183 bytes of print data... D [22/Feb/2007:18:03:02 -0800] PID 25453 (/usr/lib/cups/backend/usb) exited with no errors. D [22/Feb/2007:18:03:02 -0800] [Job 3] File 0 is complete. D [22/Feb/2007:18:03:02 -0800] Discarding unused printer-state-changed event... D [22/Feb/2007:18:03:02 -0800] Discarding unused job-stopped event... D [22/Feb/2007:18:03:03 -0800] Unloading job 3... D [22/Feb/2007:18:03:21 -0800] cupsdCloseClient: 7 D [22/Feb/2007:18:03:21 -0800] cupsdCloseClient: 7 D [22/Feb/2007:18:03:31 -0800] cupsdCloseClient: 8 D [22/Feb/2007:18:03:31 -0800] cupsdCloseClient: 8 -- Posted via a free Usenet account from http://www.teranews.com |
| ||||
| Miguel De Anda wrote: > I used to be able to print before but I recently starting trying to share > the printer through samba and I must have broken it. I then moved the > printer to another machine, with a fresh slack-11 install (no x11), but I > still can't print. Attached is a log I get when I try to do: > > lp -d samsung test.txt > > I imagine that's a way to test it from command line. I wanted to try > command line since the web admin tool spits out more debug stuff. I also > noticed that the admin tool says this for my printer: > > samsung (Default Printer) "Failed to load the PPM image" It turned out that the text-based version of the installer was lame. I didn't have X installed on the new machine b/c I was planning on using it as a fileserver. Anyway, I installed X and ran the installer and it gave me a warning about sane not being installed. I installed those packages and it magically worked. I'm gonna send a bug report to the samsung guys and hopefully they will take it well. -- Posted via a free Usenet account from http://www.teranews.com |