Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 10:33 AM
Skyname
 
Posts: n/a
Default Please help me with HP710C, CUPS and Slack9.0 :(

Hello !

I've got a problem with printing in Slack9. I'd like to run my DeskJet
710C on CUPS.
- i installed whole distro (CD ISO1)
- downloaded PPD file for my printer from linuxprinitg.org
- i did everything what i've read on that website (copied PPD,
foomatic-rip, even foomatic-gswrapper, did simlinks etc.)
- then i set my HP on localhost:631
- when i tried to print a test page - nothing happend only this:
==========
710-11 Test Page root 15k aborted
==========
- i tried to restart job and saw this
==========
Error: client-error-not-possible
==========


then looked into the logs and saw this:
==========
sh: line1nm2ppa: command not found
ESP Ghostscript 7.05.6: Can't find initialization file gs_init.ps
==========
but i have got this file (gs_init.ps) in
/usr/share/ghostscript/7.05/lib directory

i tried to compile from sources the ESPGS-7-05.6 after i removed package.
maybe this harmed my system. i tried to "make uninstall" it but i
couldn't.
finally i installed again packages and nothing happed again

the "gs -h" command shows this:
===========
Search path:
. : NONE/share/ghostscript/7.05/lib : NONE/share/ghostscript/fonts :
NONE/share/fonts/default/ghostscript : NONE/share/fonts/default/Type1 :
NONE/share/fonts/default/TrueType : /usr/lib/DPS/outline/base :
/usr/openwin/lib/X11/fonts/Type1 : /usr/openwin/lib/X11/fonts/TrueType
For more information, see NONE/share/ghostscript/7.05/doc/Use.htm.
===========
i tried to do "export GS_LIB=/usr/share/ghostscript/7.05/lib"
but my printer still isn't working


PLEASE HELP - ANYBODY
i've read many manuals on the web, but nothing helped me.

heh...
Best regards
Janusz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 10:33 AM
Beej Jorgensen
 
Posts: n/a
Default Re: Please help me with HP710C, CUPS and Slack9.0 :(

In article <pan.2003.08.17.20.53.36.428271@poczta.onet.pl>,
Skyname <skyname@poczta.onet.pl> wrote:
>then looked into the logs and saw this:
>==========
>sh: line1nm2ppa: command not found
>ESP Ghostscript 7.05.6: Can't find initialization file gs_init.ps
>==========
>but i have got this file (gs_init.ps) in
>/usr/share/ghostscript/7.05/lib directory


It looks like you're missing pnm2ppa, too. The 710 uses a now-defunct
protocol for data called PPA. Basically the data path is:

Postscript --(gs)--> PPM --(pnm2ppa)--> PPA --> /dev/lp

Get pnm2ppa here:

http://sourceforge.net/projects/pnm2ppa

I don't know that this'll help with the gs problem, tho.

-Beej

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 10:33 AM
Skyname
 
Posts: n/a
Default Re: Please help me with HP710C, CUPS and Slack9.0 :(

On Sun, 17 Aug 2003 21:41:01 +0000, Beej Jorgensen wrote:

> In article <pan.2003.08.17.20.53.36.428271@poczta.onet.pl>,
> Skyname <skyname@poczta.onet.pl> wrote:
>>then looked into the logs and saw this:
>>==========
>>sh: line1nm2ppa: command not found
>>ESP Ghostscript 7.05.6: Can't find initialization file gs_init.ps
>>==========
>>but i have got this file (gs_init.ps) in
>>/usr/share/ghostscript/7.05/lib directory

>
> It looks like you're missing pnm2ppa, too. The 710 uses a now-defunct
> protocol for data called PPA. Basically the data path is:
>
> Postscript --(gs)--> PPM --(pnm2ppa)--> PPA --> /dev/lp
>
> Get pnm2ppa here:
>
> http://sourceforge.net/projects/pnm2ppa
>
> I don't know that this'll help with the gs problem, tho.


i downloaded all files, but i have no idea how to make them working. it is
a black magic to me
when i read linuxprinting.org it seems to be easy to setup and what i get
is shit

ech.....
thanks for trying

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 10:33 AM
Beej Jorgensen
 
Posts: n/a
Default Re: Please help me with HP710C, CUPS and Slack9.0 :(

In article <pan.2003.08.17.22.31.50.64709@poczta.onet.pl>,
Skyname <skyname@poczta.onet.pl> wrote:
>i downloaded all files, but i have no idea how to make them working. it is
>a black magic to me


There should be a README.TXT file or something in the pnm2ppa tarball.
It probably includes instructions that say do something like this to
build them:

./configure
make
su
make install

But I don't remember the detail. It might be different.

There are also basic install and use instructions for it in there as
well.

I have a 710 working, but I don't use CUPS because at the time it said
it didn't support it. I just use lpd, but setting that up is more than
I can detail right now.

-Beej

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 10:33 AM
Jurgen Philippaerts
 
Posts: n/a
Default Re: Please help me with HP710C, CUPS and Slack9.0 :(

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Aug 17, 2003 at 10:53:37PM +0200, Skyname wrote:

> sh: line1nm2ppa: command not found
> ESP Ghostscript 7.05.6: Can't find initialization file gs_init.ps


> but i have got this file (gs_init.ps) in
> /usr/share/ghostscript/7.05/lib directory


look at the error above it!
it can not find the command "pnm2ppa"

> i tried to compile from sources the ESPGS-7-05.6 after i removed package.
> maybe this harmed my system. i tried to "make uninstall" it but i
> couldn't.


that's what i did. i'm using CUPS for my HP Deskjet 3820.
it took me some time to figure it out, but i got it working

> finally i installed again packages and nothing happed again


i don't think it worked.
looking at the output below...
(see next comments)

> Search path:
> . : NONE/share/ghostscript/7.05/lib : NONE/share/ghostscript/fonts :


okay, this is exactly what i got the first time that i compiled
ghostscript. for some reason the configure script isn't doing what
it's supposed to do. pay attention to the path: NONE/blah/blah/...

notice the "NONE" ? [0]

doesn't this look like a non existing path ?
i thought so.

now, you may have re-installed the ghostscript package, but your
previously compiled ghostscript binary is still sitting in
/usr/local/bin, which will be executed before /usr/bin, where your
package ghostscript binary sits.

now it's up to you, either remove the one you compiled, and use the
slackwarepackage, but you'll need to figure out what other packages
it needs (this is why i compiled my own, it was linked against alot
of things i did not want to install)

or, you can remove the package, and recompile from source, this
tiome, giving the configure script the correct parameters, and
feeding it a reasonable value for "datadir"

that should fix the "NONE" problem


give it a go, and your printer should start to spit out your prints


[0] have a look in your ghostscript source dir now,
you'll notice that there is a directory called "NONE" which holds
part of the installation


Jurgen.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/QDf11ucXIiwNwbURArmgAKCvGir8KBdOnEXvjWP1PZ6QIaffbA CgpMF2
lpGPNr+tFuc7cBu3MS+761g=
=DmDX
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 10:33 AM
Skyname
 
Posts: n/a
Default Re: Please help me with HP710C, CUPS and Slack9.0 :(

> There should be a README.TXT file or something in the pnm2ppa tarball.
> It probably includes instructions that say do something like this to
> build them:
>
> ./configure
> make
> su
> make install
>
> But I don't remember the detail. It might be different.


ok, i already installed pnm2ppa it seems to be ok cause CUPS logs
don't show anymore "sh: line1nm2ppa: command not found"

but error with the gs_init.ps is still there

> I have a 710 working, but I don't use CUPS because at the time it said
> it didn't support it. I just use lpd, but setting that up is more than
> I can detail right now.


Are You talking about APSFILTER ?
i tried to make this working using some king of magical SETUP program.
Everything was fine but when i tried to print test page a gs_init.ps error
occured again

i think the one and only problem to solve now is the gs_init.ps error.

I am closer now

I'd like to configure my printer on CUPS and APSFILTER. I am a newbie
that's why I'd like to learn how to do it

THANKS A LOT for helping me !!!
I appreciate this !

See ya
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-18-2008, 10:33 AM
Skyname
 
Posts: n/a
Default Re: Please help me with HP710C, CUPS and Slack9.0 :(

>> sh: line1nm2ppa: command not found
>> ESP Ghostscript 7.05.6: Can't find initialization file gs_init.ps

>
>> but i have got this file (gs_init.ps) in
>> /usr/share/ghostscript/7.05/lib directory

>
> look at the error above it!
> it can not find the command "pnm2ppa"


Yes, yesterday, finally I installed pnm2ppa (thanks to Beej Jorgensen)
now, when i am trying to print, cups's error.log shows me only the second
error about GS_INIT.PS

>> Search path:
>> . : NONE/share/ghostscript/7.05/lib : NONE/share/ghostscript/fonts :

>
> okay, this is exactly what i got the first time that i compiled
> ghostscript. for some reason the configure script isn't doing what
> it's supposed to do. pay attention to the path: NONE/blah/blah/...
> notice the "NONE" ? [0]
> doesn't this look like a non existing path ?
> i thought so.


YES, exactly, i noticed this THING and i even tries to correct this thing
by:
"export GS_LIB=/usr/share/ghostscript/7.05/lib"
then "gs -h" showed me the search path including this from GS_LIB, but it
didn't help . I tried to set LD_LIBRARY_PATH, and GS_FONTPATH but
nothing happened

> now, you may have re-installed the ghostscript package, but your
> previously compiled ghostscript binary is still sitting in
> /usr/local/bin, which will be executed before /usr/bin, where your
> package ghostscript binary sits.


oh, than i have to check it...

> now it's up to you, either remove the one you compiled, and use the
> slackwarepackage, but you'll need to figure out what other packages
> it needs (this is why i compiled my own, it was linked against alot
> of things i did not want to install)


i did a full install of slack so maybe it won't need anything else

> or, you can remove the package, and recompile from source, this
> tiome, giving the configure script the correct parameters, and
> feeding it a reasonable value for "datadir"


Yes, i Did this i used this command:
"./configure --prefix=/usr" - and the ghostscript directory showed like
from package but when i tried "gs -h" there was "path: NONE/blah/blah/..."
again
i tried even
"./configure --prefix=/usr --with-fontpath=/usr/ghostscript/fonts" - cause
i had this directory when i installed the package, but it didn't fix the
problem.

> give it a go, and your printer should start to spit out your prints


i will fight for my right tooooooo priiiiiiiinnnteerrrr hehe

> [0] have a look in your ghostscript source dir now,
> you'll notice that there is a directory called "NONE" which holds
> part of the installation


yeah i even tried to rename it to USR - didn't help


Okey, now i am going to erase all the GS files :-E, pray for my Slack
I will post soon

THANKS for help !!!!!! This means a lot to me.
Bye !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-18-2008, 10:33 AM
Skyname
 
Posts: n/a
Default Re: Please help me with HP710C, CUPS and Slack9.0 :(

AAAAAAAAA it's working !!!!!!!!!!!! :-DDDD

i did this:
- removed package
- searched for compiled ghostscript in /usr/local/bin
- found a few files
- deleted only one: GS
- compiled from source with this command: ./configure --prefix-/usr
- "gs -h" showed bjjjjjjutiful paths without NONE directory
- and.... and..... and TADAM ! from localhost:631 i could print a test
page and from other programms to

now i love the sound of working pritner

THANKS !!!!!!!!! A LOT once again !!!!!!!
Thankss to Everyone who helped me solving the problem !!!!
i'm happy like a child !

At last i've finished creating my home desktop on Slackware9 (most services). Earlier as
You can imagine it was MS-Windows .
No MDK, No RH, No easy to use distro - but Slack ! (Oh... now Slack is
easy to use hehe)
What a satisfaction !

BTW - sorry for my English

BYYYYYYEEEEEEEEE
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:32 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670