php-windows Digest 30 Oct 2006 20:55:30 -0000 Issue 3065

Topics (messages 27259 through 27261):

Re: PHP_PRINTER.DLL - NetBIOS prints, TCP/IP doesn't
        27259 by: Frank M. Kromann

Re: Comunication between php and a window service
        27260 by: Frank M. Kromann

Alternative to ldap_mod_replace and ldap_modify...
        27261 by: Phillip Terry

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
You can use any shared printer as long as the server can access it without
the use of username and password. Make sure your server has access to the
printer (for the user running the web server).

That said - server side printing is designed to be server side. The
browser comes with a nice printer function and it can print on any client
side printers without any problems. Just format the content for printing
and call javascript:window.print(); There should not be a need for fancy
printer extension in order to print on a local printer.

- Frank

> Hi you all,
> 
> I'm trying to print on clients printers. Now it works fine, but only
using 
> NetBIOS clients names in a LAN.
> 
> I mean that using the following sintax it does work fine
> 
> $printer = "\\\\"."CLIENTNAME"."\\"."PRINTERNAME";
> $handle = printer_open($printer);
> 
> but suppose that CLIENTNAME ip is 192.168.0.15, well if I try printing
using
> 
> $printer = "\\\\"."192.168.0.15"."\\"."PRINTERNAME";
> $handle = printer_open($printer);
> 
> doesn't work and if you look @ apache errors.log file you understand
that 
> printer was not found.
> 
> If printing "via tcp" is not possible... how do I print on a remote
site?
> 
> I tried a VPN connection form CLIENTNAME and SERVER (ip 192.168.0.100)
using 
> Windows XP built in VPN server and client.
> Connection succeeded, but browsing network for workgorup computers, from
the 
> SERVER I don't see the CLIENTNAME. Instead of this I tried to run the 
> classic Run... with \\192.168.0.15 and WOW I've been prompted for user
name 
> and password. WOW, it does work, I see shared folders and the shared 
> printer... but as said above... I cannot print on it. Viceversa from the

> CLIENTNAME browser I connect fine to http://192.168.0.100.
> 
> HELP
> 
> Thank you in advance for any answer/tip/or help
> 
> Robert
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--- End Message ---
--- Begin Message ---
The sockts (php_sockets.dll) allows you to communicate with any socket
based server.

- Frank

> Is there a way to comunicate between php and a window service? (by
Sockets?)
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--- End Message ---
--- Begin Message ---
For a user attempting to reset their active directory password over ldap via 
php,

If I use ldap_mod_replace or ldap_modify, SELF must have "Reset Password" 
permissions as opposed to only "Change Password" permissions for that user 
account.

Is there another php command I can use, so that I don't have to give the users 
"Reset Password" permissions or specify an administrator un/pw in the script?

Phillip

--- End Message ---

Reply via email to