Re: [Cooker] CUPS `raw' printer Q not really raw

2003-01-08 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Leon Brooks wrote:
 If you print, say, some Espon-ish dotmatrix text with a few embedded
 `Condensed Enable/Disable' commands the MIME type of your file goes from
 ASCII-with-Escapes or PCL to `data' and CUPS throws it in the bin
instead of
 printing it. By uncommenting two lines in the /etc/cups/mime.* and
restarting
 CUPS, you get _really_ raw output.


AFAIK, enabling this would also mean that cups would automatically
handle PS vs PCL data coming from windows machines via samba, so we
could remove the '-o raw' option from the default samba printing config
and all printing would work out-the-box. Till?

 It would be nice if there were some on-the-spot notice of this
misbehaviour
 somewhere; CUPS (any recent version shipped with Cooker or 9.0) itself
 doesn't sem to have any. I can see why it is done (stops gonzos from
printing
 program files, for example) but it was a bit of a bastard to debug,
hardly
 mentioned on the Web anywhere.

Unix isn't supposed to stop you from doing stupid things (and I think
Olivier's example is one that shouldn't be fixed either ;-)). What if
someone really wants a backup of a small binary on paper

Buchan

- --
|--Another happy Mandrake Club member--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+G/LJrJK6UGDSBKcRAlolAJwLCP8sXUojnC7rc/p8ylEopUrtmQCglawl
GvDEY5b3Zu6IpNrwqAqrJ9w=
=myVW
-END PGP SIGNATURE-





Re: [Cooker] CUPS `raw' printer Q not really raw

2003-01-08 Thread Leon Brooks
On Wednesday 08 January 2003 05:43 pm, Buchan Milne wrote:
 What if someone really wants a backup of a small binary on paper

They would do well to turn it into ASCII-hex or something first. (-:

Cheers; Leon