LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-28-2008, 01:28 PM   #1
wdave58
Member
 
Registered: Aug 2006
Location: Richardson, TX
Distribution: Slackware 12.0
Posts: 63

Rep: Reputation: 15
printing with kde in slackware 12.0


ok ... i have been to the "openprinting" website and what a cluster fu## ... try one of the click thrus below
xKongress2002/Tutorial/II.Foomatic-User/II.tutorial-
handout-foomatic-user.html
instead of reading the CUPS programmers manual maybe someone out there could boil this down for me

i downloaded hpijs from the HP website
copied it to /usr/share/cups/model with the other .ppd files

tried gs -q but there were too many parameters that did not work, such as -dQuiet -dNoPause or -r300colorcmy -dijsuseoutputFD ..????
so needles to say could not get ghostscript configured correctly , then
there was the:
kill all -HUP supsd
with an equally dismal
/etc/init.d/cups restart that failed

i have ESP Ghostscript 8.15.4
CUPS 1.2.11
linux kernel 2.6.21.5

the only thing going on here is a HP PSC1210 usb Printer that sometimes will and sometimes will not show up in the KDE printer setup
originally there was NO hpijs.ppd file on the computer anywhere only
foomatic-rip and foomatic-ppd

by the way ... when i start the KDE printer setup CUPS can now NOT be found ......

HELP ... auuuuugggghhhhhh
 
Old 04-28-2008, 03:56 PM   #2
wdave58
Member
 
Registered: Aug 2006
Location: Richardson, TX
Distribution: Slackware 12.0
Posts: 63

Original Poster
Rep: Reputation: 15
downloading .ppd files and re-starting CUPS ....

allright ,,,, cups shows up nicely when one re-formats the hdd and re-loads linux,,, still wondering maybe i should be looking more to fstab instead of downloading new drivers ....
this is a usb printer install and the usb flash drive is seen perfectly but not the printer ....
if i DO go the .ppd route .... any suggestions???? for commands???
to down CUPS and restart it????
do i even NEED to mess with ghostscript ... it is native to slackware ..
any help would be appreciated ...
thanks,
david
 
Old 04-28-2008, 04:01 PM   #3
wdave58
Member
 
Registered: Aug 2006
Location: Richardson, TX
Distribution: Slackware 12.0
Posts: 63

Original Poster
Rep: Reputation: 15
also, when a print job errors out this is the log i get:


Attribute
Values
job-more-info
ipp://localhost:631/jobs/3
job-preserved
True
job-printer-up-time
Mon Apr 28 20:57:49 2008
job-state-reasons
job-stopped
job-uri
ipp://localhost:631/jobs/3
printer-uri
ipp://localhost/printers/hppsc1210
job-originating-user-name
root
job-name
KDE Print Test
document-format
application/postscript
multiple-document-handling
separate-documents-uncollated-copies
orientation-requested
0x3
job-priority
50
job-uuid
urn:uuid:506fd113-35aa-3b06-41b1-0fd07dc7b1df
job-originating-host-name
localhost
time-at-creation
Mon Apr 28 20:57:30 2008
time-at-processing
Mon Apr 28 20:57:30 2008
time-at-completed

job-id
3
job-state
0x6
job-media-sheets-completed
1
job-printer-uri
ipp://broadband.home:631/printers/hppsc1210
job-name
KDE Print Test
job-k-octets
15
job-hold-until
no-hold
job-sheets
none
none

thanks,
 
Old 04-29-2008, 12:23 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
Best way to set up a printer in Slackware: Go to
:Menu > System > Manage Printer
This "Icon" will open a browser, http://localhost:631/
When the printer has been setup, you are asked to confirm
with password, change user to root and enter password.
Good Luck !
 
Old 04-29-2008, 06:54 PM   #5
wdave58
Member
 
Registered: Aug 2006
Location: Richardson, TX
Distribution: Slackware 12.0
Posts: 63

Original Poster
Rep: Reputation: 15
almost there !!!!!

you are right .... the error i was getting was entirely based on just that .... NO password from root ....
now .... there is a handy web page that is very clever and explanatory it has helped me much so far ,, it is -
http://www.linuxprinting.org/~till/p...orial/tut.html ....
first things first .... when in KDE with CUPS 1.2 running i do NOT think it is necessary to download a .ppd file and moreover not necessary to configure the Ghostscript manually .... that is what KDE is for ...
the commands in the above web page are ideally suited for starting CUPS from the command line and "finding" the CUPS installation directory ..
i feel at ease now knowing that with lpinfo -v you can at least tell whether CUPS is started and whether CUPS "sees" your printer ....
that alleviates the need to "restart" CUPS or twinkle with Ghostscript or foomatic which apparently is native to Slackware ...
now .... once CUPS recognizes my HP printer and i can print a test page with hpsetup from the root i still cannot print ... the print job "spools up" and the goes into the QUE and waits ... this ALSO turns the printer off-line for further printing .... this part i have NOT been able to tell from the CUPS manuals OR the KDE printing website .... when i find out ... YOU will be the first to know
david
long live Linus and Linux
 
Old 05-02-2008, 09:32 AM   #6
wdave58
Member
 
Registered: Aug 2006
Location: Richardson, TX
Distribution: Slackware 12.0
Posts: 63

Original Poster
Rep: Reputation: 15
Talking hp-setup

the root command

hp-setup is a winner ,,,, it will produce a printer capable of at least printing a test page which is a lot better than what i am getting with KDE which again seems to want to "queue" up any print job that comes its way and the take the printer off-line ...

and NOW it really IS the winner ....

KDE gives a device ID similar to the URI -
ipp://localhost:631/printers/psc_1200
and this DOES NOT WORK .....

hp-setup puts a usb feel to it
hp:/usb/psc_1200_series?serial=MY3CHG62SV5H
and this DOES WORK ....
just printed my first .pdf file .....

i am sure that KDE is a wonderful tool for setting up printers
i just have no idea how to get it to stop "queue" ing up all the print
jobs ...

"MY HATS OFF" to the people of HP for working with Linux and creating
the HPLIP or HP Linux Imaging and Printing System ..... it is my hearfelt
opinion that everyone that want to use Linux should go out and buy an HP
printer ..... the setup with hp-setup is actually easier and much more
transparent than Windows ....

I am glad that all the support exists for Ghostscript, CUPS and foomatic ,,,but for Newbies like me it just led me down the wrong road ... this tool
(hp-setup) is "THE WAY TO GO" ...

i hope this helps a few of you .... it would mean alot to me if it did!!!!
GOOD LUCK .. "keep the faith" and as always ...

"long live Linus and long live Linux: .....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
slackware 10,2, KDE 3.4, printing dunc69 Linux - Desktop 6 01-14-2007 10:40 AM
printing in slackware 10 with KDE bioagentice Linux - Software 1 03-13-2005 06:13 AM
slackware 9.1 printing dfownz Linux - Hardware 16 03-02-2004 06:21 PM
Help Printing w/ Slackware 9.1! sanjuro54 Slackware 9 10-16-2003 04:09 PM
Slackware and printing manwe Slackware 4 12-19-2002 04:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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