phpprintipp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpprintipp] setup problems


From: Thomas Harding
Subject: Re: [Phpprintipp] setup problems
Date: Wed, 23 May 2012 20:19:55 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.3) Gecko/20120329 Icedove/10.0.3

Le 23/05/2012 15:23, Timothy Fenton a écrit :
>
> Thomas,
>
> I am using Apache 2.3 on a Windows SBS 2008 64 bit system with PHP
> 5.3.9. So far I have not
>
I never heard on this list of someone running this class on windows
except with questions abount printing on a windows print server (which
should not work because IPP MS-Windows implementation needs of
printer-format-generated data. Hopefully there are still plain
PostScript printers, and /anyone/ can write such a print filter provided
that "language" and charasteristics are fully disclosed :)
>
> been successful in getting anything to print from php using any
> method. Using your classes, I always get something to the effect of:
>
=> you pointed a severe bug: debug_backtrace is a *native PHP function*
(which gives you a trace of an exception).
=> Done today in CVS. You can find its url on phpprintipp web page

<rants>
<rant>
=> you use 0.83, which date from half an age. I'm no longer packaging
versions. I asked for a new maintainer to take over but nobody have ever
answered. Just use CVS
=> I suppose you downloaded from any of these freeware-anything-stuff
around the Net which dont cares on
anything-but-the-fact-you-download-after-plently-of-advertisings. This
is a libre piece of software with an access to a public revision control
system, having also a web page and a published documentation!
=> The doc is hosted on Savannah. See
<http://www.nongnu.org/phpprintipp/> which gives you links on project
page (which gives you notably CVS uri) and documentations pages
</rant>
<rant>
any random combination of monkey like setup will work if you have a
sufficient improbabilty generator, provided you add a 42 hexabytes seed.
</rant>
<rant>
=> If you have not at all any experience of IPP:
* IP is server IP
* by default, *port* is std IPP *tcp 631* you should find in any
/etc/services file. You can override depending on IPP server setup
* printer_uri is server-setup-dependant for the printer itself and given
by your IPP server page. Most likely, even when server is a network
printer where IPP is enabled, the "printers page" can be find at
http://your-server-ip:631/ [/ = root] as a standard webpage when you
request for text/html with a simple web browser.
</rant>
</rants>

See below for answer...
>
> Notice: Use of undefined constant debug_backtrace - assumed
> 'debug_backtrace' in
> D:\IntraWeb\ERP\General_Code\phpprintipp-0.83\php_classes\http_class.php
> on line 316 Warning: Invalid argument supplied for foreach() in
> D:\IntraWeb\ERP\General_Code\phpprintipp-0.83\php_classes\http_class.php
> on line 317 Warning: \nE_USER_WARNING: [errno: ]: Unable to connect to
> "tcp://192.168.11.50 port 192.168.11.16": No connection could be made
> because the target machine actively refused it. in
> D:\IntraWeb\ERP\General_Code\phpprintipp-0.83\php_classes\http_class.php
> on line 329 Notice: Undefined offset: 0 in
> D:\IntraWeb\ERP\General_Code\phpprintipp-0.83\php_classes\BasicIPP.php
> on line 1197 Warning: No Response From Server in
> D:\IntraWeb\ERP\General_Code\phpprintipp-0.83\php_classes\BasicIPP.php
> on line 1218 Printing a FILE
>
> I’m not sure why the constant debug_backtrace is not defined, but if
> that was working maybe I could get more specific error information.
>
Yes. Thats was the goal. I didn't done tests. Apologies...
>
> I am not clear what I should be using as the setup parameters for a
> basic print of an existing pdf, but here is the info I have:
>
> Server Name: CCADC01 (192.168.11.50)
>
> From the printer test page:
>
> Printer Name: KONICA MINOLTA C252
>
> Printer Model: KONICA MINOLTA C252/C252P VXL
>
> Port Name: 192.168.11.16
>

Grumpf! most likely: s/Port Name/Printer URI part#1/ (ipp://192.168.11.16)

> Share Name: bizhubC252
>
s/Share Name/Printer URI part #2/ =>
most likely, printer_ipp: * ipp://192.168.11.16/bizhubC252 *
note you'd better check server setup page.
>
> Can you give some direction for what to use with setHost, setPort, and
> setPrinterURI? I have tried
>
Done.
>
> every combination of things I can think of with no success. Thanks,
>
My answer is somewhat rude (if you passed it solution is given, nested
in your question):

Just imagine from Monday I spent my time to explain to guys out from at
least 3 years of university studies in computing, first how works the
DNS model and why it is done as it is (with theater. Never forgot
theater is the only way to gain attention), second what kinds of DNS
records are intended for, then Bind setup, zones authoring, check to
systematically perform (with failure demonstration as introduction ;),
how and why read the logs, then how and why read the /inline/ docs
(including things as common as EBNF) and so on... to rebuild a global
network structure sample (which will be done tomorrow).

I expect you even didn't search for IPP RFC, which gives you RFC2911 as
#2 link on Go..le :)

TH.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]