[PHP-WIN] printer_start_doc

2001-08-30 Thread Rob Cox
Can anyone get this working? I keep on getting: Warning: couldn't allocate new print job in E:\Archive\html\PSprint.php on line 6 I did an printer_open successfully. Now I want to create my document to print but I can't get by this step. Any idea's out there? -- PHP Windows Mailing List (h

Re: [PHP-WIN] printer_start_doc

2001-08-28 Thread Rob Cox
Any luck? "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > At 15:08 24.08.2001 -0400, Rob Cox wrote: > >Updated to 4.0.7rc1 and it still didn't work. > >Here's my snippet: > > > >$handle = printer_open("\\\kinkos\\kinkos"); > >printer_start

Re: [PHP-WIN] printer_start_doc

2001-08-27 Thread Rob Cox
Thanks for the info on using printer_draw_text. "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > At 15:08 24.08.2001 -0400, Rob Cox wrote: > >Updated to 4.0.7rc1 and it still didn't work. > >Here's my snippet: > > > >$handle = printer_open(

Re: [PHP-WIN] printer_start_doc

2001-08-27 Thread Rob Cox
Both the web and print server are running Windows 2000 SP2. "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > At 15:08 24.08.2001 -0400, Rob Cox wrote: > >Updated to 4.0.7rc1 and it still didn't work. > >Here's my snippet: > > > >$handle = p

Re: [PHP-WIN] printer_start_doc

2001-08-25 Thread Daniel Beulshausen
At 15:08 24.08.2001 -0400, Rob Cox wrote: >Updated to 4.0.7rc1 and it still didn't work. >Here's my snippet: > >$handle = printer_open("\\\kinkos\\kinkos"); >printer_start_doc($handle, "Project Status"); >printer_start_page($handle); >printer_write($handle, "any text"); >printer_end_page($handle);

Re: [PHP-WIN] printer_start_doc

2001-08-24 Thread Rob Cox
Updated to 4.0.7rc1 and it still didn't work. Here's my snippet: $handle = printer_open("\\\kinkos\\kinkos"); printer_start_doc($handle, "Project Status"); printer_start_page($handle); printer_write($handle, "any text"); printer_end_page($handle); printer_end_doc($handle); printer_close($handle);

Re: [PHP-WIN] printer_start_doc

2001-08-24 Thread Rob Cox
I will give it a try. Thanks. "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > At 14:20 24.08.2001 -0400, Rob Cox wrote: > >I've made sure that the printer is available to IUSR_ALPHA (my server). The > >printer is actually open to everyone b

Re: [PHP-WIN] printer_start_doc

2001-08-24 Thread Daniel Beulshausen
At 14:20 24.08.2001 -0400, Rob Cox wrote: >I've made sure that the printer is available to IUSR_ALPHA (my server). The >printer is actually open to everyone but I made sure that IUSR_ALPHA was >specified too. Nothing. Still get the same error. please try http://www.php4win.com/~daniel/php-4.0.7rc

Re: [PHP-WIN] printer_start_doc

2001-08-24 Thread Rob Cox
I've made sure that the printer is available to IUSR_ALPHA (my server). The printer is actually open to everyone but I made sure that IUSR_ALPHA was specified too. Nothing. Still get the same error. "Erik H. Mathy" <[EMAIL PROTECTED]> wrote in message 005101c12cc2$fb03c390$1300020a@erik_laptop"

RE: [PHP-WIN] printer_start_doc

2001-08-24 Thread Erik H. Mathy
> Yes I believe that I a m running under the IUSR_ComputerName account. I'll > have to verify permissions. Do that. If it's a printer being shared over the network, it's subject to either the domain permissions or the permissions specific to the box doing the sharing (or both, actually). Wow. Tha

Re: [PHP-WIN] printer_start_doc

2001-08-24 Thread Rob Cox
Yes I believe that I a m running under the IUSR_ComputerName account. I'll have to verify permissions. I've just noticed that the handle that is being returned is showing as 'Resource id #1'. I have no idea about that but it makes sense that if I don't have a proper handle, I won't be able to cre

RE: [PHP-WIN] printer_start_doc

2001-08-24 Thread Erik H. Mathy
> I have been able to establish a connection to a printer. Sweet! > printer_start_doc and printer_start_page don't seem to be working. I > keep on getting the following errors: > > Warning: couldn't allocate new print job in E:\Archive\html\PSprint.php > on line 4 Sounds like a possible permiss

[PHP-WIN] printer_start_doc

2001-08-24 Thread Rob Cox
I have been able to establish a connection to a printer. printer_start_doc and printer_start_page don't seem to be working. I keep on getting the following errors: Warning: couldn't allocate new print job in E:\Archive\html\PSprint.php on line 4 Warning: couldn't start a new page in E:\Archive\