PDF

263

Solutions

560

Contributors

A Portable Document Format (PDF) is a file format consisting of an electronic image resembling a printed document and can be viewed, printed, and electronically transmitted. PDF files can store various types of data, including formatted text, vector graphics, and raster images. The page layout defines the location, size, and shape of each page and each item on the page. The information looks the same no matter what device or program is used to open it.

Share tech news, updates, or what's on your mind.

Sign up to Post

Is it possible to create several pdf files for a Crystal Report
Ok, have a report that creates data for each person, would like to export the data to individual pdf files which I could then distribute.
If possible would like to know how to do this

Gordon
0
CompTIA Cloud+
LVL 12
CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

How to set what Program you want your PDF file open within CMD?

assoc .pdf=pdffile

ftype pdffile=Architect.exe %1 %*

Also

Start architect with cmd not working
ftype.png
0
What is the command line on setting an application as default?

Example: if I install PDF Architect.

what would be a command line to set as default to open a pdf file
0
PDF Creator 6.

How can I turn an EXE file into MSI

Note: EXE file has to download additional data when installing.
0
I'm currently trying to print out PDF files in a folder on my c drive,I thought it'd be smart to put all files in a printing queue, and then print them all in one go. Is this in any way possible with VBA?
I am trying to avoid looping through the folder.I cam manually copy and paste them in the print queue but I am trying to avoid doing that also.
Thanks
0
Good Morning Experts,

I just rolled out a shiny new Windows Server 2016 Remote Desktop Session Host\Terminal Server and everything is working fine and all is right with the world.

Then the employees that handle PDFs all day started screaming.  Apparently, Adobe Acrobat DC as the preview handler for PDFs is a slow nightmare.  I have tested it and they are right.  It is horribly slow and near useless in the Windows Explorer preview window.  All the Google fu I could muster did not yield any solutions.

I have heard that the Foxit Reader is a good replacement for Adobe Reader in these situations.  I have tested it and it is very fast at rendering PDFs.

My question:

Can I set the default application for PDFs to Adobe Reader and the preview handler for Windows Explorer to Foxit?  If so, how?

Thoughts?

karislove
0
I use Atozed Intraweb with Delphi XE 10.2.3.
I save a Window to pdf using 'Window Print' as pdf.
then I woud get the file saved on the tablet and upload it (with IwFileUploader) without re-selecting the pdf I have just saved.
How is it possible? Note that I use delphi over 15 years, but am absolutely unexpert about HTML5, javascript etc, so I should need a simpe solution.
Then, when I more expert, my goal shoud be to save the window automatically without selecting where to save the pdf.
I Hope my english is quite comprensive.
Thank You very much
Oronzo Conte
0
What is the proper way to format and write to a pdf file using VS C#? I need to generate reports off a grid and output to a pdf file that is very nicely formatted with titles and date stamps and then the data.
1
For the first time I have updated the index in Paperport (before I used it mainly for scanning). The indexing went allright apart from the fact that it was interrupted several times to supply passwordes. But I do not use passwords after I scanned a file and if the files from elsewhere were be behind passwords they would not be of any use for me. Any explanation/solution?
Thanks
0
Hello,

I have a very big report in PDF format which I need to analyse  I want to printout pages that contain certain strings.

Is that possible?

Thanks.
0
The 7 Worst Nightmares of a Sysadmin
LVL 1
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

I need to print files to PDF on a Linux RHEL7 machine.  I read that cups-pdf should do it but when I type yum search cups-pdf, it shows nothing to install.  So I am back to my original issue.  I need to be able to setup a virtual printer that I can print files to that will simply store the PDF output in a directory.  Can anyone help?
0
The user changed from Optimum to Verizon. When connecting wirelessly on the new network to a Brother hl-l2380dw printer it did not work on the new network. Brother had me uninstall and reinstall Brother printer software and it worked. However, it can not longer printer pdf files from Gmail. The print dialog comes up but no print occurs. How can this problem be corrected?
0
Hi,
see javascript code below (written in adobe acrobat pro javascript editor)
 
this code attached to button in pdf form . when click on the button it attached the pdf to new mail in outlook and fill the subject and the body of the email.
i need to have the body of the email BOLD  , how can i achieve this?

CODE:

// This is the form return email. It's hardcoded

// so that the form is always returned to the same address.

// Change address on your form to match the code below

var cToAddr = ""


// First, get the client CC email address

var cCCAddr = this.getField("ClientEmail").value;

// Now get the beneficiary email only if it is filled out

var cBenAddr = this.getField("BennyEmail").value;

if(cBenAddr != "")

cCCAddr += ";" + cBenAddr;

// Set the subject and body text for the email message

var cSubLine ="return protocol for fix - " + " company name: " + this.getField("company name").value  + " , " + " branch number: " + this.getField("branch name").value + " , " +  " account number: " + " " + this.getField("account number").value

var cBody = "Hi,\n\n Please see hed protocol"

 

// Send the entire PDF as a file attachment on an email

this.mailDoc({bUI: true, cTo: cToAddr, cCc: cCCAddr, cSubject: cSubLine, cMsg: cBody});

}
else {
}
1
We have a JavaFx application which uses WebView and Mozilla PDF.js version 1.1.366 to render PDF files.
However, the performance is very slow and many times the viewer hangs (runs very slow) and does not display the file contents including images properly.

We are trying to upgrade the version of the PDF.js to the latest version 2.0.943 to improve the performance of the PDF display.

But, we are getting an error for some RequestAnimationFrame component in the latest version of the PDF.js. Please see attached screenshot.

We have also tried to include the polyfill from https://github.com/mozilla/pdf.js/pull/9138/files as a workaround as suggested in Github, but that did not solve it.

Please suggest how we can make the latest version of the PDF.js to work in our Webview in JavaFx.
PDFjs_Error_LatestVersion.png
0
Hi,
I'd like to print each one of these tickets on a envelope (#10), so I would like to output a single pdf document with 4 pages, one ticket per page. I don't know if it's possible to print my HTML content on an envelope sized 9.5" x 4.125". If you look at the screenshot attached, you'll see I have all 4 tickets on a single page. I want to create a single PDF document with multiple pages, again one ticket per page.
Here is my code I have so far:
// winning tickets pdf
function fetch_data() {  
      $output = '';
      $userID = ($_SESSION["loggedInUserID"]);
      //$conn = mysqli_connect("localhost", "lormar5_wo693", "sDieYQb752KZc!;", "lormar5_wo693");  connection to theme
      $conn = mysqli_connect("localhost", "root", "root", "db_hockeypoolfundraiser");
	  $sql = "SELECT * FROM participants LIMIT 1";  
      $result = mysqli_query($conn, $sql);  
      while($row = mysqli_fetch_array($result))  
      {       
      $output .= '<tr>
	  			<td style="border-bottom: 1px solid #dfdfe0;">
				<br><br><strong>Winners Name:</strong> '.$_SESSION["participantName"].'
				<br><br><strong>First Goal Time:</strong> '.$_SESSION["firstGoalTime"].'
				<br><br><strong>Game Date:</strong> '.$_SESSION["gameDate"].' <br><br>
				</td>
				
				<td style="border-bottom: 1px solid #dfdfe0;">
				<br><br><strong>Phone:</strong> '.$_SESSION["participantPhone"].'
				<br><br><strong>Amount:</strong> $'.$_SESSION["priceFirstGoal"].'
				<br><br><strong>Player:</strong> 

Open in new window

0
Hi,
We have a DB driven application where all the business logic written in Microsoft SQL.
We need to create a bunch of dynamic PDFs (Fillable PDFs) as a result of the calculations. We are now creating the PDF using .Net API and PHP.
Is there any easy way to create the PDF using SQL Reporting Services or any other ways?
Once the PDF is generated, we will use Angular ng pdf viewer to show the preview in browser.
Please help?

Thanks in advance :)
0
hi i try to use https://pdfium.patagames.com/c-pdf-library/

I found above api/pdf tool that using for (Search for a Text in a PDF File). and return x and y coordiate value.
and I bulit my own codes which is almost the same.

The return is always 0,0 which look like the search keywords feature does not work well.
And anyone try and tell me how your test about?

 public static Tuple<float,float> ExtractTextInfo(string keyword)
           {
            //Initialize the SDK library
            //You have to call this function before you can call any PDF processing functions.
            PdfCommon.Initialize();
            //Open and load a PDF document from a file.
            float x = 0;
            float y = 0;
            using (var doc = Patagames.Pdf.Net.PdfDocument.Load(@"C:\Users\ry24234u.23423\Documents\Workspaces\RNsadfasd\AppStore\ApsdfpMot324orHomeS3423hares\document\rentalcontract.pdf"))
            {
                //Enumerate pages
                foreach (var page in doc.Pages)
                {
                   var found = page.Text.Find("This", FindFlags.MatchWholeWord, 0);
                   if (found == null)
                   {                        
                       return new Tuple<float, float>(0,0);
                   }
                    do
                    {
                        var textInfo = found.FoundText;
                        foreach (var rect in textInfo.Rects)
                        {
                         

Open in new window

0
We are experiencing IE 11 Crashing or what it says is Stopped working...so when a few of our users that use State Tax Forms websites the get down to the PDF's and when they click on the PDF they need to view and it crashes IE11 or like I said it stops working.

Does anyone have any fixes or has anyone seen this happening?
0
I have below codes working fine.
but instead of drop the image into the fixed location (  image.SetAbsolutePosition(100, 100);)

Is it possible to do the look up e.g. if the text called 'signature' is shown on the pdf, then drop the image there on the right side of the 'signature' text?
Or if there is any textbox field called 'signature', drop the image next to it.

Is it possible?

0c8f5c99-4ff8-4863-bb62-3af10ad394a8.pdf
using System.IO;
using iTextSharp.text;
using iTextSharp.text.pdf;

class Program
{
    static void Main(string[] args)
    {
        using (Stream inputPdfStream = new FileStream("input.pdf", FileMode.Open, FileAccess.Read, FileShare.Read))
        using (Stream inputImageStream = new FileStream("some_image.jpg", FileMode.Open, FileAccess.Read, FileShare.Read))
        using (Stream outputPdfStream = new FileStream("result.pdf", FileMode.Create, FileAccess.Write, FileShare.None))
        {
            var reader = new PdfReader(inputPdfStream);
            var stamper = new PdfStamper(reader, outputPdfStream);
            var pdfContentByte = stamper.GetOverContent(1);

            Image image = Image.GetInstance(inputImageStream);
            image.SetAbsolutePosition(100, 100);
            pdfContentByte.AddImage(image);
            stamper.Close();
        }
    }
}

Open in new window

0
SolarWinds® Network Configuration Manager (NCM)
SolarWinds® Network Configuration Manager (NCM)

SolarWinds® Network Configuration Manager brings structure and peace of mind to configuration management. Bulk config deployment, automatic backups, change detection, vulnerability assessments, and config change templates reduce the time needed for repetitive tasks.

I have been following a PDF from APC to user PowerChute Business Edition over a Serial connected Smart UPS to talk with the Linux install in the vMa appliance on a VMWARE ESXi 6.7 environment.  (Please don't suggest Network Shutdown, I've got the free version of VMware.)
It is entitled, "Using ESXi with PowerChute Business Edition"  
https://www.schneider-electric.com/resources/sites/SCHNEIDER_ELECTRIC/content/live/FAQS/165000/FA165747/en_US/Configuring%20ESXi.pdf?_ga=2.16585520.747393797.1541423829-1088756136.1541423829
On page 17-18, it tells us to add the ESXi host using vMA, and asks for HOST IP address, user root and the password.  However, I get an error message that it won't add the HOST because if fails the SSL connection test.
When I run>  sudo vifp listservers    none are listed because they couldn't connect.

It seems like such a straight forward process, it detects the UPS and is ready to go, but I can't had the VM host to the PowerChute Business Edition installation.

I have ONE APC UPS which I'd like to have gracefully shut down 2 VM's and the VMHost in the event of a power outage.

Should I just run PCBE on one of my VM's and execute a shutdown command for the 2nd VM and let the VMHost crash on its own?

Has anyone got a solution?
0
I have an Access application that can export fields to a PDF file.  However, for this work it needs the full version of Adobe installed.  Not just the reader.  So I was wondering if there was a way to check programmatically to see if Adobe Acrobat was loaded and not just the reader.

Thanks John
0
We use iTextSharp to create PDFs throughout our site.  We have a Comments field that can grow.
It doesn't look like iTextSharp supports dynamic attributes - or at least the way we are using it with a pre-defined template.

sample of the code for the comments section:

  stamper.AcroFields.SetField("Comments", sb.ToString());
  stamper.AcroFields.SetFieldProperty("Comments", "textsize", 6f, null);
0
I have a very large MS Excel file which I imported from a pdf.

The data looks like this for the most part (the | indicates the start of a new column):

<ID>   |   <Description>   |   <Address Line 1>
                                                    |   <Address Line 2>
                                                    |   <Address Line 3>


<ID>   |   <Description>    |   <Address Line 1>
                                          |   <Address Line 2>
                                          |   <Address Line 3>
                                          |     <Address Line 4>


<ID>   |   <Description>   |   <Address Line 1>
                                         |    <Address Line 2>


<ID>   |   <Description>   |   <Address Line 1>
<ID2> |  <Description2>  |    <Address Line 2>

Open in new window


The address lines sometimes span multiple rows and other times enlarge the height of the cell to accommodate the text.  I need to extract the country from wherever it is in the Address Lines and then calculate the percentage of the total countries in the spreadsheet.  Because the data isn't entirely clean, I'm wondering if this is possible.  Even if it isn't 100% exact, even an approximation will still be useful for me.
0
Hi

I want to know if there is a way to prevent Adobe Reader from showing the PDF while quick print from Outlook? A friend need to print many PDF from email and have to wait 5-10 secondes between each print. He want to click on email, and quick print the attach PDF and goes to next and print next PDF and so on. It is not productive for him to wait each time about Reader to show the PDF and minimize after each time. Sometime he have up to 100 PDF to print in a batch.

I checked all parameter in Adobe Reader and found nothing that could help. I tested in Windows with PDF, DOCX and XLSX and it had that same behavior. I  think this behavior come from Windows.

Is there a way to tell Windows, Outlook, or Adobe Reader to keep Adobe Reader minimized or hide while printing from Outlook or Windows?

Thank you!

Dan
0
Hi

We need to convert the text on an  invoice which can be in the form of image/PDF into XML.

Any third party service which uses artificial intelligence to process different kind of invoice template, is needed.

Please let me know about any tool/service(free/paid) is available for same.
In net I can see many companies providing same but when we actually contact them, they deny.
Please help.

Thanks.
0

PDF

263

Solutions

560

Contributors

A Portable Document Format (PDF) is a file format consisting of an electronic image resembling a printed document and can be viewed, printed, and electronically transmitted. PDF files can store various types of data, including formatted text, vector graphics, and raster images. The page layout defines the location, size, and shape of each page and each item on the page. The information looks the same no matter what device or program is used to open it.