FreeBSD CUPS and filePro only thing not printing

Chad McWilliams chad at computiprint.com
Tue Sep 13 13:23:43 PDT 2005


> -----Original Message-----
> From: filepro-list-bounces at lists.celestial.com 
> [mailto:filepro-list-bounces at lists.celestial.com] On Behalf 
> Of Walter Vaughan
> Sent: Tuesday, September 13, 2005 2:08 PM
> To: filepro-list at lists.celestial.com
> Subject: FreeBSD CUPS and filePro only thing not printing
> 
> 
> Here's one for the books.
> 
> FreeBSD 5.4 server
> filePro 5.0.13 FreeBSD
> HP LaserJet 1200 connected via parallel cable to server
> Samba 3.012
> 
> Machine had default lpr. Wanted to be able to use printer 
> from XP laptops. Upgraded to LPRng. FilePro prints fine. 
> Windows pretty much pissed off. Upgraded to CUPS. Followed 
> directions for installing CUPS. Installed a printer called HP.
> 
> Then edited /usr/local/etc/smb.conf
> 
>     1. Add to the [global] section:
> 
>      printcap name = cups
>      printing = cups
> 
>     2. Add a printer section
> 
>      [Printer]
>          comment = Network Printer
>          path = /var/spool/samba
>          guest ok = Yes
>          printable = Yes
> Restarted SAMBA, and configured laptops to use printer and 
> everyone is happy. Except momma. FilePro jobs just become 
> "Jobs on Hold"
> 
> Check printer maintenance. Printer type is hplaser.
> 
> lpr -Php is what was there.
> 
> cat /etc/motd | lpr -Php    works just fine from the command 
> line logged in a 
> filepro. What the heck? It can't be permissions issue.
> 
> I discovered (learned hard way) that cups uses magic like 
> hylafax does to 
> determine mime/file types in order to properly print it.
> 
> lpr -Php -oraw  was the trick. Bah.
> Gotta print RAW. Grrr.
> 
> Hopefully this will help someone else.
> 
> --
> Walter
> 

To keep from having to specify the raw, you can edit the mime.types and
mime.convs files and uncomment the line that has
application/octet-stream listed.  This will correct the problem.  If
this is from the ports collection, then these files should be in
/usr/local/etc/cups.

-Chad McWilliams



More information about the Filepro-list mailing list