OK...sorry.
I am using a WinXP Pro laptop (IIS) as dev/test. I have PHP 4.3.4 installed (locally and on intranet server) with the printer extension enabled. On laptop, I have many printers listed/installed (most network shared) with a couple other types (pdf output and eFax). I do have one local printer attached (LPT1🙂(Zebra for testing). This printer is listed (var_dump) when I share it and nothing lists when it is not shared.
On the network side, we are running a Win2k server network with IIS on one as our intranet server. I have a "intradev" site running the code above. On the intranet server, I installed a printer (local to HP JetDirect/IP) and shared it. Most all our printers are HP JetDirect/IP attchached (at least the ones I am interested in) although the spooler may be on another Win2k server.
What I want to do is create labels to go directly to the Zebra's that are network attached with HPJetDirects (no dialog). Originally, I wanted a webpage to start, print and close (http://intranet/labels.php?ItemNumber=1&Copy=1) without user intervention. I think from reading this is not fully possible but wanted to test and see if possibly a shell execute (or something) would be possible. I have the labels using pdflib and this works well enough with limitations. There just isn't very much imformation on using printers.dll and a seach mostly gets you the php manual. I can't get a printer to open to even test and determine my options.
If there is any further information that would be helpfull, please let me know. Thanks for your response.