Spool File Format

See 
http://philippe.houdoin.free.fr/phil/beos/pdf_writer/spool_file_format_for_R4.png

Filename: Description@8DigitNumber

Location: /boot/home/config/settings/printers/PRINTER/

File Contents

struct print_file_header {
       int32   version; // LSB first; minor: version & 0xffff; major: version >> 16
       int32   page_count;
       off_t   first_page;
       int32   _reserved_3_;
       int32   _reserved_4_;
       int32   _reserved_5_;
};

Flattened BMessage JobMessage {
	float xresh, yresh, scaling?
	BRect paper_rect
	BRect printable_rect
	int32 orientation
}

page_count times {
	uint32 pictureCount;
	pictureCount times {
		off_t offset_to_next_picture;
		byte reserved[40];
		BPoint point;
		BRect rect;
		Flattended BPicture;
	}
}

Attributes

MIMS BEOS:TYPE
	application/x-vnd.Be.printer-spool
LONG _spool/Page Count
	2
TEXT _spool/Description
	Bookmarks.gbe
TEXT _spool/Printer 
	PDF
CSTR _spool/Status 
"Processing", set by print_server while printing.
"Waiting", set by BPrintJob when it's fully written.
"Error", set by print_server if driver failed.
TEXT _spool/MimeType 
	application/x-vnd.gobe.productive�