Re: [PHP] PDF printing under windows.

2005-10-25 Thread tg-php
This is really dumb and overly simple, which is probably why it was missed/not brought up, but it just occurred to me that, assuming you have a browser-based interface to your app, why don't you just send the PDF to the browser for printing? Then it should use the Acrobat Reader plugin to open

Re: [PHP] PDF printing under windows.

2005-10-25 Thread Dave Lists
[EMAIL PROTECTED] wrote: Two (and a half) things: 1. Even though DOS/Windows machines don't have, specifically, /dev/printer or /dev/lpr or whatever the *nix specific is, it does have a LPTx: device According to the page listed below, it may be possible to do: copy /b filename LPTx The /b in

RE: [PHP] PDF printing under windows.

2005-10-25 Thread Finner, Doug
Set net = CreateObject("WScript.Network") net.SetDefaultPrinter pName$ End Sub Doug -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 25, 2005 10:50 AM To: php-general@lists.php.net; php-windows@lists.php.net Cc:

Re: [PHP] PDF printing under windows.

2005-10-25 Thread tg-php
Two (and a half) things: 1. Even though DOS/Windows machines don't have, specifically, /dev/printer or /dev/lpr or whatever the *nix specific is, it does have a LPTx: device According to the page listed below, it may be possible to do: copy /b filename LPTx The /b indicates it's a binary file.

Re: [PHP] PDF printing under windows.

2005-10-25 Thread Dave Lists
Richard Lynch wrote: On Mon, October 24, 2005 1:48 pm, Dave Lists wrote: I'm generating PDFs under windows using PDFlib and all is easy. What I am wondering though, and google reveals nothing usefull, can I print the PDF to a network printer from windows? I'm presuming to print the file I wo

Re: [PHP] PDF printing under windows.

2005-10-24 Thread Richard Lynch
On Mon, October 24, 2005 1:48 pm, Dave Lists wrote: > I'm generating PDFs under windows using PDFlib and all is easy. What I > am wondering though, and google reveals nothing usefull, can I print > the > PDF to a network printer from windows? I'm presuming to print the file > I > would ahve to use

[PHP] PDF printing under windows.

2005-10-24 Thread Dave Lists
I'm generating PDFs under windows using PDFlib and all is easy. What I am wondering though, and google reveals nothing usefull, can I print the PDF to a network printer from windows? I'm presuming to print the file I would ahve to use COM and open it under Acrobat? Anyone done this before and h