Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DEFINING REAL REMOTE PRINTERS 1

Status
Not open for further replies.

jcostac69

IS-IT--Management
Dec 11, 2003
2
MX
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
 
How is he accessing the app? Web browser? Telnet? Proprietary?

What sort of printing? Simple text or PCL/Postscript?

Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

 
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+

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top