Hi all!! I have a user accessing my app via internet, he wants his printings in his network printer. How do I define this "real remote" printer??.
Regards
Joaquin
Thanks Rod, I think we should forget about the app, because it generates the printing (simple text) and then sends it to the printer via lpr. So, If I (you in fact) solve the problem:
lpr -Premoteprinter xx.txt
where "remoteprinter" is a printer at my user's place (somewhere in his network), I am done. He is accessing my AIX via internet (web browser), he´s got a VPN.
Regards,
Joaquin
If his printer is running lpd and exposed to you through the VPN, you set it up just like any other remote printer.
If you can't access his printer, then one solution could be to set up a queue that uses perl and PDF::Create to generate a PDF, then provide a web page for him to pick them up.
I believe the PDF::Create package on CPAN includes a sample ascii-to-pdf script, and information on setting up queues that run commands can be found in the "qconfig File" section of the Files Reference.
Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.