On Sat, Feb 01, 2003 at 09:01:43PM -0500, Jerome Acks Jr wrote: > On Sat, Feb 01, 2003 at 10:15:15AM -0500, Thomas H. George wrote: > > Embarassed. Part of the problem was a defective ink cartridge. > > > > lp /usr/share/cups/data/testprint.ps > > > > is now ok. But termial problem persists. lp printtest prints nothing > > and generates the error_log previously reported. printtest is a one > > line of plain text in a file produced by vi. I also tried copying dmesg to a > > file and trying to print that file with lp, again with no output. > > If you ran "gs printtest", I think you will get a similar error > message. Cupsys seems to be passing the file to gs-esp without first > converting it to postscript. Your cups mimetypes may not be configured > correctly. > > What does "file printtest" report?
ASCII text > > Check /etc/cups/mime.convs; it should have section that reads: > > # PostScript filters > # > > application/pdf application/postscript 33 pdftops > application/postscript application/vnd.cups-postscript 66 pstops > application/vnd.hp-HPGL application/postscript 66 hpgltops > image/* application/vnd.cups-postscript 66 imagetops > application/x-cshell application/postscript 33 texttops > application/x-perl application/postscript 33 texttops > application/x-shell application/postscript 33 texttops > text/plain application/postscript 33 texttops > text/html application/postscript 33 texttops This section is present > > > The "texttops" filter should be located: /usr/lib/cups/filter/texttops This filter is present > > Also, Check /etc/cups/mime.types; in the section > "Text files...", you should have an entry: > > text/plain txt printable(0,1024) There was no such section. I tried adding one, stopping and restarting cupsys then trying lp printtest - again, nothing printed and the error_log looks the same. Perhaps my addition was incomplete or incorrect. I'm inserting the mime.convs file. Tom George # # "$Id: mime.convs,v 1.16 2002/04/23 17:54:04 mike Exp $" # # MIME converts file for the Common UNIX Printing System (CUPS). # # Copyright 1997-2002 by Easy Software Products. # # These coded instructions, statements, and computer programs are the # property of Easy Software Products and are protected by Federal # copyright law. Distribution and use rights are outlined in the file # "LICENSE.txt" which should have been included with this file. If this # file is missing or damaged please contact Easy Software Products # at: # # Attn: CUPS Licensing Information # Easy Software Products # 44141 Airport View Drive, Suite 204 # Hollywood, Maryland 20636-3111 USA # # Voice: (301) 373-9603 # EMail: [EMAIL PROTECTED] # WWW: http://www.cups.org # ######################################################################## # # Format of Lines: # # source/type destination/type cost filter # # General Notes: # # The "cost" field is used to find the least costly filters to run # when converting a job file to a printable format. # # All filters *must* accept the standard command-line arguments # (job-id, user, title, copies, options, [filename or stdin]) to # work with CUPS. # ######################################################################## # # PostScript filters # application/pdf application/postscript 33 pdftops application/postscript application/vnd.cups-postscript 66 pstops application/vnd.hp-HPGL application/postscript 66 hpgltops image/* application/vnd.cups-postscript 66 imagetops application/x-cshell application/postscript 33 texttops application/x-perl application/postscript 33 texttops application/x-shell application/postscript 33 texttops text/plain application/postscript 33 texttops text/html application/postscript 33 texttops ######################################################################## # # Form filter... # # This filter does not currently exist, but the file format is defined # in the IDD and registered with the IANA for future use... # #application/vnd.cups-form application/vnd.cups-postscript 33 formtops ######################################################################## # # Raster filters... # image/* application/vnd.cups-raster 100 imagetoraster # pstoraster is now part of ESP Ghostscript... #application/vnd.cups-postscript application/vnd.cups-raster 100 pstoraster ######################################################################## # # Text Files # # Added by THG # text/plain txt printable(0,1024) ######################################################################## # # Raw filter... # # Uncomment the following filter and the application/octet-stream type # in mime.types to allow printing of arbitrary files without the -oraw # option. # #application/octet-stream application/vnd.cups-raw 0 - # # End of "$Id: mime.convs,v 1.16 2002/04/23 17:54:04 mike Exp $". # > > -- > Jerome -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]