Re: printer functions

From: Date: Fri, 23 Feb 2007 22:29:25 +0000
Subject: Re: printer functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-249342@lists.php.net to get a copy of this message
On Tue, February 20, 2007 7:57 am, Leslie Aguilera wrote: > I am having problems with the printer functions, > I have a touch screen pos system and it works very fine, > all prints works ok on receipt, ticket printers, > now the problem I am having is getting it to work on a lan, > with 2 computer 4 printers, > if I send information to from A to computer B which have a printer > I getting a printer error, > > does not work: $handle = printer_open("\\Desktop\Cocina en Desktop"); Since \ is a special character in PHP strings, try: "\\\\Desktop\\Cocina en Desktop" as the printer name. > works: $handle = printer_open("Cocina"); > but printer show a error printing message What error message? > can anyone help me with this? -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#249342) next »