[nflug] ubuntu 6.10 works great

Joe josephj at main.nc.us
Mon Nov 13 00:12:47 EST 2006


Cyber Source wrote:
> Joe wrote:
>   
>> Cyber Source wrote:
>>     
>>> Joe wrote:
>>>  
>>>       
>>>> Cyber Source wrote:
>>>>    
>>>>         
>>>>> anthonyriga wrote:
>>>>>  
>>>>>      
>>>>>           
>>>>>> I have downloaded and writing this email using ubuntu
>>>>>> live cd. I will have to say it works great. Im using
>>>>>> my work Toshiba tecra m3 wireless PRO/Wireless 2200BG and didnt have
>>>>>> to load drivers for anything even
>>>>>> wireless works out of box. All power mgt stuff works
>>>>>> too. Looks like I will for sure making switch from
>>>>>> Fedora. Since this is my work laptop I will make
>>>>>> backup of Windows and will be adding Ubuntu as my
>>>>>> second dual boot.
>>>>>>
>>>>>>
>>>>>>  
>>>>>> ____________________________________________________________________________________
>>>>>>
>>>>>>
>>>>>> Do you Yahoo!?
>>>>>> Everyone is raving about the all-new Yahoo! Mail.
>>>>>> http://new.mail.yahoo.com
>>>>>> _______________________________________________
>>>>>> nflug mailing list
>>>>>> nflug at nflug.org
>>>>>> http://www.nflug.org/mailman/listinfo/nflug
>>>>>>
>>>>>>               
>>>>>>             
>>>>> ntfsresize will work perfect for making room on that laptop for the
>>>>> real
>>>>> OS ;)
>>>>> _______________________________________________
>>>>> nflug mailing list
>>>>> nflug at nflug.org
>>>>> http://www.nflug.org/mailman/listinfo/nflug
>>>>>
>>>>>         
>>>>>           
>>>> I'll keep that in mind too.
>>>>
>>>> I'm (sort of) running dual boot Dapper and XP Media Edition.  I like
>>>> it so far, but after Mandrake, it's a little hard getting used to the
>>>> no super user orientation it has by default.
>>>> The blinking thing won't let me into cups admin to add a printer and I
>>>> know what the only password I set is!
>>>>
>>>> My simplest problem is that Linux seems to mount NTFS partitions
>>>> read-only.
>>>> So ... what's the easiest way to create a small Fat32 partition that
>>>> both systems can write to?  Most of the (big) HD is allocated to
>>>> Linux, so that's where the space will come from - no need to resize
>>>> the Widoze partitions.
>>>>
>>>> Joe
>>>> _______________________________________________
>>>> nflug mailing list
>>>> nflug at nflug.org
>>>> http://www.nflug.org/mailman/listinfo/nflug
>>>>
>>>>     
>>>>         
>>>         Enabling the root account
>>>
>>> To enable the root account (i.e. set a password) use:
>>>
>>> sudo passwd root
>>>
>>> Enter your existing password
>>> Enter password for root
>>> Confirm password for root
>>>
>>> Also, for cups, it explains right on the cups start page....
>>> /Administrative commands are disabled in the web interface for security
>>> reasons. Please use the GNOME CUPS manager (System > Administration >
>>> Printing). |/usr/share/doc/cupsys/README.Debian.gz| describes the
>>> details and how to reenable it again.
>>> If you want to enable web administration with shadow passwords
>>> (authentication type 'basic'), put the user cupsys into group shadow by
>>> "adduser cupsys shadow" as root./
>>>
>>> /And to get rw to work for ntfs, go here.... http://www.ntfs-3g.org/
>>> /
>>>
>>> _______________________________________________
>>> nflug mailing list
>>> nflug at nflug.org
>>> http://www.nflug.org/mailman/listinfo/nflug
>>>
>>>   
>>>       
>> Thanks so much, Pete.  Printing (almost) works now.  I configured it
>> using the system menus.
>>
>> When I print from an application like OOo or kate, it works fine, but:
>> when I try to print with lp in a shell script, it doesn't get to the
>> printer.
>> When i run lpstat, it says:
>>
>> Printer: Ritas_DJ460 at sananda 'HP Deskjet 460 hpijs' (dest
>> Ritas_DJ460 at sanada)
>>
>> Then it shows the jobs I tried to print followed by:
>>
>> Error: loop in printcap- Ritas_DJ460 at sananda -> Ritas_DJ460 at sananda
>>
>> This is a local usb printer.  It's not "remote".  I told it "local"
>> during the setup.
>> Printcap has one line in it (that's not a comment):
>>
>> Ritas_DJ460|HP Deskjet 460 hpijs:rm=sananda:rp=Ritas_DJ460:
>>
>> There's no "lp" argument in printcap.  (The printcap man says there's
>> supposed to be one for a local printer.)
>>
>> /dev/usblp0 exists and is probably the printer.
>>
>> My hostname is sananda.
>>
>> When I go into the system menus and look at my printer, it shows up
>> and says its queue is empty.
>>
>> So, how do I print from a shell script?  I would like to keep using lp
>> because my duplex printing emulation package is designed that way.
>>
>> BTW, I'm looking at the NTFS stuff, but it's too much trouble to
>> install anything "extra" until I get either wireless or dialup to
>> work.  For now I have to go to Windoze to get online.
>>
>> Joe
>>
>> /etc/cups/printers.conf:
>>
>> <Printer Ritas_DJ460>
>> Info HP Deskjet 460 hpijs
>> Location localhost
>> DeviceURI usb;//HP/Deskjet%20460?serial=MY65N4Z340
>> State Idle
>> StateTime 1163286820
>> Accepting Yes
>> Shared Yes
>> JobSheets none none
>> QuotaPeriod 0
>> PageLimit 0
>> KLimit 0
>> DenyUser None
>> OpPolicy default
>> ErrorPolicy stop-printer
>> </printer>
>> _______________________________________________
>> nflug mailing list
>> nflug at nflug.org
>> http://www.nflug.org/mailman/listinfo/nflug
>>
>>     
> You should delete that printer and reinstall it via cups. Make sure that
> your hplip is the latest as well, then restart hplip and cups and
> install the printer via http://localhost:631, when choosing the
> connection for it, choose the one that shows up as "hp://"whatever...,
> then you'll have a nice way to check ink levels and align the printer
> with the hp-toolbox app, that should be in your menu as well (don't know
> about kde)
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
>   
OK.  I did that and the install seemed to work fine.  Couldn't actually 
print a test page because it would wake someone up.  I'll try that tomorrow.
But, when I go to print using lp from a regular user, it doesn't seem to 
know what queue to write it to.  I did set it as the default printer in 
cups (it's the only printer I currently have).
What am I missing?

Joe

bigbird at sananda:~/bin$ lpstat
Printer: missingprinter at sananda - ERROR: spool queue for 'missingprinter' does not exist on server sananda
check for correct printer name or you may need to run
'checkpc -f' to create queue
bigbird at sananda:~/bin$


bigbird at sananda:~/bin$ lp ./print
Status Information, attempt 1 of 3:
sending job 'bigbird at sananda+632' to missingprinter at localhost
 connecting to 'localhost', attempt 1
 connected to 'localhost'
 requesting printer missingprinter at localhost
 job 'bigbird at sananda+632' transfer to missingprinter at localhost failed
  error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL'
  sending str '^Bmissingprinter' to missingprinter at localhost
 error msg: 'spool queue for 'missingprinter' does not exist on server sananda'
 error msg: 'check for correct printer name or you may need to run'
 error msg: ''checkpc -f' to create queue'
Waiting 10 seconds before retry
Status Information, attempt 2 of 3:
sending job 'bigbird at sananda+632' to missingprinter at localhost
 connecting to 'localhost', attempt 1
 connected to 'localhost'
 requesting printer missingprinter at localhost
 job 'bigbird at sananda+632' transfer to missingprinter at localhost failed
  error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL'
  sending str '^Bmissingprinter' to missingprinter at localhost
 error msg: 'spool queue for 'missingprinter' does not exist on server sananda'
 error msg: 'check for correct printer name or you may need to run'
 error msg: ''checkpc -f' to create queue'
Waiting 10 seconds before retry
bigbird at sananda:~/bin$ su
Password:
root at sananda:/home/bigbird/bin# checkpc -f
root at sananda:/home/bigbird/bin#




_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list