Re: [gentoo-user] cups and ghostprint ESP
On Tuesday 21 February 2006 05:45 pm, Harry Putnam wrote: Having trouble getting cups to work with a smb installed printer. It connects ok apparently but has trouble finding ghostscrip ESP. Googling this group on `cups ESP' I find a few mentions but mostly about needing to install it. I have it installed as indicated by esearch: * app-text/ghostscript-esp Latest version available: 7.07.1-r10 Latest version installed: 7.07.1-r10 [...] The error output with cups set to log debug indicates it cannot find the ESP ghostscript files: [...] I [21/Feb/2006:17:45:52 -0600] Full reload complete. I [21/Feb/2006:17:46:11 -0600] Adding start banner page none to job 22. I [21/Feb/2006:17:46:11 -0600] Adding end banner page none to job 22. I [21/Feb/2006:17:46:11 -0600] Job 22 queued on 'harvey-hp7130-usb' by 'root'. E [21/Feb/2006:17:46:11 -0600] Unable to convert file 0 to printable format for job 22! I [21/Feb/2006:17:46:11 -0600] Hint: Do you have ESP Ghostscript installed? I [21/Feb/2006:17:46:11 -0600] Hint: Try setting the LogLevel to debug. [...] Do you have foomatic-filters installed? It includes wrapper scripts around ghostscript that do the work. -- Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org ...for in Ulthar, according to an ancient and significant law, no man may kill a cat. -- H.P. Lovecraft -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] got lprng?
On Sunday 19 February 2006 10:09 pm, maxim wexler wrote: This looks like an elaborate form of echo -e This text should appear on the printer\f /dev/lp0 Which works fine. Also, from apsfilter I was able to print a test page. So the hardware seems to be OK. OK, then. Now, if I remember correctly, you require pure text printing using the printer's built-in bitmap fonts, correct? Is this an absolute requirement, or is the requirement just to be able to print text files? If the latter, then CUPS may still be an option. CUPS will convert the text file to Postscript, then pipe it through Ghostscript and print it out on the printer in graphical mode. The disadvantages of this method are a) it will probably be slower than pure text printing, b) the font used to print the text will be something like Courier instead of the printer's built-in font, and c) if your print file includes printer escape sequences (to change font size, etc.) it won't work correctly. These issues can be worked around by defining a raw CUPS queue and manually filtering the input file through unix2dos or something similar, Now, supposing that you do require pure text printing, you'll want an /etc/printcap entry like the following: lp:sd=/var/spool/lpd/%P :force_localhost :lp=/dev/lp0 :filter=/usr/lib/filters/lpf Once you've created the entry, run checkpc to check for any configuration errors, and /etc/init.d/lprng start - let's see if that does the trick. I think the force_localhost may resolve your hostname issues. -- Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org ...for in Ulthar, according to an ancient and significant law, no man may kill a cat. -- H.P. Lovecraft -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] trying kde no support for hal??
On Monday 20 February 2006 02:57 pm, Iain Buchanan wrote: I still get the message no support for HAL on this system in the peripherals storage media setup. A stupid question - do you have the 'hal' USE flag set in make.conf? -- Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org ...for in Ulthar, according to an ancient and significant law, no man may kill a cat. -- H.P. Lovecraft -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] New printer setup - having trouble with CUPS
On Sunday 19 February 2006 03:29 pm, Jeff wrote: Hey guys. Just my two cents - I'm having trouble configuring the Epson C86, which is odd, because I've used this printer with Gentoo/CUPS before, and never had any problems. It's odd that gimp-print is installed, and I don't see the drivers popping up in the web interface. I'll keep you posted! Have you built things with the ppds USE flag, and do you have the various foomatic-* packages installed? -- Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org ...for in Ulthar, according to an ancient and significant law, no man may kill a cat. -- H.P. Lovecraft -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] got lprng?
On Sunday 19 February 2006 05:14 pm, Glenn Enright wrote: On Monday 20 February 2006 11:29, Manuel A. McLure wrote: /bin/echo -e -n Hello\\015\\012World\\015\\012\\014 textfile.txt I am having similar difficulty getting my hp720c working. After trying the test you suggested, I still got just nothing on the printer. I have both parport, parport_pc, and lp modules loaded, which gives me the lp0 device. any suggestions? # ll lp0 crwxrwxrw- 1 root lp 6, 0 Feb 20 14:08 lp0 PS the printer does work in knoppix. Does this seem like probably a kernel issue? Possibly - try running dmesg after the cat textfile.txt /dev/lp0 and see if anything shows in the kernel logs. -- Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org ...for in Ulthar, according to an ancient and significant law, no man may kill a cat. -- H.P. Lovecraft -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CUPS not allowing configuration from browser
On Thursday 09 February 2006 05:41 pm, Mark Knecht wrote: On 2/9/06, Manuel McLure [EMAIL PROTECTED] wrote: Mark Knecht wrote: Hi Brett, Yes, I zapped it and tried restarting it but I get complaints. Try pgrep cupsd and see if there's a PID listed. If so, do pkill cupsd /etc/init.d/cupsd zap /etc/init.d/cupsd start Good so far: [EMAIL PROTECTED] ~ $ su - Password: lightning ~ # pgrep cupsd 8015 lightning ~ # pkill cupsd lightning ~ # /etc/init.d/cupsd zap lightning ~ # /etc/init.d/cupsd start * Starting cupsd ... [ ok ] lightning ~ # I then go to http://localhost:631 and choose Manage Printers. I see both printers which are on the network. One is on my son's FC2 machine, and is currently default. I also see the printer on the Mac. I clock on the Mac printer's 'Set as default' button. I'm taken to a page that says: Forbidden You don't have permission to access the resource on this server. This doesn't happen on the 'Print Test page' button. That one correctly sends a test page to each printer. However all other buttons result in the message above. The used to allow me to type in a password and do what I needed. I'm still quite concerned that the cupsd config files are hosed. As I've said there is nothing in the printers.conf file except a couple of header lines. Wait - are these printers physically on this machine? Or are they on a CUPS server on another box? You can only manage local printers using localhost:631 - if they're on a remote box you'll have to do remotebox:631 to manage them. As a test, try the Add Printer button at the bottom of the list of printers. If that asks you for a username/password, then that's what the problem is. I'm supposing that during all of this you've exited and restarted your browser at least once - otherwise the browser may be sending expired credentials. Note that if you don't have any local printers, you don't need to run cupsd to access them. All you need is to enter the hostname of your CUPS server in the ServerName parameter in /etc/cups/client.conf. Any cups-aware app will use the printers advertised by that server. -- Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org ...for in Ulthar, according to an ancient and significant law, no man may kill a cat. -- H.P. Lovecraft -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CUPS not allowing configuration from browser
On Thursday 09 February 2006 06:40 pm, Mark Knecht wrote: I take this back. After restarting the broswer I get the main page but none of the options work. They are all refuled potrt messages. Now, with cupsd not running locally it seems that there would be no way to set the default printer, or am I missing something? This machine is lightning. It sees two printers on the network. In windows IPP terms they are \\MINI\PSC1600 and \\CHRISTMAS\Epson With cupsd not running I can still do lpstat and get info about the printers: lightning ~ # lpstat -a [EMAIL PROTECTED] accepting requests since Jan 01 00:00 PSC1600 accepting requests since Jan 01 00:00 lightning ~ # But the system has decided that the Eson is always the default. Due to limitations of a few low-end Linux programs that cannot choose a printer I sometimes need to change the default to get the print out to go where I want it to go. If you don't mind getting you hands dirty with the command line, try the following as your normal user ID: lpoptions -d PSC1600 This should set the default printer for the logged-in user. The system default printer is determined by the server, not the client, but it can be overriden on a user-by-user basis in this way. The lpoptions command creates a .lpoptions file in the home directory of the user with the default specified. Or you can set the PSC1600 to be the network-wide default printer by connecting to remoteserver:631 and configuring it there - of course if you have a ~/.lpoptions file that will override it. -- Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org ...for in Ulthar, according to an ancient and significant law, no man may kill a cat. -- H.P. Lovecraft -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Lost my coreutils
On Sunday 05 February 2006 11:35 am, Mike Williams wrote: On Sunday 05 February 2006 18:27, Alexander Skwar wrote: Ehm. Which possibly creates a chicken-egg problem. How do you make the symlink from ln - busybox without having /bin/ln in the first place ? There's no requirement for ln being a symlink. Instead, you could also copy busybox to ln - cp busybox ln. cp is from coreutils too :) Ah, but busybox does not have to be linked to the command names - you can do busybox ln -s busybox ln Any of the commands that busybox provides when linked/symlinked are available by just calling busybox with the name of the command as the first argument. -- Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org ...for in Ulthar, according to an ancient and significant law, no man may kill a cat. -- H.P. Lovecraft -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CUPS -- fails better!
On Monday 23 January 2006 07:20 pm, maxim wexler wrote: This time the printer whirred to life printed the first line of text across the very top of the paper then quit with the orange error light blinking. BTW, this is a DeskJet 612C using the hpijs driver. What I expect is happening is that the text file has only linefeeds (\n or ASCII 0x0a) instead of carriage return/linefeed (\r\n or ASCII 0x0d 0x0a) so the head is never getting the command to go back to the start of the line and the line length overflows. This is one reason why raw printing can be a problem. What you really want is a queue that merely replaces \n with \r\n instead of a true raw queue. CUPS does not seem to provide this, instead preferring to convert to postscript and then to raster. Personally I don't see this as a problem, but your needs are probably different than mine. One option to solve this is to emerge unix2dos and use the following command line: unix2dos filetoprint.txt | lp -l -- Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org ...for in Ulthar, according to an ancient and significant law, no man may kill a cat. -- H.P. Lovecraft -- gentoo-user@gentoo.org mailing list