Re: [PHP-WIN] Printing large pieces of HTML markup inside the tags..?

2012-06-13 Thread Jacob Kruger
Captioncolumn HTML; ?> Stay well Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: "Keith Davis" To: Sent: Thursday, June 14, 2012 7:18 AM Subject: Re: [PHP-WIN] Printing large pieces of HT

Re: [PHP-WIN] Printing large pieces of HTML markup inside the tags..?

2012-06-13 Thread Keith Davis
Are you referring to the HEREDOC syntax? http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc Sent from my iPhone 4s On Jun 14, 2012, at 12:10 AM, "Jacob Kruger" wrote: > Came across some code/script/markup similar to the following syntax, and not > too

[PHP-WIN] Printing large pieces of HTML markup inside the tags..?

2012-06-13 Thread Jacob Kruger
Came across some code/script/markup similar to the following syntax, and not too sure if it falls under a specific template framework, etc.?: Attendance Register Search $sDivisionName HTML; ?> That's just a piece of it, so don

RE: [PHP-WIN] printing on IIS7

2009-05-05 Thread Paul Giesberts
0 To: Paul Giesberts Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] printing on IIS7 Paul, I had a smiliar problem once where I had changed the amount of memory from 16M to 256 (note the missing M). Check your memory setting in php.ini. 262144 seems like 256K. I think that may be the def

RE: [PHP-WIN] printing on IIS7

2009-05-05 Thread Paul Giesberts
bject: Re: [PHP-WIN] printing on IIS7 2009/5/5 Paul Giesberts : > Hi, > > I have migrated a php site from Linux to windows. The only remaining problem > seems to be printing, naturally I have had to change the code and that's > where the problems have started. I have t

Re: [PHP-WIN] printing on IIS7

2009-05-05 Thread Richard Quadling
2009/5/5 Paul Giesberts : > Hi, > > I have migrated a php site from Linux to windows. The only remaining problem > seems to be printing, naturally I have had to change the code and that's > where the problems have started. I have the following very simple code: > > > $txt = "Hello World"; > $han

Re: [PHP-WIN] printing on IIS7

2009-05-05 Thread James Crow
Paul, I had a smiliar problem once where I had changed the amount of memory from 16M to 256 (note the missing M). Check your memory setting in php.ini. 262144 seems like 256K. I think that may be the default minimum amount of memory for a script. On my Linux systems there is a different ph

[PHP-WIN] RE: {** SPAM **} Re: [PHP-WIN] printing on IIS7

2009-05-05 Thread Paul Giesberts
A Manager Servicecare -Original Message- From: Jacob Kruger [mailto:jac...@iburst.co.za] Sent: 05 May 2009 10:37 To: Paul Giesberts Subject: {** SPAM **} Re: [PHP-WIN] printing on IIS7 Why don't you just use javascript to print the content? Think it's something like window.print()

[PHP-WIN] printing on IIS7

2009-05-05 Thread Paul Giesberts
Hi,   I have migrated a php site from Linux to windows. The only remaining problem seems to be printing, naturally I have had to change the code and that's where the problems have started. I have the following very simple code:  When I run this from the command prompt using php -f . It wor

Re: [PHP-WIN] Printing via webapp

2007-05-31 Thread Niel Archer
> Oh and one more question. Can php create a text file with the exenstion of > zpl instead of txt? Easily Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Printing via webapp

2007-05-31 Thread Moore, Joshua
:56 AM To: Juan Ignacio Borda Cc: php-windows@lists.php.net Subject: RE: [PHP-WIN] Printing via webapp I'll give that a try. But when you goto FILEmailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 7:08 AM To: Moore, Joshua Subject: Re: [PHP-WIN] Printing via webapp may be you have to s

RE: [PHP-WIN] Printing via webapp

2007-05-31 Thread Moore, Joshua
-windows@lists.php.net Subject: RE: [PHP-WIN] Printing via webapp I'll give that a try. But when you goto FILEmailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 7:08 AM To: Moore, Joshua Subject: Re: [PHP-WIN] Printing via webapp may be you have to send special codes to printer some pri

RE: [PHP-WIN] Printing via webapp

2007-05-30 Thread Moore, Joshua
I'll give that a try. But when you goto FILEmailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 7:08 AM To: Moore, Joshua Subject: Re: [PHP-WIN] Printing via webapp may be you have to send special codes to printer some printers lacks the ability to print direct from raw (ie Epson L

RE: [PHP-WIN] Printing via webapp

2007-05-30 Thread Moore, Joshua
] Sent: Wednesday, May 30, 2007 6:24 AM To: Juan Ignacio Borda; php-windows@lists.php.net Subject: RE: [PHP-WIN] Printing via webapp Yes it is a printer on LPT1. Well IF it is indeed a permissions problem then I would guess its permissions on the barcode printer im trying to print too because if I

RE: [PHP-WIN] Printing via webapp

2007-05-30 Thread Moore, Joshua
uan Ignacio Borda [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 5:44 AM To: php-windows@lists.php.net Subject: Re: [PHP-WIN] Printing via webapp I'm intrested on this function too, did you tried to print locally let's say to LPT1 ? this will jelp you debug if it's the case

Re: [PHP-WIN] Printing via webapp

2007-05-30 Thread Juan Ignacio Borda
I'm intrested on this function too, did you tried to print locally let's say to LPT1 ? this will jelp you debug if it's the case that you can't print or acces a shared resource. In that case I really can't help you since I've never heard of Uniform Server. Uniform Server is a WAMP pack

Re: [PHP-WIN] Printing via webapp

2007-05-29 Thread Niel Archer
> In that case I really can't help you since I've never heard of Uniform > Server. Uniform Server is a WAMP package. It was mentioned on this or the Db list recently. Presumably then, Apache's permissions would be the determining factor? http://www.uniformserver.com/ Niel -- PHP Windows

RE: [PHP-WIN] Printing via webapp

2007-05-29 Thread Moore, Joshua
Subject: Re: [PHP-WIN] Printing via webapp Moore, Joshua wrote: > But under printer permissions its set to allow "everyone" to print. I don't know enough about Windows security to be much more help here, but I will say that if you're using IIS then the IUSR_machine user is '

Re: [PHP-WIN] Printing via webapp

2007-05-29 Thread Stut
.php.net Subject: Re: [PHP-WIN] Printing via webapp Moore, Joshua wrote: But under printer permissions its set to allow "everyone" to print. I don't know enough about Windows security to be much more help here, but I will say that if you're using IIS then the IUSR_machine u

Re: [PHP-WIN] Printing via webapp

2007-05-29 Thread Stut
PROTECTED] Sent: Tuesday, May 29, 2007 1:56 PM To: Moore, Joshua Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] Printing via webapp Moore, Joshua wrote: Im having a few odd issues with printing and im hoping someone can help me. I can manually print to my barcode printer just fine (F

RE: [PHP-WIN] Printing via webapp

2007-05-29 Thread Moore, Joshua
But under printer permissions its set to allow "everyone" to print. -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 1:56 PM To: Moore, Joshua Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] Printing via webapp Moore, Joshua wrote: >

Re: [PHP-WIN] Printing via webapp

2007-05-29 Thread Stut
Moore, Joshua wrote: Im having a few odd issues with printing and im hoping someone can help me. I can manually print to my barcode printer just fine (FILE Gives the following error: Warning: printer_write() [function.printer-write ]: couldn't all

[PHP-WIN] Printing via webapp

2007-05-29 Thread Moore, Joshua
Im having a few odd issues with printing and im hoping someone can help me. I can manually print to my barcode printer just fine (FILE Gives the following error: Warning: printer_write() [function.printer-write ]: couldn't allocate the pri

[PHP-WIN] Printing

2006-04-20 Thread Juan Ignacio Borda
Does someone have any experience on printing from PHP ? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Printing in windows

2005-11-17 Thread Frank M. Kromann
Hi Fernando, the printer_write() function writes directly to the printer and you do not need to call printer_start_doc(), priner_start_page() etc. These functions must be used if you are printing useing the printer_drap_text(). Here is two examples from the documentation: - Frank > > Gr

[PHP-WIN] Printing in windows

2005-11-17 Thread Fernando Ocampo Ramón
Greetings from Mexico. I wrote an script to pull some data from a database and created a report to be printed directly by php. All went fine until i noticed that after the actual printing there is an extra blank page. I've tried on a Epson FX980 and several HP LaserJet Printers with the same

Re: [PHP-WIN] printing

2005-02-15 Thread Jason Beaver
Vail > > > >> -Original Message----- >> From: Jason Beaver [mailto:[EMAIL PROTECTED] >> Sent: Monday, February 14, 2005 4:46 PM >> To: php-windows@lists.php.net >> Subject: [PHP-WIN] printing >> >> >> Has anyone ever done any printing fr

RE: [PHP-WIN] printing

2005-02-14 Thread Warren Vail
TECTED] > Sent: Monday, February 14, 2005 4:46 PM > To: php-windows@lists.php.net > Subject: [PHP-WIN] printing > > > Has anyone ever done any printing from PHP. I have recently been > trying to > get the printer functions to work with no success. anyone have any hints? > >

[PHP-WIN] printing

2005-02-14 Thread Jason Beaver
Has anyone ever done any printing from PHP. I have recently been trying to get the printer functions to work with no success. anyone have any hints? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] printing a php page

2004-02-18 Thread Torsten Schabdach
Hello! Of course you only should use Javascript, if you can rely on it, meaning that you know that every user has JS enabled. Else it would be some kind of unfair. I mean the most easiest solution would be, to print just a hint beneath the form that he (the user) can print out this page and of

Re: [PHP-WIN] printing a php page

2004-02-18 Thread Ignatius Reilly
o Marciano" <[EMAIL PROTECTED]> To: "Ignatius Reilly" <[EMAIL PROTECTED]> Sent: Wednesday, February 18, 2004 17:33 Subject: Re: [PHP-WIN] printing a php page > i mean a page with a summary of information inserted in a form. the user > would like to print

Re: [PHP-WIN] printing a php page

2004-02-18 Thread Ignatius Reilly
sday, February 18, 2004 17:20 Subject: [PHP-WIN] printing a php page > hi guys!! > > how can i send to the printer a php page from a button on it? > > thanks > > ciro from italy > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit:

[PHP-WIN] printing a php page

2004-02-18 Thread Ciro
hi guys!! how can i send to the printer a php page from a button on it? thanks ciro from italy -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Printing functions

2003-06-23 Thread Luis Moreira
Hi       Can someone tell me why on earth the following script writes one line per page (besides a blank page between pages 1 and 2) ?     And this only if I specify a default printer on PHP.INI, otherwise the printer_open function fails ...       Thanks     $handle = printer_open();

Re: [PHP-WIN] printing (might be OT)

2003-01-23 Thread Luis Ferro
What you say is possible but: a) Where is created the file? PHP is a server side scripting language. All its actions are performed in the server context and then are sent as a block to the client that requested the action. b) To print something in a button you have two options: either you use

[PHP-WIN] printing (might be OT)

2003-01-23 Thread Bobo Wieland
Hi! I'm sorry if this is OT but I really need an answer to this question and I can't find it anywhere... I have a link on a page that basicly should work as a print-button. When you click it, it should print some of the information that is currently displayed and ad a header and footer of some so

[PHP-WIN] Printing Excel spreadsheet

2002-12-24 Thread Jerry Nelson
I have an application that generates a table that is formatted as an Excel spreadsheet for display in IE. Is there any way to embed print controls so that a user can just select the print button it is printed as a single page in landscape format? *-*---*--*-*

RE: [PHP-WIN] Printing with PHP 4.1.1. for Windows

2002-02-07 Thread alain samoun
Try: http://www.php4win.de Not sure that it is in the last build... A+ Alain -Original Message- From: Strashimir [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 10:15 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Printing with PHP 4.1.1. for Windows Hello, I've

[PHP-WIN] Printing with PHP 4.1.1. for Windows

2002-02-07 Thread Strashimir
Hello, I've just downloaded php 4.1.1 for windows. I don't see php_printer.dll in it. How shall I use the printer? TIA Strashimir Yosifov -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] printing directly from php

2001-12-07 Thread FPU . WHITES1
site remotely in the normal fashion. -Steve -- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Fri, 7 Dec 2001 09:03:45 -0600 Subject: RE: [PHP-WIN] printing directl

RE: [PHP-WIN] printing directly from php

2001-12-07 Thread Tim Foster
Just for clarification Will this method allow the user to click on a link and *poof* out comes somthing out of his/her printer? I thought browsers couldn't do that? And if it can, what HTML (or HTTP header or whatever) is actually being sent to the client. TIM -Stenderup's Law: The sooner

RE: [PHP-WIN] printing directly from php

2001-12-06 Thread Ross Fleming
ry by putting this line: extension_dir = C:\PHP\extensions somewhere before the extension= lines. Ross -Original Message- From: daniel cozzolino [mailto:[EMAIL PROTECTED]] Sent: 07 December 2001 05:30 To: [EMAIL PROTECTED] Subject: [PHP-WIN] printing directly from php Hi all, I would li

[PHP-WIN] printing directly from php

2001-12-06 Thread daniel cozzolino
Hi all, I would like to print directly from php to the client default printer. i tried using the code example from php.net: $handle = printer_open(); printer_write($handle, "Text to print"); printer_close($handle); but get Fatal error: Call to undefined function: printer_open() which leads me t

[PHP-WIN] R: [PHP-WIN] Printing functions

2001-08-13 Thread Darvin Andrioli
Have you inserted "extension=php_printer.dll" in you php.ini ? Darvin > -Messaggio originale- > Da: Deleo Paulo Ribeiro Junior [mailto:[EMAIL PROTECTED]] > Inviato: sabato 11 agosto 2001 15.44 > A: Lista PHP > Oggetto: [PHP-WIN] Printing functions > >

Re: [PHP-WIN] Printing text on a printer in PHP4 Using PRINTER function

2001-07-23 Thread Mike Flynn
PHP is a server-side language. Thus, it cannot do anything on the client-side. The printer functions are for the printers connected to the web server with PHP. -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP-WIN] Printing text on a printer in PHP4 Using PRINTER function

2001-07-18 Thread Frank M. Kromann
Hi, The php_printer.dll can only be used to print on a printer attached to the server (or a network printer known by the server). Remember that PHP is a server based scripting language. The content you are sending to the client (HTML documents) are handled by the client alone. If your client

[PHP-WIN] Printing text on a printer in PHP4 Using PRINTER function

2001-07-18 Thread William Schipper
Does anybody has a script that will print basic text to a printer that is on the client side. In PHP4 it must be possible to write text to the printer. I'm working with EasyPHP. Do i have to include the file 'php_printer.dll' in the extensions dir and what lines do i have to add in the php.ini fil