search for: getprint

Displaying 20 results from an estimated 29 matches for "getprint".

Did you mean: get_print
2002 Oct 07
9
GetPrinter Level 2 does not get devmode
Hi all, I have uploaded the printer drivers succesfully on RedHat Linux/ Samba 2.2.4 server. I can download and print without any problems. But when I do Windows API call GetPrinter with PRINTER_INFO_2, the devmode in printer_info is always null. My code looks like HANDLE hPrinter=NULL; PRINTER_DEFAULTS pDefaults; pDefaults.DesiredAccess = PRINTER_ACCESS_USE; pDefaults.pDatatype=NULL; pDefaults.pDevMode=NULL; BOOL b = OpenPrinter(cPrinterName,&...
2006 May 31
1
printing fails for SPOOLSS OpenPrinterEx request
...client server SMB Read AndX Request, FID: 0x7168, 1024 bytes at offset 0 server client DCERPC Bind_ack: call_id: 1 accept max_xmit: 4280 max_recv: 4280 client server SPOOLSS OpenPrinterEx request, \\jackdaw\test server client SPOOLSS OpenPrinterEx response client server SPOOLSS GetPrinter request, level 2 server client SPOOLSS GetPrinter response, level 2, Insufficient buffer client server SPOOLSS GetPrinter request, level 2 server client SPOOLSS GetPrinter response, level 2 client server SPOOLSS OpenPrinterEx request, \\jackdaw\test server client SPOOLSS OpenPrinte...
2003 Jan 31
5
Using working devmode from windows clients on samba server?
Samba 2.2.7a (built from samba RPM's) with LPRng print subsystem. I've been having troubles with some print drivers which fail to work properly when uploaded to the samba server whether devmode gets left as null or a default devmode is used. Some drivers do not leave you in a position where you can "tickle" the driver to generate a devmode with page orientation etc before
2009 Sep 06
2
smbd uses 10 to 15% CPU w/Vista client
...2.168.40.46 192.168.40.2 TCP [TCP segment of a reassembled PDU] 360 1.023906 192.168.40.2 192.168.40.46 TCP microsoft-ds > 58439 [ACK] Seq=198155 Ack=202398 Win=41624 Len=0 361 1.024887 192.168.40.46 192.168.40.2 SPOOLSS GetPrinter request, level 4 362 1.027236 192.168.40.2 192.168.40.46 SMB Pipe TransactNmPipe Response, FID: 0x724f 363 1.030310 192.168.40.46 192.168.40.2 SMB Read AndX Request, FID: 0x724f, 3112 bytes at offset 0 364 1.030379 192.168.40.2...
2003 Jul 28
3
cupsaddsmb claims to work but fails
...ssion setup ok Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.3a-14 for Debian] cmd = setdriver MomijiPrintingSystem MomijiPrintingSystem setdriver MomijiPrintingSystem MomijiPrintingSystem Succesfully set MomijiPrintingSystem to driver MomijiPrintingSystem. ============================================ getprinter output root@momiji:/etc/samba/drivers# rpcclient -U root%xxxxxxx -c "getprinter MomijiPrintingSystem" localhost INFO: Debug class all level = 3 (pid 26873 from pid 26873) session setup ok Domain=[NAVI] OS=[Unix] Server=[Samba 2.2.3a-14 for Debian] cmd = getprinter MomijiPrintingSyste...
2008 Feb 21
1
GDI Printer problem
...ms. However it's not working. When a user maps the printer only a message appears "printing not possible". So I looked at the printserver and compared everything with a local printer on my XP notebook and found the following: aruba:~ # rpcclient -U'_pkoch%PW' ancona -c 'getprinter C5650 2' drivername:[OKI C5650] printprocessor:[OPHJPP3] printprocessor:[winprint] attributes:[0xa40] attributes:[0x1848] ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ WIN XP samba I used tdbtool to chang...
2003 Jul 28
3
Problem with rpcclient command
Hi, I am trying to query a W2K PDC for info on a print driver by issuing the following command: rpcclient -Uxxx%yyy -d 3 -c 'getdriver "HP LaserJet 8000 Series PS"' abert The response I get is: Initialising global parameters params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Processing section "[global]" added interface
2003 Dec 11
1
No joy adding a CUPS printer
...;enumprinters' cmd = enumprinters flags:[0x800000] name:[\\localhost\lp] description:[\\localhost\lp,lp,HP OfficeJet 6110 Foomatic/hpijs (recommended)] comment:[HP OfficeJet 6110 Foomatic/hpijs (recommended)] [root samba]# rpcclient localhost -Uroot%xxxx -c 'getprinter lp 2' cmd = getprinter lp 2 servername:[\\localhost] printername:[\\localhost\lp] sharename:[lp] portname:[Samba Printer Port] drivername:[lp] comment:[HP OfficeJet 6110 Foomatic/hpijs (recommended)] location:[] sepfile:[]...
1998 Nov 10
1
printer drivers question
I'm setting up faxing from our server using mgetty+sendfax, and the setup from http://relay.boerde.de:82/~horstf/ Basically, what this does is collect the print job normally via samba print services, then asks the user what number to fax it to. The asking is done by a program run on the user's system at startup called 'responder'. I have installed the print drivers on to the
2005 Jun 01
1
"Unable to display security information"
Hello, When adding a new printer it appears in the list and the administrator can add the printer, but no one else can. The security tab for printers is coming up with an error ("Unable to display security information") when we try to access it from windows (via the printers and faxes area). This does not happen with the printers that are already installed (it comes up like a normal
2005 Dec 13
0
"Unable to display security information" on windows printers security tab
...d" I also tried with SERNET samba3 rpm version 3.0.20b, same problem. When browsing the archive of this list, i found a post describing the same problem, and Gerald (Jerry) Carter asked for the ouput of this command: [root@medellin cups]# rpcclient medellin -U CCI_74+administrateur -c 'getprinter X535-C3 3' Password: flags:[0x4] DACL ACL Num ACEs: 3 revision: 2 --- ACE type: ACCESS ALLOWED (0) flags: 2 Specific bits: 0x0 Permissions: 0xe0000000: Generic execute access Generic write ac...
2010 Sep 24
0
Question about rpcclient
...erning Samba, CUPS and rpcclient: When I add a printer using CUPS and share it with samba I enter a location and a comment, the latter is shown in Microsoft Windows network neighborhood as a comment (as it should be), but the location is not set. When I do a "rpcclient -U user%pass -c 'getprinter <printer> 2' localhost" I get some nice info, but the location is not set (but in CUPS it is). When I open the printer preferences in Microsoft Windows and change the location it is saved and shown using "rpcclient...". How Can I add the location without using Microft...
2006 Mar 21
0
Printer "Unable to display security information"
...security tab of the printer properties. This happened suddenly with no changes made to the samba server. Only samba designated admins can use these printers; regular users may not. This is RHEL4, samba 3.0.10 (stock red hat) Here is the output of " rpcclient samba -U adminuser%pw -c 'getprinter <printername> 3' " flags:[0x4] DACL ACL Num ACEs: 3 revision: 2 --- ACE type: ACCESS ALLOWED (0) flags: 2 Specific bits: 0x0 Permissions: 0xe0000000: Generic execute access Gene...
2017 Oct 25
0
[Announce] Samba 4.6.9 Available for Download
...ecks when changing DOS attributes. * BUG 13065: net: Groupmap cleanup should not delete BUILTIN mappings. * BUG 13076: Enabling vfs_fruit results in loss of Finder tags and other xattrs. o Samuel Cabrero <scabrero at suse.de> * BUG 12993: s3: spoolss: Fix GUID string format on GetPrinter info. o David Disseldorp <ddiss at samba.org> * BUG 12144: smbd/ioctl: Match WS2016 ReFS set compression behaviour. o Amitay Isaacs <amitay at gmail.com> * BUG 13012: ctdb-daemon: Fix implementation of process_exists control. * BUG 13021: ctdb: GET_DB_SEQNUM control can c...
2017 Oct 25
0
[Announce] Samba 4.6.9 Available for Download
...ecks when changing DOS attributes. * BUG 13065: net: Groupmap cleanup should not delete BUILTIN mappings. * BUG 13076: Enabling vfs_fruit results in loss of Finder tags and other xattrs. o Samuel Cabrero <scabrero at suse.de> * BUG 12993: s3: spoolss: Fix GUID string format on GetPrinter info. o David Disseldorp <ddiss at samba.org> * BUG 12144: smbd/ioctl: Match WS2016 ReFS set compression behaviour. o Amitay Isaacs <amitay at gmail.com> * BUG 13012: ctdb-daemon: Fix implementation of process_exists control. * BUG 13021: ctdb: GET_DB_SEQNUM control can c...
2002 Jul 22
1
Printer Migration hackery
...;) { $line = $_; chop $line; if ( $line =~ /name:\[/ ) { $line =~ s/.+\\\\.+\\//; $line =~ s/]//; $printers{$line}{"name"}=$line; } } close RPCCLIENT; foreach $printer ( sort keys %printers ) { open RPCCLIENT, "rpcclient $myname -U $USER%$PASSWD -c 'getprinter $printer 2' | grep ':\\[' |"; while (<RPCCLIENT>) { $line = $_; chop $line; $line =~ s/^\t//; ( $attrib, $value ) = split(/:/,$line); $value =~ s/[\[\]]//g; $printers{$printer}{$attrib} = $value; } close RPCCLIENT; } $/ = ""; open RPCC...
2017 Nov 02
0
[Announce] Samba 4.7.1 Available for Download
...loss of Finder tags and other xattrs. o Alexander Bokovoy <ab at samba.org> * BUG 9613: man pages: Properly ident lists. * BUG 13081: smb.conf.5: Sort parameters alphabetically. o Samuel Cabrero <scabrero at suse.de> * BUG 12993: s3: spoolss: Fix GUID string format on GetPrinter info. o Amitay Isaacs <amitay at gmail.com> * BUG 13042: Remote serverid check doesn't check for the unique id. * BUG 13056: CTDB starts consuming memory if there are dead nodes in the cluster. * BUG 13070: ctdb-common: Ignore event scripts with multiple '.'s. o...
2017 Nov 02
0
[Announce] Samba 4.7.1 Available for Download
...loss of Finder tags and other xattrs. o Alexander Bokovoy <ab at samba.org> * BUG 9613: man pages: Properly ident lists. * BUG 13081: smb.conf.5: Sort parameters alphabetically. o Samuel Cabrero <scabrero at suse.de> * BUG 12993: s3: spoolss: Fix GUID string format on GetPrinter info. o Amitay Isaacs <amitay at gmail.com> * BUG 13042: Remote serverid check doesn't check for the unique id. * BUG 13056: CTDB starts consuming memory if there are dead nodes in the cluster. * BUG 13070: ctdb-common: Ignore event scripts with multiple '.'s. o...
2015 May 12
0
[Announce] Samba 4.1.18 Available for Download
...redits = 65535". * BUG 11144: Fix memory leak in SMB2 notify handling. * BUG 11164: s4:auth/gensec_gssapi: let gensec_gssapi_update() return NT_STATUS_LOGON_FAILURE for unknown errors. o Andreas Schneider <asn at samba.org> * BUG 10984: spoolss: Clear PrinterInfo on GetPrinter error. * BUG 11008: s3-util: Fix authentication with long hostnames. * BUG 11037: s3-libads: Fix a possible segfault in kerberos_fetch_pac(). * BUG 11058: utils: Fix 'net time' segfault. * BUG 11066: s3-pam_smbpass: Fix memory leak in pam_sm_authenticate(). * BUG 11127...
2015 May 12
0
[Announce] Samba 4.1.18 Available for Download
...redits = 65535". * BUG 11144: Fix memory leak in SMB2 notify handling. * BUG 11164: s4:auth/gensec_gssapi: let gensec_gssapi_update() return NT_STATUS_LOGON_FAILURE for unknown errors. o Andreas Schneider <asn at samba.org> * BUG 10984: spoolss: Clear PrinterInfo on GetPrinter error. * BUG 11008: s3-util: Fix authentication with long hostnames. * BUG 11037: s3-libads: Fix a possible segfault in kerberos_fetch_pac(). * BUG 11058: utils: Fix 'net time' segfault. * BUG 11066: s3-pam_smbpass: Fix memory leak in pam_sm_authenticate(). * BUG 11127...