Anonymous_User

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2006-07-21
23:59
3091 views
Printer List generated by iPrint manager
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.
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.
8 Replies
Anonymous_User

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2006-07-24
18:30
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.1075@prv-forum2.provo.novell.com>, VJ<vanessa.lomas@ubc.ca>
wrote:
> 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.
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.1075@prv-forum2.provo.novell.com>, VJ<vanessa.lomas@ubc.ca>
wrote:
> 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.
Anonymous_User

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2006-07-24
20:18
Hi,
Any examples of this out there that you are aware of?
Thanks.
iprintrox wrote:
> 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.1075@prv-forum2.provo.novell.com>, VJ<vanessa.lomas@ubc.ca>
> wrote:
> > 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.
Any examples of this out there that you are aware of?
Thanks.
iprintrox wrote:
> 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.1075@prv-forum2.provo.novell.com>, VJ<vanessa.lomas@ubc.ca>
> wrote:
> > 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.
Anonymous_User

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2006-07-24
20:27
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.539800.70430@75g2000cwc.googlegroups.com>,
VJ<vjlomas@gmail.com> wrote:
> Hi,
> Any examples of this out there that you are aware of?
>
> Thanks.
>
> iprintrox wrote:
>> 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.1075@prv-forum2.provo.novell.com>,
VJ<vanessa.lomas@ubc.ca>
>> wrote:
>> > 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.
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.539800.70430@75g2000cwc.googlegroups.com>,
VJ<vjlomas@gmail.com> wrote:
> Hi,
> Any examples of this out there that you are aware of?
>
> Thanks.
>
> iprintrox wrote:
>> 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.1075@prv-forum2.provo.novell.com>,
VJ<vanessa.lomas@ubc.ca>
>> wrote:
>> > 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.
Anonymous_User

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2006-07-24
21:54
Any HTML examples to get me started would be much appreciated!!
Vj
iprintrox wrote:
> 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.539800.70430@75g2000cwc.googlegroups.com>,
> VJ<vjlomas@gmail.com> wrote:
> > Hi,
> > Any examples of this out there that you are aware of?
> >
> > Thanks.
> >
> > iprintrox wrote:
> >> 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.1075@prv-forum2.provo.novell.com>,
> VJ<vanessa.lomas@ubc.ca>
> >> wrote:
> >> > 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.
Vj
iprintrox wrote:
> 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.539800.70430@75g2000cwc.googlegroups.com>,
> VJ<vjlomas@gmail.com> wrote:
> > Hi,
> > Any examples of this out there that you are aware of?
> >
> > Thanks.
> >
> > iprintrox wrote:
> >> 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.1075@prv-forum2.provo.novell.com>,
> VJ<vanessa.lomas@ubc.ca>
> >> wrote:
> >> > 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.
Anonymous_User

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2006-07-25
16:08
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.376014.246450@m73g2000cwd.googlegroups.com>,
VJ<vjlomas@gmail.com> wrote:
> Any HTML examples to get me started would be much appreciated!!
>
> Vj
>
> iprintrox wrote:
>> 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.539800.70430@75g2000cwc.googlegroups.com>,
>> VJ<vjlomas@gmail.com> wrote:
>> > Hi,
>> > Any examples of this out there that you are aware of?
>> >
>> > Thanks.
>> >
>> > iprintrox wrote:
>> >> 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.1075@prv-forum2.provo.novell.com>,
>> VJ<vanessa.lomas@ubc.ca>
>> >> wrote:
>> >> > 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.
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.376014.246450@m73g2000cwd.googlegroups.com>,
VJ<vjlomas@gmail.com> wrote:
> Any HTML examples to get me started would be much appreciated!!
>
> Vj
>
> iprintrox wrote:
>> 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.539800.70430@75g2000cwc.googlegroups.com>,
>> VJ<vjlomas@gmail.com> wrote:
>> > Hi,
>> > Any examples of this out there that you are aware of?
>> >
>> > Thanks.
>> >
>> > iprintrox wrote:
>> >> 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.1075@prv-forum2.provo.novell.com>,
>> VJ<vanessa.lomas@ubc.ca>
>> >> wrote:
>> >> > 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.
Anonymous_User

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2006-07-26
00:06
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.
iprintrox wrote:
> 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.376014.246450@m73g2000cwd.googlegroups.com>,
> VJ<vjlomas@gmail.com> wrote:
> > Any HTML examples to get me started would be much appreciated!!
> >
> > Vj
> >
> > iprintrox wrote:
> >> 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.539800.70430@75g2000cwc.googlegroups.com>,
> >> VJ<vjlomas@gmail.com> wrote:
> >> > Hi,
> >> > Any examples of this out there that you are aware of?
> >> >
> >> > Thanks.
> >> >
> >> > iprintrox wrote:
> >> >> 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.1075@prv-forum2.provo.novell.com>,
> >> VJ<vanessa.lomas@ubc.ca>
> >> >> wrote:
> >> >> > 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.
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.
iprintrox wrote:
> 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.376014.246450@m73g2000cwd.googlegroups.com>,
> VJ<vjlomas@gmail.com> wrote:
> > Any HTML examples to get me started would be much appreciated!!
> >
> > Vj
> >
> > iprintrox wrote:
> >> 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.539800.70430@75g2000cwc.googlegroups.com>,
> >> VJ<vjlomas@gmail.com> wrote:
> >> > Hi,
> >> > Any examples of this out there that you are aware of?
> >> >
> >> > Thanks.
> >> >
> >> > iprintrox wrote:
> >> >> 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.1075@prv-forum2.provo.novell.com>,
> >> VJ<vanessa.lomas@ubc.ca>
> >> >> wrote:
> >> >> > 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.
Anonymous_User

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2006-07-26
23:36
Where, by the way, did you get details on 'GetPrinterURLList2'?
Thanks.
VJ wrote:
> 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.
>
> iprintrox wrote:
> > 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.376014.246450@m73g2000cwd.googlegroups.com>,
> > VJ<vjlomas@gmail.com> wrote:
> > > Any HTML examples to get me started would be much appreciated!!
> > >
> > > Vj
> > >
> > > iprintrox wrote:
> > >> 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.539800.70430@75g2000cwc.googlegroups.com>,
> > >> VJ<vjlomas@gmail.com> wrote:
> > >> > Hi,
> > >> > Any examples of this out there that you are aware of?
> > >> >
> > >> > Thanks.
> > >> >
> > >> > iprintrox wrote:
> > >> >> 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.1075@prv-forum2.provo.novell.com>,
> > >> VJ<vanessa.lomas@ubc.ca>
> > >> >> wrote:
> > >> >> > 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.
Thanks.
VJ wrote:
> 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.
>
> iprintrox wrote:
> > 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.376014.246450@m73g2000cwd.googlegroups.com>,
> > VJ<vjlomas@gmail.com> wrote:
> > > Any HTML examples to get me started would be much appreciated!!
> > >
> > > Vj
> > >
> > > iprintrox wrote:
> > >> 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.539800.70430@75g2000cwc.googlegroups.com>,
> > >> VJ<vjlomas@gmail.com> wrote:
> > >> > Hi,
> > >> > Any examples of this out there that you are aware of?
> > >> >
> > >> > Thanks.
> > >> >
> > >> > iprintrox wrote:
> > >> >> 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.1075@prv-forum2.provo.novell.com>,
> > >> VJ<vanessa.lomas@ubc.ca>
> > >> >> wrote:
> > >> >> > 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.
Anonymous_User

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2006-07-27
20:42
Where, by the way, did you get details on 'GetPrinterURLList2'?
Thanks.
iprintrox wrote:
> 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.376014.246450@m73g2000cwd.googlegroups.com>,
> VJ<vjlomas@gmail.com> wrote:
> > Any HTML examples to get me started would be much appreciated!!
> >
> > Vj
> >
> > iprintrox wrote:
> >> 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.539800.70430@75g2000cwc.googlegroups.com>,
> >> VJ<vjlomas@gmail.com> wrote:
> >> > Hi,
> >> > Any examples of this out there that you are aware of?
> >> >
> >> > Thanks.
> >> >
> >> > iprintrox wrote:
> >> >> 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.1075@prv-forum2.provo.novell.com>,
> >> VJ<vanessa.lomas@ubc.ca>
> >> >> wrote:
> >> >> > 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.
Thanks.
iprintrox wrote:
> 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.376014.246450@m73g2000cwd.googlegroups.com>,
> VJ<vjlomas@gmail.com> wrote:
> > Any HTML examples to get me started would be much appreciated!!
> >
> > Vj
> >
> > iprintrox wrote:
> >> 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.539800.70430@75g2000cwc.googlegroups.com>,
> >> VJ<vjlomas@gmail.com> wrote:
> >> > Hi,
> >> > Any examples of this out there that you are aware of?
> >> >
> >> > Thanks.
> >> >
> >> > iprintrox wrote:
> >> >> 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.1075@prv-forum2.provo.novell.com>,
> >> VJ<vanessa.lomas@ubc.ca>
> >> >> wrote:
> >> >> > 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.