How to implement samba printing without creating spool temp file in gateway

lorin liu jordanliuster at gmail.com
Tue Nov 4 07:39:39 GMT 2008


Hi all,
In function of print_job_start()(samba/source/printing/printing.c), I notice
that when create a new printing job, samba printing will see if you have
sufficient disk space and if have then create a spool temp file(smb_mkstemp) in
tmp folder.
However, if my printer server has limit disk space(such as,
embedded gateway, contains samba server, printer server and a printer
device), so I don't want to create any spool temp file in gateway, and
expect that samba printing transfer data formatted(from client)
directly to gateway and then write to printer device immediately.
Do you have any suggestions on samba printing if I want to write a new printif
type with no spool file?
Thanks.

-- 
Best Regards,

Lorin


More information about the samba-technical mailing list