473,406 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

php_printer.dll and Win XP

Bob
I am trying print labels from a networked printer. Can I use
php_printer.dll with Win XP?

Returned from the webserver:

Unable to load dynamic library 'c:/php/php_printer.dll'- The
specified procedure could not be found.

Fatal error: Call to undefined function: printer_open() in
C:\xitami\xitami-24\app\webpages\label_printer_test.php on line 13

In the php.ini:

extension_dir="c:/php/"

The actual calling lines from the webpage:

<?php
$handle = printer_open("\\\\engineering\\crib_label");
printer_write($handle, "Text to print");
printer_close($handle);

?>

From the php.net website: "These functions are only available under

Windows 9.x, ME, NT4 and 2000. They have been added in PHP 4.0.4." Do
I take this a face value?

Jul 17 '05 #1
1 4898
Bob
Incidently I am running WinXP Pro and phpinfo() gives the following
system info: System Windows NT EDC700 5.1 build 2600

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stefan | last post by:
Hi, I just downloaded PHP-4.3.3 for win32 and got the extensions folder and dropped it intot he root of the PHP directory and set it's path in the PHP.ini: extension_dir =...
3
by: tornado | last post by:
Hi all, I am pretty new to PHP. I was reading PHP manual and trying out the example from 2nd chapter (A simple Tutorial). When i try to print the variable as given in the example it returns...
0
by: alain dhaene | last post by:
Hi, I want to print something. But i get the error : Call to undefined function: printer_open() in C:\Program Files\Apache Group\Apache2\htdocs\printer.php on line 4 follow by a messagebox :...
3
by: Willis Lang | last post by:
Warning: Unknown(): Unable to load dynamic library './php_oci8.dll' - Access is denied. Error keeps coming up on server. I made sure the security settings were set on the file and all...
9
by: Penn Markham | last post by:
Hello all, I am writing a script where I need to use the system() function to call htpasswd. I can do this just fine on the command line...works great (see attached file, test.php). When my...
0
by: ryanf | last post by:
Where does the printer_get_option($my_printer, PRINTER_PAPER_WIDTH) get the value from? I am trying to print to a Genicom 4490XT (a line printer) and the width is off. I try to set the width with...
1
by: BJT | last post by:
Can anyone help I am trying to load the php_printer.dll but keep getting the above error. The extension path is set to "c:\php\ext" and the file is in that directory, I have checked that the file was...
0
by: What What | last post by:
I'm trying to print a report to a printer directly using PHP printer function. I have code like the following one. <? if($handle=printer_open()){ print "Printer Connected<br>"; }...
3
by: Chuck Anderson | last post by:
It thought it would be bundled with my Windows version pf Php 4.4.1, but it is not. I've searched for it and can't find it at php.net. How do get a copy of php_printer.dll for Php4.4.1 for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.