CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
print PDF?

 



BillKSmith
Veteran

Mar 4, 2013, 12:56 PM

Post #1 of 5 (2204 views)
print PDF? Can't Post

How can I print (hard copy) of a pdf file using perl on windows?

Using windows, I can manually drag a pdf file to a printer shortcut. The file is printed with the default pdf "viewer". Can I automate this operation with perl?
Good Luck,
Bill


lightspd
Novice

Mar 4, 2013, 4:34 PM

Post #2 of 5 (2198 views)
Re: [BillKSmith] print PDF? [In reply to] Can't Post

Here's a possible solution.
http://www.perlmonks.org/?node_id=824842


wickedxter
User

Mar 4, 2013, 7:12 PM

Post #3 of 5 (2194 views)
Re: [BillKSmith] print PDF? [In reply to] Can't Post

this might help

http://technet.microsoft.com/en-us/library/cc773259(v=ws.10).aspx

or

http://www.robvanderwoude.com/2kprintcontrol.php

or

http://www.verypdf.com/pdfprint/pdf-print-cmd.html

or

this is more for network printers

http://technet.microsoft.com/en-us/library/ee624057(v=ws.10).aspx


(This post was edited by wickedxter on Mar 4, 2013, 7:33 PM)


BillKSmith
Veteran

Mar 4, 2013, 8:45 PM

Post #4 of 5 (2189 views)
Re: [lightspd] print PDF? [In reply to] Can't Post

Thanks a lot! The code you suggest works perfectly. I do not yet understand the windows magic in it, but I plan to try.
Good Luck,
Bill


BillKSmith
Veteran

Mar 4, 2013, 8:49 PM

Post #5 of 5 (2187 views)
Re: [wickedxter] print PDF? [In reply to] Can't Post

I want to thank you also wickedxter. The previous post solved my immediate problem, but I plan to study your references.
Good Luck,
Bill

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives