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 Thu 24 Jul 2014, 16:06
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 5 of 16 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 14, 15, 16 Next
Author Message
dewdrop


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

PostPosted: Thu 08 Sep 2005, 23:47    Post_subject: CUPS  

Hi Rarsa,

Your last statement
Quote:
I'm running out of options. I want you to try the HP3320 as I think that there is another way (the puppy way) to have the 6450 printing without CUPS.


I believe that I did the same procedures with the HP3320 printer.

I read your instructions above to mean that I should now reconnect the 6540 printer, and await whatever instructions you have from "the puppy way"...so I can try those on the HP6540.....unless you discover something with the second attempt with the HP3320, and wish me to try something over or new with that printer.

I await your commands

Dewdrop
Back to top
View user's profile Send_private_message 
rarsa


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

PostPosted: Thu 08 Sep 2005, 23:52    Post_subject:  

With the HP3320. Please set the LogLevel to "debug", try to print the test page and send me the log.

Did you install perl when you started fresh with the HP3320?
Back to top
View user's profile Send_private_message Visit_website 
dewdrop


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

PostPosted: Thu 08 Sep 2005, 23:55    Post_subject: CUPS  

HI Rarsa,

I'll do as you request in your response in the morning.

As for now I'm off to catch some Zzzzz's

Dewdrop

Edited_time_total
Back to top
View user's profile Send_private_message 
dewdrop


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

PostPosted: Fri 09 Sep 2005, 13:30    Post_subject: CUPS  

Hi and Good Friday Morning Rarsa,

Here is the step by step for today's attempts, and 3 log files. I renamed the log files believing that it would not harm them.

I await further instructions.

Dewdrop

Step by step for 9-9-2005 Pristine Install.


1.Installed Internet Connection
2.Installed Morizot firewall
3.Installed perl
4.Untarred cups-install.tar.gz file – I've downloaded this file from page one of the CUPS topic area of the forum, and saved it at C:
5. IMPORTANT - I have previously removed some printer files that are added to the C: on the hard-disk, whenever I use either printer while in WindowsXP. These files may or may not have an effect on what is happening in Puppy, so I'll remove them now as I test the HP3320 printer in Puppy.
6.Executed sh espgs-install.sh
7.Executed sh cups-install.sh ---- notice the change in order .... does it make a difference?
8.Executed sh hpijs-install.sh
9.Restarted cups
10.Went to http://localhost:631 and set up printer for hp3320.
11.Attempted to print test page. Negative results.
12.Tarred the log file. Renamed it log1.tar.gz (NOTE: Name change).
13.Opened the Configuration file with leafpad command and changed the LogLevel info to LogLevel debug
14.Executed the sh /etc/rc.d/rc.cups stop
15.executed the sh /etc.rc.d/rc.cups start
16.Went back to localhost and deleted the printer.
17.Then added a new printer. Tried to print a test page with negative results.
18.Tarred the log file. It appeared as log.tar.gz..... I renamed it to log2.tar.gz (NOTE: Name change).
19.Deleted the log file with rm command.
20.Requested status by the command lpstat -h localhost -t
21.Requested echo “test” | lp
22.Requested echo “Test1” > /dev/usb/lp0
23.No activitity from the printer.
24.Tarred the log file. Renamed it log3.tar.gz (NOTE: Name change).
25.Closed the Xterm window.


# tar -cvzf log.tar.gz /var/log/cups/*
tar: Removing leading `/' from member names
var/log/cups/access_log
var/log/cups/error_log
# leafpad /etc/cups/cupsd.conf
# sh /etc/rc.d/rc.cups stop
cups: stopped scheduler.
# sh /etc/rc.d/rc.cups start
cups: started scheduler.
# tar -cvzf log.tar.gz /var/log/cups/*
tar: Removing leading `/' from member names
var/log/cups/access_log
var/log/cups/error_log
# fm -f /var/log/cups/error_log
fm: No such file or directory
# rm -f /var/log/cups/error-log
# lpstat -h localhost -t
scheduler is running
system default destination: HP3320
device for HP3320: usb://hp/deskjet%203320?serial=TH2CN340F943
HP3320 accepting requests since Jan 01 00:00
printer HP3320 is idle. enabled since Jan 01 00:00
#
# echo "test" | lp
request id is HP3320-3 (1 file(s))
# echo "Test1" > /dev/usb/lp0
#
log3.tar.gz
Description 
gz

 Download 
Filename  log3.tar.gz 
Filesize  5.65 KB 
Downloaded  283 Time(s) 
log2.tar.gz
Description 
gz

 Download 
Filename  log2.tar.gz 
Filesize  4.74 KB 
Downloaded  277 Time(s) 
log1.tar.gz
Description 
gz

 Download 
Filename  log1.tar.gz 
Filesize  1.36 KB 
Downloaded  270 Time(s) 
Back to top
View user's profile Send_private_message 
edoc


Joined: 07 Aug 2005
Posts: 4337
Location: Southeast Georgia, USA

PostPosted: Fri 09 Sep 2005, 17:47    Post_subject: Re: CUPS & Puppy Friendly Printer?  

Can anyone recommend an easily portable color printer that uses cheap or refillable color cartridges that don't produce easily smudged prints that has a wall wart (power adapter) that outputs 12-14vdc to power the printer and is likely to work well with Cups and Puppy?

How's that for a fussy request?

Cartridges: Had an Epson C84 but they wanted blood for the cartridges.

Ink Quality: Need to make some brochures from time to time so they need to be decent quality.

12-14vdc: Allows me to run it directly from emergency power.

doc

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
dewdrop


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

PostPosted: Fri 09 Sep 2005, 19:40    Post_subject: CUPS  

Hi Rarsa,

Here's some information that I obtained from this web address:

http://www.linuxprinting.org/printer_list.cgi?make=HP

I copied the info pertaining to my printers and tarred them into the attached files....at least I think I tarred them correctly.

Dewdrop
HPDeskjet6540.tar.gz
Description 
gz

 Download 
Filename  HPDeskjet6540.tar.gz 
Filesize  45 Bytes 
Downloaded  275 Time(s) 
HPDeskjet3320.doc.tar.gz
Description 
gz

 Download 
Filename  HPDeskjet3320.doc.tar.gz 
Filesize  45 Bytes 
Downloaded  259 Time(s) 
Back to top
View user's profile Send_private_message 
rarsa


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

PostPosted: Sat 10 Sep 2005, 02:19    Post_subject:  

dewdrop wrote:
Here's some information that I obtained from this web address...
Actually that site is my main source of information regarding the drivers. I've already fully read both pages. Thank you anyway.

Now. The log is showing a Perl error. My guess is that the Perl PupGet is a stripped down version of Perl. So I am sending an extra installation file for you to test. It will install a more recent version of Perl that has the missing component (Data/Dumper.pm)

Install it the same way as the other three installs. You don't need to start fresh unless you really want to.

Do not reinstall the Perl PupGet, only this one.

Then repeat the test. with the LogLevel debug.
perl-5.8.6-install.tar.gz
Description  After downloading untar with "tar -xvzf perl-5.8.6-install.tar.gz", and run the installation script with "sh perl-5.8.6-install.sh"
gz

 Download 
Filename  perl-5.8.6-install.tar.gz 
Filesize  304 Bytes 
Downloaded  212 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
dewdrop


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

PostPosted: Sat 10 Sep 2005, 09:57    Post_subject: CUPS - SUCCESS SUCCESS SUCCESS on the HP3320  

Hi Rarsa,

I'm so happy I forgot to get the log file.

I'll go re-do the proceedure below and get the log file this time. Then I'll try it with the HP6540.

I'll send the info shortly.

Thanks a Million


Dewdrop

Step by step from 9-10-2005 – Continue with install from 9-9.

1.Downloaded the file perl-5.8.6-install.tar.gz
2.Removed the printer information from the C: area of WindowsXP. (This information is installed each time I use the printers under WindowsXP. I had deleted them yesterday, so I have deleted them for today's try too)
3.I deleted the pupget perl-5.8.0 and rebooted Puppy. (This is an older version of the perl file noted above).
4.Untarred perl-5.8.6-install.tar.gz
5.Installed sh perl-5.8.6-install.sh
6.Checked the configuration file to ensure that LogLevel debug was present. It was. # leafpad /etc/cups/cupsd.conf
7.Restarted CUPS with:
# /etc/rc.d/rc.cups restart
cups: restarted scheduler.
8.I went to the localhost:631 page, filled in the information, requested the test page be printed.
9.SUCCESS SUCCESS SUCCESS – The HP3320 printed out the familiar CUPS Printer Test Page.
10.I then went to the FILE Menu/Printer Settings and chose HP3320, and printed out this page.
Back to top
View user's profile Send_private_message 
dewdrop


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

PostPosted: Sat 10 Sep 2005, 10:17    Post_subject: CUPS - SUCCESS  

Hi Rarsa,

This time my excitement didn't prevent me from remembering about the log file. It is attached to this post.

Dewdrop

Step by step continued for 9-10-2005

1. I returned to the localhost:631 page and deleted the printer.
2. Then I did the following:

BusyBox v0.60.5 (2004.09.18-02:04+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# leafpad /etc/cups/cupsd.conf
# /etc/rc.d/rc.cups restart
cups: restarted scheduler.

3.I returned to the localhost:631 page, re-installed the printer, requested it print the test page and it did!.
4.Then I tarred the log file.

# tar -cvzf log.tar.gz /var/log/cups/*
tar: Removing leading `/' from member names
var/log/cups/access_log
var/log/cups/error_log
var/log/cups/page_log
# rm -f /var/log/cups/error_log



I will now try the HP6540 Printer.
log.tar.gz
Description 
gz

 Download 
Filename  log.tar.gz 
Filesize  8.68 KB 
Downloaded  245 Time(s) 
Back to top
View user's profile Send_private_message 
dewdrop


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

PostPosted: Sat 10 Sep 2005, 10:45    Post_subject: CUPS SUCCESS - HP6540  

Hi Rarsa,

I used the HP3320 Puppy installation for the HP6540 Printer test...and did the following activities:

I disconnected the printer cable from the HP3320 and inserted it into the HP6540. It's USB, so no problem.

I went to the localhost:631 page and deleted the HP3320 printer.

I then tried to to install the HP6540 printer. The HP3320 was highlighted and it wouldn't let me change it.

I returned to the Xterm and did the following:


# /etc/rc.d/rc.cups restart
cups: restarted scheduler.

I returned to the localhost:631 page, and installed the HP6540 printer - this time it was selectable.

I continued with the installation and requested a Printer Test Page be printed, and it did!!!

Then I tried to tar the error log file and put a comma in place of a period...see below. It took awahile, but it did give me a log file ......I guess it is ok, but it looks different that the previous ones. I've attached it to see if it is of any use to you. If not, let me know and I'll redo the HP6540 printer install and get my clumsy fingers on the right keys.

I just checked the area where I'm keeping the log files, and now a second log file has been created. I'll attach everything I see, but I'm not sure which one(s) will be useful for you.

Final point - it looks like the change of the perl version was the crucial difference in the success of your efforts.

Dewdrop

# tar -cvzf log,tar.gz /var/log/cups/*
tar: Removing leading `/' from member names
var/log/cups/access_log
var/log/cups/error_log
var/log/cups/page_log
# rm -f /var/log/cups/error_log
# tar -cvzf log.tar.gz /var/log/cups/*
tar: Removing leading `/' from member names
var/log/cups/access_log
var/log/cups/page_log
# fm -f /var/log/cups/error_log
fm: No such file or directory
#
log.tar.gz
Description 
gz

 Download 
Filename  log.tar.gz 
Filesize  1.54 KB 
Downloaded  240 Time(s) 
log,tar.gz
Description 
gz

 Download 
Filename  log,tar.gz 
Filesize  5.28 KB 
Downloaded  250 Time(s) 
Back to top
View user's profile Send_private_message 
rarsa


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

PostPosted: Sat 10 Sep 2005, 12:53    Post_subject:  

Great! Thank You for all your time and patience. Most people would have quit by now.

At least we got it printing. It seems that we have all our ducks in a row.

There is still something that makes me uneasy: The installation size.

Do you want to continue trying to find what is the minimum install we can do to have it working?

Currently the perl PupGet installs to less than 3 MB. The full perl I sent installes to almost 32 MB. I am sure that we need way less than the 32 MB to have cups running. We just need to find out what parts are essential

As it stands right now the full installation (cups, espgs, hpijs, perl) will take 56 MB, plus 19 MB for temporary installation files. It may be peanuts for other distros, but puppy strives to be small.

For us to find the minimum requirements we will have to start with a minimal installation and add file by file as required. It will be slow and we may get to the same point we are now.

What do you say? do we Puppyfy it?
Back to top
View user's profile Send_private_message Visit_website 
dewdrop


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

PostPosted: Sat 10 Sep 2005, 13:01    Post_subject: CUPS - Success  

Quote:
What do you say? do we Puppyfy it?


I say "lead on O Great One"... Very Happy

You tell me what to do and I will do it. I think I'll add what we have done so far to my regular pup001 file so I can use the printer(s) when I need to when I'm in Puppy.

I'll start off with a pristine install for the Puppyfy attempt you just tell me what to do on each step and I'll keep a Step by step, and send the logs of course.

Do you want one attempt per day? That seems like it would be sufficient for the time being.

Dewdrop
Back to top
View user's profile Send_private_message 
rarsa


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

PostPosted: Sat 10 Sep 2005, 13:04    Post_subject:  

Or we could coordinate for an IRC session, that may speed up the testing.
Back to top
View user's profile Send_private_message Visit_website 
dewdrop


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

PostPosted: Sat 10 Sep 2005, 13:09    Post_subject: CUPS - Success  

Hi,

Yes a IRC chat would be okay. I think I've finally figured out how to use the IRC with GAIM...I'm registered with dewdrop2 on IRC, and I'm participating in the chat that's going on this weekend, at the moment.

So.....you set the time for the IRC and I'll try to comply or at least let you know if the time is acceptable or not. But go ahead and start me off, and I'll see where it gets me.

Dewdrop
Back to top
View user's profile Send_private_message 
dewdrop


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

PostPosted: Sat 10 Sep 2005, 14:49    Post_subject: CUPS - Success  

Hi Rarsa,

It is now about 1:20pm CDT, and I've just finished installing the HP6540 Printer on my "normal usage" Chubby Puppy Linux Distribution. I used the 2 files - cups-install.tar.gz and perl-5.8.6-install.tar.gz

If I understand you correctly, it will be the perl file that you will be trying to reduce. Is that correct? Or, is it both of them?

Thanks again for the great work. My Puppy has just become more valuable to me.

Dewdrop
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 5 of 16 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 14, 15, 16 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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