Re: [otrs] AgentTicketPrint using command line ?

2007-07-04 Thread Damien BASTIE

Hi,

I'm trying to generate a PDF file for each Ticket that are in state  
"closed"


Is There any way to use  
http://myotrs.com/otrs/index.pl? 
Action=AgentTicketPrint&TicketID=[ID_NUMBER] to get and store the PDF  
file without using webinterface ?


For information i've found an ugly solution by using "curl"

curl -L -d  
"Lang=fr&User=$agentuser&Password=agentpassword&Action=Login"  
"https://myotrs.com/otrs/index.pl? 
Action=AgentTicketPrint&TicketID=$ticketid" -o $ticketnumber.pdf


Damien BASTIE

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/


[otrs] AgentTicketPrint using command line ?

2007-07-04 Thread Damien BASTIE

Hi,

I'm trying to generate a PDF file for each Ticket that are in state  
"closed"


Is There any way to use  
http://myotrs.com/otrs/index.pl? 
Action=AgentTicketPrint&TicketID=[ID_NUMBER] to get and store the PDF  
file without using webinterface ?


Thanks,

Damien BASTIE

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/