Automating uploading pdfs to our cloud server












1















I'm trying to simplify the process of getting a document from any Windows program where it was created to our cloud pdf repository, requiring the author to perform as few steps as possible.



Currently the author must generate a PDF file by printing to the pdf driver from the Windows application, name and save this file to a temporary folder on his disk, log into the cloud server, browse for and upload the PDF file to the server, select it and modify its details (i.e. Name, permissions, etc.).



The goal is to provide a seamless print-to-upload single click solution which eliminates as many of these transitional steps as possible.



Does anyone have suggestions for how to do this? I think the ability to execute a script after generating a pdf would be one way of solving it, but I'm not sure of the best (most seamless) approach.



I found this pdf writer software, which purports to offer scripting, but have no experience with it.



Thanks for pointing me in the right direction.










share|improve this question

























  • What have you tried so far? We don't really do recommendations here, but we but we help solve problems. What you have asked for is a recommendation. Use the edit button to rephrase and improve your question.

    – music2myear
    Jan 13 at 2:28











  • Edited. Please let me know if this is better. Thanks.

    – Ryan Griggs
    Jan 13 at 3:05
















1















I'm trying to simplify the process of getting a document from any Windows program where it was created to our cloud pdf repository, requiring the author to perform as few steps as possible.



Currently the author must generate a PDF file by printing to the pdf driver from the Windows application, name and save this file to a temporary folder on his disk, log into the cloud server, browse for and upload the PDF file to the server, select it and modify its details (i.e. Name, permissions, etc.).



The goal is to provide a seamless print-to-upload single click solution which eliminates as many of these transitional steps as possible.



Does anyone have suggestions for how to do this? I think the ability to execute a script after generating a pdf would be one way of solving it, but I'm not sure of the best (most seamless) approach.



I found this pdf writer software, which purports to offer scripting, but have no experience with it.



Thanks for pointing me in the right direction.










share|improve this question

























  • What have you tried so far? We don't really do recommendations here, but we but we help solve problems. What you have asked for is a recommendation. Use the edit button to rephrase and improve your question.

    – music2myear
    Jan 13 at 2:28











  • Edited. Please let me know if this is better. Thanks.

    – Ryan Griggs
    Jan 13 at 3:05














1












1








1








I'm trying to simplify the process of getting a document from any Windows program where it was created to our cloud pdf repository, requiring the author to perform as few steps as possible.



Currently the author must generate a PDF file by printing to the pdf driver from the Windows application, name and save this file to a temporary folder on his disk, log into the cloud server, browse for and upload the PDF file to the server, select it and modify its details (i.e. Name, permissions, etc.).



The goal is to provide a seamless print-to-upload single click solution which eliminates as many of these transitional steps as possible.



Does anyone have suggestions for how to do this? I think the ability to execute a script after generating a pdf would be one way of solving it, but I'm not sure of the best (most seamless) approach.



I found this pdf writer software, which purports to offer scripting, but have no experience with it.



Thanks for pointing me in the right direction.










share|improve this question
















I'm trying to simplify the process of getting a document from any Windows program where it was created to our cloud pdf repository, requiring the author to perform as few steps as possible.



Currently the author must generate a PDF file by printing to the pdf driver from the Windows application, name and save this file to a temporary folder on his disk, log into the cloud server, browse for and upload the PDF file to the server, select it and modify its details (i.e. Name, permissions, etc.).



The goal is to provide a seamless print-to-upload single click solution which eliminates as many of these transitional steps as possible.



Does anyone have suggestions for how to do this? I think the ability to execute a script after generating a pdf would be one way of solving it, but I'm not sure of the best (most seamless) approach.



I found this pdf writer software, which purports to offer scripting, but have no experience with it.



Thanks for pointing me in the right direction.







pdf script printing pdfcreator






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 13 at 3:04







Ryan Griggs

















asked Jan 13 at 1:17









Ryan GriggsRyan Griggs

4821313




4821313













  • What have you tried so far? We don't really do recommendations here, but we but we help solve problems. What you have asked for is a recommendation. Use the edit button to rephrase and improve your question.

    – music2myear
    Jan 13 at 2:28











  • Edited. Please let me know if this is better. Thanks.

    – Ryan Griggs
    Jan 13 at 3:05



















  • What have you tried so far? We don't really do recommendations here, but we but we help solve problems. What you have asked for is a recommendation. Use the edit button to rephrase and improve your question.

    – music2myear
    Jan 13 at 2:28











  • Edited. Please let me know if this is better. Thanks.

    – Ryan Griggs
    Jan 13 at 3:05

















What have you tried so far? We don't really do recommendations here, but we but we help solve problems. What you have asked for is a recommendation. Use the edit button to rephrase and improve your question.

– music2myear
Jan 13 at 2:28





What have you tried so far? We don't really do recommendations here, but we but we help solve problems. What you have asked for is a recommendation. Use the edit button to rephrase and improve your question.

– music2myear
Jan 13 at 2:28













Edited. Please let me know if this is better. Thanks.

– Ryan Griggs
Jan 13 at 3:05





Edited. Please let me know if this is better. Thanks.

– Ryan Griggs
Jan 13 at 3:05










1 Answer
1






active

oldest

votes


















1














Set up a samba server, and create a printer out of a shell script. Said shell script will take PostScript input, run it through ps2pdf, outputting the result as a PDF file, naming it the attached user's username with a timestamp on it (ie, ivan-201901122228.pdf) and then it will upload to cloud via sftp, scp, a curl command, or whatever else is needed.



Install the printer like any other server-attached network printer, use any color printer driver that is for PostScript (I like the built-in drivers for HP Color LaserJet printers, just pick one that says "PS" next to it!), and simply print to the device.



You can do the same thing and send faxes using hylafax as well....






share|improve this answer
























  • A samba server never occurred to me. That's a good idea.

    – Ryan Griggs
    Jan 13 at 3:41











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1393649%2fautomating-uploading-pdfs-to-our-cloud-server%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Set up a samba server, and create a printer out of a shell script. Said shell script will take PostScript input, run it through ps2pdf, outputting the result as a PDF file, naming it the attached user's username with a timestamp on it (ie, ivan-201901122228.pdf) and then it will upload to cloud via sftp, scp, a curl command, or whatever else is needed.



Install the printer like any other server-attached network printer, use any color printer driver that is for PostScript (I like the built-in drivers for HP Color LaserJet printers, just pick one that says "PS" next to it!), and simply print to the device.



You can do the same thing and send faxes using hylafax as well....






share|improve this answer
























  • A samba server never occurred to me. That's a good idea.

    – Ryan Griggs
    Jan 13 at 3:41
















1














Set up a samba server, and create a printer out of a shell script. Said shell script will take PostScript input, run it through ps2pdf, outputting the result as a PDF file, naming it the attached user's username with a timestamp on it (ie, ivan-201901122228.pdf) and then it will upload to cloud via sftp, scp, a curl command, or whatever else is needed.



Install the printer like any other server-attached network printer, use any color printer driver that is for PostScript (I like the built-in drivers for HP Color LaserJet printers, just pick one that says "PS" next to it!), and simply print to the device.



You can do the same thing and send faxes using hylafax as well....






share|improve this answer
























  • A samba server never occurred to me. That's a good idea.

    – Ryan Griggs
    Jan 13 at 3:41














1












1








1







Set up a samba server, and create a printer out of a shell script. Said shell script will take PostScript input, run it through ps2pdf, outputting the result as a PDF file, naming it the attached user's username with a timestamp on it (ie, ivan-201901122228.pdf) and then it will upload to cloud via sftp, scp, a curl command, or whatever else is needed.



Install the printer like any other server-attached network printer, use any color printer driver that is for PostScript (I like the built-in drivers for HP Color LaserJet printers, just pick one that says "PS" next to it!), and simply print to the device.



You can do the same thing and send faxes using hylafax as well....






share|improve this answer













Set up a samba server, and create a printer out of a shell script. Said shell script will take PostScript input, run it through ps2pdf, outputting the result as a PDF file, naming it the attached user's username with a timestamp on it (ie, ivan-201901122228.pdf) and then it will upload to cloud via sftp, scp, a curl command, or whatever else is needed.



Install the printer like any other server-attached network printer, use any color printer driver that is for PostScript (I like the built-in drivers for HP Color LaserJet printers, just pick one that says "PS" next to it!), and simply print to the device.



You can do the same thing and send faxes using hylafax as well....







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 13 at 3:29









ivanivanivanivan

1,20917




1,20917













  • A samba server never occurred to me. That's a good idea.

    – Ryan Griggs
    Jan 13 at 3:41



















  • A samba server never occurred to me. That's a good idea.

    – Ryan Griggs
    Jan 13 at 3:41

















A samba server never occurred to me. That's a good idea.

– Ryan Griggs
Jan 13 at 3:41





A samba server never occurred to me. That's a good idea.

– Ryan Griggs
Jan 13 at 3:41


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1393649%2fautomating-uploading-pdfs-to-our-cloud-server%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

is 'sed' thread safe

How to make a Squid Proxy server?