simonb.com: blog > articles from November, 2007

skip to content
You are here: 

In November, 2007 we wrote…

Tuesday, 27 November 2007

Tweaking Words NumPages Field

How to change the number of pages (NumPages) displayed in Word documents. Edit those field codes.

read more

Tags: 

 

Tuesday, 27 November 2007

China Moon Pictures

China has published pictures from its first moon orbiter.

read more

Tags: 

 

Sunday, 25 November 2007

DTrace

Interesting talk by Bryan Cantrill on DTrace. At the beginning he rips into Dreaming in Code by Scott Rosenberg. Scott’s talk at Google is here.

read more

Tags: 

 

Wednesday, 21 November 2007

Mac Cups Print file was not accepted (client-error-document-format-not-supported)!

“Print file was not accepted (client-error-document-format-not-supported)!”

Is the error line appearing in /var/log/cups/error_log on the Mac

The reason was this line:

application/octet-stream application/vnd.cups-raw 0 -

in file /etc/cups/mime.convs on the server being commented out.

To enable raw printing of octet streams (what the mac sends with foomatic etc.) - the line needs to be uncommented. Otherwise the job will be rejected. You can only see this in the cups error_log file on the server with the cups LogLevel set to debug:

print_job: request file type is application/octet-stream.
Print-Job client-error-document-format-not-supported: Unsupported format ‘application/octet-stream’!

Remember Luke.

read more

Tags: