Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 18 Apr 2014, 21:07
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Printing with CUPS: Almost here ! (Finally HERE!)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 16 [229 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 14, 15, 16 Next
Author Message
Guest
Guest


PostPosted: Sat 03 Sep 2005, 19:13    Post subject:  

Great work, but from previous experience I find that most people are lazy when it comes to doing things for themselves. Look we couldn't even get people to read the instructions for thw wifi dotpup even tho it pops up during the installation. So the only draw back I can see is people not willing to put the effort into finding the correct drivers for their printer, I know it sux bigtime but that's the way it is.

Just a note, if one is going to use Puppy as a print server only, ie other printers using the printer resources of puppy, the 'raw' driver will work as the other machines do all the printer specific formatting.
Back to top
dewdrop


Joined: 29 Aug 2005
Posts: 298
Location: Texas USA

PostPosted: Sat 03 Sep 2005, 20:29    Post subject: CUPS  

Hi Rarsa,

I read the new instructions and everything fell into place ....except as shown on the last printscreen below.

(I'm not sure that they have been added in the correct order, but they are numbered correctly....if the number of each screenshot is attached - I don't see that #1 is attached I'll make another post and add it there.)

Printscreen1 = was the result of completing step #8 of the new instructions.

Printscreens 2 & 3 = These got me thru step #9 to the point that I requested that the test page be printed.

Printscreen 4 = This is where I'm at after trying various combinations of the steps in the instructions.

I have not tried the HP3320 printer yet.

This was a lot of work on your part...thank you, thank you, thank you!!!

I shall keep trying various combinations until it hits for each printer. If you can see something that I'm not doing correctly, let me know.

Dewdrop

Last edited by dewdrop on Sun 04 Sep 2005, 16:45; edited 1 time in total
Back to top
View user's profile Send private message 
dewdrop


Joined: 29 Aug 2005
Posts: 298
Location: Texas USA

PostPosted: Sat 03 Sep 2005, 20:32    Post subject: CUPS  

Hi Rarsa,

Here's the Printscreen #1 that was left off of my previous reply.

Thanks again,

Dewdrop

Last edited by dewdrop on Sun 04 Sep 2005, 16:45; edited 1 time in total
Back to top
View user's profile Send private message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Sat 03 Sep 2005, 23:34    Post subject:  

Dewdrop:

Good catch. I missed a parameter for the script. I've updated the instructions.

To restart CUPS you type "/etc/rc.d/rc.cups restart".

You need to restart CUPS in order to see the newly installed drivers.

So, for you the next steps are the following:

- Restart CUPS with the restart command.
- Delete the printer that you created. (you used the wrong driver as the right one didn't show in the list of drivers)
- Add a new printer. Please note that the printer must be connected to the computer.
- Select the appropriate driver. You will see one on the list that exactly matches your printer.
- Print a test page.

Your patient testing is helping a lot. Thank you for putting the time.
Back to top
View user's profile Send private message Visit poster's website 
dewdrop


Joined: 29 Aug 2005
Posts: 298
Location: Texas USA

PostPosted: Sun 04 Sep 2005, 10:03    Post subject: CUPS  

Quote:

To restart CUPS you type "/etc/rc.d/rc.cups restart".

You need to restart CUPS in order to see the newly installed drivers.

So, for you the next steps are the following:

- Restart CUPS with the restart command.
- Delete the printer that you created. (you used the wrong driver as the right one didn't show in the list of drivers)
- Add a new printer. Please note that the printer must be connected to the computer.
- Select the appropriate driver. You will see one on the list that exactly matches your printer.
- Print a test page.


Hi Rarsa,

I did the adjustments as you instructed...still no go...this was a short test as I'm on my way to church in a bit. The listing of all of the printers did come up before..during one of the tests last night and I was able to select the correct printer from the list. However, note that the info I pass below as printscreens are what my results were after typing in the instructions as you sent them last evening.

I will get there...your instructions have been great so far.

Dewdrop

Last edited by dewdrop on Sun 04 Sep 2005, 16:46; edited 1 time in total
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Sun 04 Sep 2005, 13:02    Post subject:  

Dewdrop:

Please do the following:

1. Delete the log file with the following command
Code:
rm -f /var/log/cups/error_log.

2. Try to print the test page.
3. Tar the error_log file with the following command:
Code:
tar -czf /root/log.tar.gz /var/log/cups/error_log

4. Send the log.tar.gz file as an attachment.

You don't need to send more screen prints.
Back to top
dewdrop


Joined: 29 Aug 2005
Posts: 298
Location: Texas USA

PostPosted: Sun 04 Sep 2005, 15:06    Post subject: CUPS  

Quote:
Dewdrop:

Please do the following:

1. Delete the log file with the following command
Code:
rm -f /var/log/cups/error_log.

2. Try to print the test page.
3. Tar the error_log file with the following command:
Code:
tar -czf /root/log.tar.gz /var/log/cups/error_log

4. Send the log.tar.gz file as an attachment.

You don't need to send more screen prints.


Hi Guest,

I believe that I've done as you have requested, and still no action from the printer. rather than attach the log file....which as you will see..the instructions didn't make...I've attached one more printscreen. I believe this will show either where I have erred in carrying out your request, or why it wouldn't prepare the requested error log.

Since the requested action is "way over my head" in terms of using the command line, I may very well have "goofed" in typing in the request. If I have please show me the error(s) of my ways, and I'll try get the error log so that you may be able to see what's happening.

Thanks for your interest and help.

Dewdrop

Last edited by dewdrop on Sun 04 Sep 2005, 16:47; edited 1 time in total
Back to top
View user's profile Send private message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Sun 04 Sep 2005, 16:12    Post subject:  

Really, I don't need screen prints, actually they waste a lot of space on the server and make it very slow for other users on modem to read the thread.

You know: You can copy the text from the console if you highlight the console text with the mouse and press ctrl-C (Keep the Ctrl key in the keyboard pressed and press the "C" key), you can then paste it in the browser pressing Ctrl-V.

For the little I can see in your screen print and by the message you got, it seems that you forgot to press the <space > key between parameters.

Here is the command again with loooots of spaces so you can see where to inster the spaces:
Code:
tar    -czf     /root/log.tar.gz       /var/log/cups/error_log


Please don't post more screen prints unless I ask for one, OK? You can also edit the previous posts and remove the images. (That's only to be nice to the rest of the readers).
Back to top
View user's profile Send private message Visit poster's website 
dewdrop


Joined: 29 Aug 2005
Posts: 298
Location: Texas USA

PostPosted: Sun 04 Sep 2005, 17:54    Post subject: CUPS  

Hi Rarsa,

I have deleted the printscreen as you requested. Being on a cable modem, I forget that other people don't have the luxury of the speed I have. Embarassed Embarassed

Now, that said, I went back to the beginning and downloaded your tarred file - cups-install.tar.gz. This time I noticed that there seemed to be an additional file - cupsconf.tar.gz...... along with the cups-install.sh, espgs-install.sh, and hpijs-install.sh files. Did you have the cupsconf.tar.gz inside of your original cups-install.tar.gz file? And should it have been untarred? --- I did untar it, and came up with 9 additional items.

I believe I have done as you instructed with the deletions and have a file called log.tar.gz which is attached. Hopefully, this is what you are looking for.

Finally, this is what the x-term window looked like after your deletion requests were executed:

`usr/share/ppd/HP/HP-OfficeJet_G55-hpijs.ppd.gz' -> `/usr/share/ppd/HP/HP-OfficeJet_G55-hpijs.ppd.gz'
`usr/share/ppd/HP/HP-DeskJet_632C-hpijs.ppd.gz' -> `/usr/share/ppd/HP/HP-DeskJet_632C-hpijs.ppd.gz'
# /etc/rc.d/rc.cups restart
cups: restarted scheduler.
# rm -f /var/log/cups/error_log.
# tar -czf /root/log.tar.gz /var/log/cups/error_log
tar: Removing leading `/' from member names
#


Are we getting any closer? I Very Happy

Dewdrop
log.tar.gz
Description 
gz

 Download 
Filename  log.tar.gz 
Filesize  1.05 KB 
Downloaded  329 Time(s) 
Back to top
View user's profile Send private message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Sun 04 Sep 2005, 21:06    Post subject:  

Dewdrop:

I don't know if its a read herring but there were some bad lines in the configuration file.

I didn't notice them because they didn't cause any problem for me.

And by the way, you didn't have to untar the cupsconfig.tar.gz. my installation script untars it to the appropriate location.

Please do the following:

1. Delete log files with
Code:
 rm    /var/log/cups/*

2. Download the installer again
3. Run the "sh cups-install.sh"
4. Try to print the test page
5. Tar the log files with
Code:
tar -xvzf log.tar.gz /var/log/cups/*

6. Send me the file
Back to top
View user's profile Send private message Visit poster's website 
dewdrop


Joined: 29 Aug 2005
Posts: 298
Location: Texas USA

PostPosted: Sun 04 Sep 2005, 22:33    Post subject: CUPS  

Quote:
rm /var/log/cups/*

2. Download the installer again
3. Run the "sh cups-install.sh"
4. Try to print the test page
5. Tar the log files with
Code:
tar -xvzf log.tar.gz /var/log/cups/*

6. Send me the file


Rarsa,

I tried the instructions noted above. No luck.

I only ran the sh cups-install.sh script...not the others that I've run in the past.

I tried to tar the log files as noted above, and as far as I know they were not generated since I couldn't find them on/in any of the directories. Thus, I'm not able to send them to you.

Here is the xterm window info that was produced - I'm in way over my head, but hopefully I'm being of some help as you try to figure this out for me. You will not that the first try I forgot the * at the end of the instructions...I don't even know if that might make a difference...a failed attempt, I mean.

Dewdrop

mime.convs
mime.types
ppds.dat
printers.conf
pstoraster.convs
modprobe printer
Note: /etc/modules.conf is more recent than /lib/modules/2.4.29/modules.dep
/etc/rc.d/rc.cups start
cups: started scheduler.
# tar -xvzf log.tar.gz /var/log/cups
tar (child): log.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: /var/log/cups: Not found in archive
tar: Error exit delayed from previous errors
#
# tar -xvzf log.tar.gz /var/log/cups/*
tar (child): log.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: /var/log/cups/access_log: Not found in archive
tar: /var/log/cups/error_log: Not found in archive
tar: Error exit delayed from previous errors
#
Back to top
View user's profile Send private message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Sun 04 Sep 2005, 23:25    Post subject:  

Oops, sorry its
Code:
 tar -cvzf log.tar.gz /var/log/cups


the -x parameter is to extract the -c parameter is to create.
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Mon 05 Sep 2005, 03:19    Post subject:  

Cool Just to say am reading this - getting the Holy Grail of Cups working with much interest.
I hope to blow the dust off my old Canon BJC 210 and print something.

Sadly my first printer - a daisywheel with a print speed of 1 page in 5 minutes is no longer with me . . .
I also have a HP Deskjet 500 (monochrome only) that is sure to print.

Great team work - good luck
(Lobster cheering from the side lines and waving whiskers enthusiastically)


Cool

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
dewdrop


Joined: 29 Aug 2005
Posts: 298
Location: Texas USA

PostPosted: Mon 05 Sep 2005, 11:02    Post subject: CUPS  

Hi Lobster,

And welcome to the Puzzle Palace. It's fun being part of a team (although I'm a minor part, I believe). I remember as a kid doing picture puzzles with my Dad and friends. Then we were all in one room. Here we do the same activity....looking for the pieces that fit together... with a little more space involved. Very Happy

Dewdrop

....and now to continue with the puzzle.....
Back to top
View user's profile Send private message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Mon 05 Sep 2005, 11:04    Post subject:  

bladehunter wrote:
So the only draw back I can see is people not willing to put the effort into finding the correct drivers for their printer, I know it sux bigtime but that's the way it is.

I'm answering this comment in a different thread: Why people don't read the instructions
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 16 [229 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 14, 15, 16 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0827s ][ Queries: 12 (0.0054s) ][ GZIP on ]