image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
LinkBack Thread Tools
  #1  
Old June 22nd, 2003, 12:29 AM
Registered User
 
Join Date: Jan 2003
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
seann is on a distinguished road
mm cups

if your totaly into it
bash# rm -R /var/spool/cups
mkdir /var/spool/cups
mkdir /var/spool/cups/tmp
chown -R daemon:admin /var/spool/cups
Reply With Quote
  #2  
Old June 22nd, 2003, 06:21 AM
symphonix's Avatar
Scratch & Sniff Committee
 
Join Date: Jul 2001
Location: The Australian Jungles
Posts: 4,025
Thanks: 2
Thanked 5 Times in 4 Posts
symphonix is on a distinguished road
So fill us in, what exactly is achieved by this?
__________________
- iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
- Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white
Reply With Quote
  #3  
Old June 22nd, 2003, 07:33 AM
Cheryl's Avatar
Rosie Moderator
 
Join Date: Dec 2001
Location: Chicago, IL, USA
Posts: 3,380
Thanks: 1
Thanked 11 Times in 10 Posts
Cheryl has a spectacular aura aboutCheryl has a spectacular aura aboutCheryl has a spectacular aura about
And what does the mm cups do?
__________________
Cheryl
Moderator
iMac 20" 2.66 GHz Intel Core 2 Duo
4 GB SDRAM
WD Firewire 160 GB

----------}--@
cheryl@macosx.com
http://web.me.com/ladyfair/Site/Welcome.html
Reply With Quote
  #4  
Old June 22nd, 2003, 12:51 PM
Registered User
 
Join Date: Jan 2003
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
seann is on a distinguished road
Something that print center repair most likley does too.
It deletes your printers "PPD" files. I quote PPD as in they're not real PPD files, but modified ones that reflect upon certain parts of the driver.

Sometimes print center is unable to access this directory because of permissions changes that were not done right. Ocasionally Disk Util will miss this on a disk repair, and thats when you go in manualy, delete everything from /var/spool/cups and /var/spool/cups/tmp - and then remake it manualy. After this, disk repair will generaly fix the permissions so they do have the right rwxxrw etc.

run "fs_usage | grep "Print Center"" one day in the terminal for some excitement to see what print center does in the background. Also, check the /var/log/cups/access_log for what your print center talks to cups about. For Example:
bash-# tail -f /var/log/cups/access_log
localhost - - [17/Jun/2003:11:11:08 -0400] "POST / HTTP/1.1" 200 80
localhost - - [17/Jun/2003:11:11:08 -0400] "POST / HTTP/1.1" 200 117


Also, if your having problems with your print center not finding printers etc, try:
bash-# tail -f /var/log/cups/error_log
E [21/Jun/2003:21:27:36 -0400] Filter "pdftops" cannot be found!
E [21/Jun/2003:21:27:36 -0400] Filter "imagetops" cannot be found!
E [21/Jun/2003:21:27:36 -0400] Filter "texttops" cannot be found!


Note: to stop these processes, use CONTROL+C to stop them.

Lovely fun!
And if you wanted to see what print center repair does in the background try:
fs_usage | grep "Insert the name of the app here."
so if you ran fs_usage just look for the print center repair program.
You'll be able to see what exactly it does.
Reply With Quote
  #5  
Old July 5th, 2003, 03:06 PM
ApeintheShell's Avatar
Registered User
 
Join Date: May 2002
Location: CO
Posts: 497
Thanks: 0
Thanked 0 Times in 0 Posts
ApeintheShell is on a distinguished road
i don't need to fix the printer, however, can i print from the cli?
__________________
1.66 ghz Intel Core Duo Mac Mini w/ Mac OS X 10.5.1,
400 mhz Power PC G3 iMac w/ Mac OS X 10.4.11,iPod Touch 16gb, Maxtor 80gb HD, Lacie 500gb and 250gb HD, 4th-generation 20gb iPod.
Reply With Quote
  #6  
Old July 5th, 2003, 04:38 PM
Darkshadow's Avatar
wandering shadow
 
Join Date: Jul 2001
Location: DE, USA
Posts: 1,532
Thanks: 0
Thanked 0 Times in 0 Posts
Darkshadow is on a distinguished road
Yes, the command lp will print from the command line. Look at its man page to see all of its options.
__________________
I am but a lonely shadow,
Doomed forever to roam and wander.
But if you allow me to pause before I must go,
I'll spin you tales of mystery and wonder.


Site: Night Productions
Reply With Quote
  #7  
Old July 6th, 2003, 12:19 AM
ApeintheShell's Avatar
Registered User
 
Join Date: May 2002
Location: CO
Posts: 497
Thanks: 0
Thanked 0 Times in 0 Posts
ApeintheShell is on a distinguished road
my pencil sharpner thanks you. =<D
__________________
1.66 ghz Intel Core Duo Mac Mini w/ Mac OS X 10.5.1,
400 mhz Power PC G3 iMac w/ Mac OS X 10.4.11,iPod Touch 16gb, Maxtor 80gb HD, Lacie 500gb and 250gb HD, 4th-generation 20gb iPod.
Reply With Quote
Reply

Bookmarks

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cups stopped with status 2 floris Networking & Compatibility 4 September 17th, 2003 09:45 AM
CUPS and SMB OH NOOO! X Rocks Unix & X11 5 October 30th, 2002 04:06 PM
Expecting more from CUPS, am I missing something? theCaptain Mac OS X System & Mac Software 9 October 2nd, 2002 06:49 PM
CUPS on 10.1.5 Cliffster Mac OS X System & Mac Software 3 October 2nd, 2002 09:31 AM
Error trying to compile CUPS janosch1980 Unix & X11 0 July 26th, 2002 10:03 AM


All times are GMT -5. The time now is 09:06 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright 2000-2010 DigitalCrowd, Inc.