Google ๊ทธ๋ฃน์Šค๋Š” ๋” ์ด์ƒ ์ƒˆ๋กœ์šด ์œ ์ฆˆ๋„ท ๊ฒŒ์‹œ๋ฌผ ๋˜๋Š” ๊ตฌ๋…์„ ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๊ณผ๊ฑฐ์˜ ์ฝ˜ํ…์ธ ๋Š” ๊ณ„์† ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Printer List generated by iPrint manager

์กฐํšŒ์ˆ˜ 6ํšŒ
์ฝ์ง€ ์•Š์€ ์ฒซ ๋ฉ”์‹œ์ง€๋กœ ๊ฑด๋„ˆ๋›ฐ๊ธฐ

VJ

์ฝ์ง€ ์•Š์Œ,
2006. 7. 21. ์˜คํ›„ 6:59:2806. 7. 21.
๋ฐ›๋Š”์‚ฌ๋žŒ
I would like to customize the HTML printer list automatically generated by
iPrint. (I only have one server, and therefore one iPrint Manager, one list
of printers.)

Basically, I'd like the ability to filter this page based on
information in the printer name and location fields.

I know that I can create my own custom HTML pages, but that requires, I
believe, individually specifying the IPP URL of each printer accessible to
iPrint - NOT something that I want to manage manually.
From the documentation:
"...you must use an HTML editor and create links to the the different
generated lists or create a Web page using the printer's IPP URL. This URL
is displayed when you enable IPP for a printer."

Any thoughts, examples, suggestions appreciated.

Vj.


iprintrox

์ฝ์ง€ ์•Š์Œ,
2006. 7. 24. ์˜คํ›„ 1:30:5606. 7. 24.
๋ฐ›๋Š”์‚ฌ๋žŒ
Using the api's available via the HTML interface, you can request a list of
printers complete with information, then dynamically create the list of
printers based on whatever criteria you like. It does require more work
than just the default page..

>>> On 7/21/2006 at 4:59 PM, in message
<k%cwg.1795$a27....@prv-forum2.provo.novell.com>, VJ<vaness...@ubc.ca>
wrote:

VJ

์ฝ์ง€ ์•Š์Œ,
2006. 7. 24. ์˜คํ›„ 3:11:3806. 7. 24.
๋ฐ›๋Š”์‚ฌ๋žŒ
Hi,
Any examples of this out there that you are aware of?

Thanks.

iprintrox

์ฝ์ง€ ์•Š์Œ,
2006. 7. 24. ์˜คํ›„ 3:27:0406. 7. 24.
๋ฐ›๋Š”์‚ฌ๋žŒ
None that I know of.. I have done test tools using the interface so I
know it is possible, however don't have anything exactly like this.
Also, limitation of the interface is using MS IE only. Not compatible with
other browsers, yet!!

>>> On 7/24/2006 at 1:18 PM, in message
<1153768298....@75g2000cwc.googlegroups.com>,

VJ

์ฝ์ง€ ์•Š์Œ,
2006. 7. 24. ์˜คํ›„ 4:46:4106. 7. 24.
๋ฐ›๋Š”์‚ฌ๋žŒ
Any HTML examples to get me started would be much appreciated!!

Vj

iprintrox

์ฝ์ง€ ์•Š์Œ,
2006. 7. 25. ์˜ค์ „ 11:08:1706. 7. 25.
๋ฐ›๋Š”์‚ฌ๋žŒ
Here is a snippet of javascript code that does the list. What is passed in
is the server address hosting the NDPS Print Manager. What is returned is
the list of printers.. The iPrintAccess is an object that is set up via
the <OBJECT> tag in html

<OBJECT ID=iPrintAccess
CLASSID=clsid:36723f97-7aa0-11d4-8919-FF2D71D0D32C></OBJECT>


// *********************************
// Function: ListPrinters
// sets up newPAlist which is the list of printers from the PSM
// *********************************
function ListPrinters(serveraddress)
{
var listReturn;
var paList;
//
opValue=serveraddress;
params = "&error-type=none";
paList = iPrintAccess.GetPrinterURLList2(opValue, params, 0);
if(DEBUG_ON)
alert("ListPrinters(GetPrinterURLList2)\n"+paList);
// what if this fails????
if(paList != "" && paList != null)
{
newPAList = paList.split("\n");
listReturn=newPAList.length-1;
}
else
{
newPAList = "NoPrinters"
listReturn=0;
}
return(listReturn);
}

Then for each printer in the list that is returned, you could do something
like

params = "printer-url=" + unescape(printer_name) +
"&result-type=object&error-type=object";
opValue="op-printer-get-status";
installed = iPrintAccess.ExecuteRequest(opValue, params);

which gets status and some basic information

OR


params = "printer-url=" + unescape(printer_name) + "&result-type=object";
opValue="op-dbg-printer-get-all-attrs";
getAllError=iPrintAccess.ExecuteRequest(opValue, params);

which gets all information on the printer

>>> On 7/24/2006 at 2:54 PM, in message
<1153774001.3...@m73g2000cwd.googlegroups.com>,

VJ

์ฝ์ง€ ์•Š์Œ,
2006. 7. 25. ์˜คํ›„ 6:57:1506. 7. 25.
๋ฐ›๋Š”์‚ฌ๋žŒ
Fabulous! I'm getting there......

For the line 'paList =iPrintAccess.GetPrinterURLList2 (...' in the
funcation ListPrinters, are there alternatives to 'GetPrintURLList2'?
(I've done a search, no results).

I'd like to pull more details for each printer in that one function...

At present, I am then taking each Printer Name from newPAList, and
using the operation 'op-printer-get-info' to get the printer location
information. This however, takes a LONG time to run, and ends up
killing my browser.

I only need Printer Name (derived from GetPrintURLList2) and location,
and am hoping to do it all in the one ListPrinters function.

Thanks very much for your replies.
VJ.

๋ฉ”์‹œ์ง€๊ฐ€ ์‚ญ์ œ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

VJ

์ฝ์ง€ ์•Š์Œ,
2006. 7. 27. ์˜คํ›„ 3:36:2706. 7. 27.
๋ฐ›๋Š”์‚ฌ๋žŒ
Where, by the way, did you get details on 'GetPrinterURLList2'?

Thanks.

์ƒˆ ๋ฉ”์‹œ์ง€ 0๊ฐœ