New to CUPS implemntation

beckham accessbalaji at gmail.com
Thu Jul 24 22:32:37 PDT 2008


Thanks for the reply.

To give u more insight of my problem. I will rephrase my problem.

We are going to create a web application. And the web application will be hosted on a weblogic server. My clients will be accessing my applicationj through internet. They have printers in their facilities or offices. They are planning to make the prinetrs available in internet by making the ip address of the printer a staic one and they will give us the static ip address to us.So When they say print in one of the page,i should find the printer which is there in their office and print the job to the printer automatically without user of seeing any printer dialog box and selecting the printer. The job of printing should take place as a back end process. I hope i gave more in depth of my problem.

Few replies for ur questions .

1) As i cant show the printer dialog box , i cant use windows.print().
2) Moreover the persons who are accessing my application through internet gives me a predefined static ip address of the printer so they expects to get the data to be printed from the server directly to the printer at their site without they manually selecting the printer.
3) And we have one more requirement of scheduling printing jobs . Eg : On 23rd of every month the jobs to be send to the printers.


These are my exact requirements


> Perhaps not exactly what you are looking for, but maybe this will get
> you thinking about the problem a little differently.
>
> This appears to be less about the print service and more about how you
> implement "print" from inside your web based application.  Is it
> possible to have your web based application print to the
> correct/closest/... printer when they hit the "print" button? yes.  It's
> only software.  With the right level of understanding and investment,
> you can usually get the desired result.
>
> It may not be feasible if you are using JavaScript to print via the
> window.print() method to do the printing from the browser itself in the
> manner you want.  If I remember correctly, that method will open the
> browser's print dialog, but will not pre-select a printer and will not
> print automatically.  Of course, that may be perfectly acceptable for
> your situation.
>
> If you are generating output and submitting it to print from the web
> server side, there are a number of possible approaches that can be made
> to work, but they have nothing to do with the specifics of CUPS or any
> other print service.  It's more likely to be about correlating the
> browser address (or user login via cookies, ...) to the corresponding
> printer via table lookup or other heuristic in a backend cgi or
> similar.  If the printing is done from the web server side, it means
> that the web server must have access to a print server that can access
> the printers.
>
> You might explore this requirement more fully before deciding on an
> implementation strategy.  Each possible approach has it's own set of
> costs and limitations.
>
> There may be other constraints like application security, network
> security, mobile access, ... that may force you toward a particular
> approach.
>
> More complete requirements and constraints might get you more help.
>
>        -Norm
>
> beckham wrote:
> > Guys,
> > I am new to CUPS and i have read only few introduction documents on CUPS and IPP. I have a problem here. I have a business requirement here. We are going to host a new
> > Web application. In that we have requirement , the client who are accessing the application will have the local network
> > printers attached to them and will be sitting in some other location. In one of the page , they will say print. When they do it, i must find the printer which is attached to them and print the data. The printer will have an static IP which i will know.
> >
> > Is this possible with the help of CUPS. If yes, how do i install cups . Should i have seperate machine as a
> > print server ? Is there any books or documents which gives a complete installation and configuration steps for CUPS.
> > And also give me steps to implement the above scenario.
> >
> > Please somebody help me.
> >
>





More information about the cups mailing list