Displaying 10 results from an estimated 10 matches for "printmode".
Did you mean:
printcode
2010 Sep 27
1
printmode on smbclient 2:3.4.7~dfsg-1ubuntu3.2
What happened to the command "printmode" on smbclient?
I'm using smbclient 2:3.4.7~dfsg-1ubuntu3.2, and I need to print a
binary file directly to the printer, without interpreting postscript or
pdf on it. It used to work fine on smbclient 3.0.28a-1ubuntu4.13.
2005 Dec 28
1
Remote print problem
I am running Centos 4 and I am trying to use a printer on a Windows
domain that is connected to a Windows XP Pro computer.
If I do
smbclient //ComputerName/PrinterName password -U UserName
and then
/> printmode text
/> print /tmp/test.txt
the printer works.
However, if I setup the printer and check the CUPS printers.conf, it
appears to be correct, but I get NT_STATUS_UNSUCCESSFUL when I print
from OpenOffice or try to print from an Apple iBook.
Any suggestions on what I should check?
Todd
--
Ar...
2003 Nov 25
1
HP560C
Hey,
I'm using an HP560C printer on a Redhat 9 linux server and I can't get it to print. Using smbclient I can print a text page. Using smbclient I can find the printmode is graphical but when I try to print anything graphical it doesn't work. I copied my old smb.conf file from Redhat 8 and it had worked. I have tried changing printing = to cups but that didn't help. Yes my printer is set to share through cups if that make any difference. The hp560c icon sho...
2005 Aug 22
2
3.0.20 documentation bug
3.0.20 documentation bug:
The smbclient's printmode command (which didn't actually do anything)
has been removed in samba 3.0.20 but is still documented in the
smbclient man page.
--
Roger Cornelius rac@tenzing.org
1998 Sep 14
2
AW: How to print to CLIENT local printer?
...quot; specifies the commands which should be executed.
Several commands are separated by ";"
The above script prints files ready for a pc printer. Make sure you create
right formated print files (like linefeed conrtol). If you use windows
output files change "-c .." to: -c 'printmode graphics';'print -'
***IMPORTANT*** As your password can be read in this script use a pc user
with no rights other than printing to the specified printer. Or, without use
level security, do NOT use this user/password on other shares. Make sure the
script can only be read by the lpd dam...
2001 Mar 29
1
Samba Printing to Win98
I am trying to allow printing from my linux box to my win98 box, to which my
epson stylus printer is attached. It's just not happening...something tells me
I'm flirting with a world of pain.
I *can* print a file by going:
smbclient //rory/EPSON
translate
print /etc/group
but I cannot print from applications, nor can i use smbprint. I tried going:
cat /etc/passwd | sh -x smbprint
1999 Apr 08
0
Keep-timestamp-in-`get'-patch for smbclient in samba-2.0.3
...7bit
--- client/client.c.Org Sun Feb 28 07:08:58 1999
+++ client/client.c Thu Apr 8 12:42:08 1999
@@ -79,6 +79,13 @@
BOOL prompt = True;
+/* s.n. Thu Apr 8 03:52:51 1999 my default is True (keep) */
+#if 0
+static BOOL timestamp = False;
+#else
+static BOOL timestamp = True;
+#endif
+
int printmode = 1;
static BOOL recurse = False;
@@ -466,6 +473,19 @@
DEBUG(0, ("Total number of bytes: %d\n", dir_total));
}
+/****************************************************************************
+ get one fileinfo, used in do_get() s.n. Wed Apr 7 19:17:50 1999
+ Ugly. Should write...
1997 Oct 23
1
NT domain logon questions
Hi. Myself and a anti-Micro$oft companion tried to get
NT domain logons working yesterday and seem pretty close, but
not quite.
Samba is 1.9.18alpha3, server is an Ultra-2 running SunOS 5.5.1.
Encrypted passwords seem to be working, a la smbclient and mostly
from NT, "mostly" because it *seemed* to be working but we did
have some problems with home directories in smbpasswd changing
2003 Dec 01
0
No subject
...lue for unused fid field in trans2 secondary request */
#define FID_UNUSED (0xFFFF)
+#define HASHBYTES 1024
+#define TICKBYTES 10240
+
time_t newer_than = 0;
int archive_level = 0;
@@ -77,6 +82,8 @@
mode_t myumask = 0755;
BOOL prompt = True;
+BOOL hash = False;
+BOOL tick = False;
int printmode = 1;
@@ -651,6 +658,7 @@
uint16 attr;
size_t size;
off_t nread = 0;
+ off_t hashbytes = HASHBYTES;
GetTimeOfDay(&tp_start);
@@ -703,10 +711,29 @@
DEBUG(0,("Error writing local file\n"));
break;...
2003 Dec 01
0
No subject
...lue for unused fid field in trans2 secondary request */
#define FID_UNUSED (0xFFFF)
+#define HASHBYTES 1024
+#define TICKBYTES 10240
+
time_t newer_than = 0;
int archive_level = 0;
@@ -77,6 +82,8 @@
mode_t myumask = 0755;
BOOL prompt = True;
+BOOL hash = False;
+BOOL tick = False;
int printmode = 1;
@@ -651,6 +658,7 @@
uint16 attr;
size_t size;
off_t nread = 0;
+ off_t hashbytes = HASHBYTES;
GetTimeOfDay(&tp_start);
@@ -703,10 +711,29 @@
DEBUG(0,("Error writing local file\n"));
break;
}
-
+
+ if (hash) {
+ while (nread >= hashbytes)...