mirror of
https://github.com/samba-team/samba.git
synced 2025-11-28 12:23:49 +03:00
added support for printing via smbwrapper
You can print using "cp filename /smb/SERVER/PRINTER/jobname" You can list the current printqueue using ls
This commit is contained in:
@@ -25,8 +25,9 @@
|
||||
#define _CLIENT_H
|
||||
|
||||
/* the client asks for a smaller buffer to save ram and also to get more
|
||||
overlap on the wire */
|
||||
#define CLI_BUFFER_SIZE (0x4000)
|
||||
overlap on the wire. This size gives us a nice read/write size, which
|
||||
will be a multiple of the page size on almost any system */
|
||||
#define CLI_BUFFER_SIZE (0x4400)
|
||||
|
||||
/*
|
||||
* These definitions depend on smb.h
|
||||
@@ -45,6 +46,16 @@ typedef struct file_info
|
||||
pstring name;
|
||||
} file_info;
|
||||
|
||||
struct print_job_info
|
||||
{
|
||||
uint16 id;
|
||||
uint16 priority;
|
||||
size_t size;
|
||||
fstring user;
|
||||
fstring name;
|
||||
time_t t;
|
||||
};
|
||||
|
||||
struct pwd_info
|
||||
{
|
||||
BOOL null_pwd;
|
||||
|
||||
Reference in New Issue
Block a user