PDF

304

Solutions

628

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

Need a VB.net module to merge PDF's
is any idea or some freeware that achive that, we can't purchase several PDF pro licences only for that propouse.
Pleas help me out you experts!
0
Ensure Business Longevity with As-A-Service
Ensure Business Longevity with As-A-Service

Using the as-a-service approach for your business model allows you to grow your revenue stream with new practice areas, without forcing you to part ways with existing clients just because they don’t fit the mold of your new service offerings.

I have a problem converting pdf to jpg via ImageMagick.

The following command works successfully by producing a pdf file from a jpg file.

convert.exe -density 300 "C:\TEMP\testing.jpg" -depth 8 "C:\TEMP\testing.pdf"

Open in new window


However, reversing the process by converting the pdf file back to a jpg file does not seem to work.
Errors are not shown, but no output file is produce.

convert.exe -density 300 "C:\TEMP\testing.pdf" -depth 8 "C:\TEMP\testing.jpg"

Open in new window


I have installed the latest imagemagick (ImageMagick-7.0.8-37-Q16-x64-dll.exe) from https://imagemagick.org/script/download.php and ghostscript (9.27) from https://www.ghostscript.com/download/gsdnld.html both for Windows x64.

Your kind help would be appreciated.
0
I received a PDF where the pages are upside down.  I use my full version adobe writer to turn the pages around and try and save the document again but when I open it the pages are still upside down.  How do you correct the page orientation?
0
I am working on an asp.net c# web application that creates a report and saves the report as a pdf. The report could reach up to 140 pages and is already over 22 MB at page 35. Is there any way to reduce the size of these files as they will then be retrieved and emailed. The application is asp.net webforms using ms reportviewer.

this is the code I used to save the report. I created a LocalReport in the code behind instead of using the reportviewer control beause we don't need to display the report.

            private void SavePdf()
            {
                  var path = GetReportPath();

                  var bytes = _localReport.Render(
                        "PDF", null, out string mimeType, out var encoding, out var filenameExtension,
                        out var streamIds, out var warnings);

                  using (var fs = new FileStream(path, FileMode.Create))
                  {
                        fs.Write(bytes, 0, bytes.Length);
                  }
            }

this is the code to create the report before saving it as a pdf.

            private void RenderReportForSaving()
            {
                  var reportDataSource = new ReportDataSource("DataSet1", base.GetDiscipleshipReportView());

                  try
                  {
                        var path = Server.MapPath($"~/Administration/Reporting/Reports/{_reportType}.rdlc");
                        var report = new LocalReport();

                        _localReport.EnableExternalImages = true;
                        _localReport.ReportPath = path;
                        _localReport.DataSources.Clear();
                        _localReport.DataSources.Add(reportDataSource);

                        AddSubQueriesToLocalReport();

                        _localReport.Refresh();
                  }
                  catch (Exception ex)
                  {
                        …
0
Where can I find the procedure to be able to use TAcroPDF component in my Delphi application, that I migrated to Delphi XE10.1 Berlin ?
Thanks
0
error when using dom pdf to generate pdf files from php records:
Error:
Unable to stream pdf: headers already sent

I have tried all the typical suggested solutions for this but I still get the error
I haven't posted any code yet because I am unsure of exactly what to post
I initially post this error in case anyone has a suggestion of whet the error is actually telling me / doing in terms of code
I am pretty sure it used to work on my server but I have not visited my code for some time so I just cannot remember if anything has changed
0
Hi

I used Nuget packages for the first time while trialing PDF converters in ASP.net.
I didn't find any that worked in the way I needed them to. I uninstalled them but am getting strange errors in my project.
I noticed that there where still folcders in the AppData folder. I removed all of these.
How do I completely remove all files relating to these Nuget packages?

Thanks
0
Hi

I just added IronPDF software to my ASP.net web app using NuGet https://www.nuget.org/packages/IronPdf/

I did this so that I could convert a web form to a pdf doc. It works when I run in debug mode but causes errors
after I have published.

What am I missing in the publish. Should I have published certain folders in addition to to the usual publish?

Thanks
0
Hi

In ASP.net I want a user to push a button on a website that runs code that sends the
web page as a pdf attachment, What VB.net code would I use to do this?
0
I am using a Brother MFC L2720 DW - which has a duplex printing feature. I am using Word 365 and I can only get it to print in automatic duplex if I save the document as a PDF - otherwise if I just want to print my Word document in duplex I have to manually turn the pages...any suggestions?
0
Amazon Web Services
LVL 13
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

I have the attached doc in a foreign language: is there any
online free translation that I could just upload the whole
doc & it returns me the equiv doc in English?

I guess some sort of OCR is needed: my OCR may not work
well with a foreign language
builData_classificationFrenchy2018.pdf
0
A PDF icon loses its program association, I resolved the problem by creating a new PDF file then configuring it to open with Adobe Acrobat.
What can cause Windows 10 to disassociate excel and PDF files with programs designed to open them?
0
In Nuance Power pdf Advanced, I want to get rid of gridlines on my document. This affects every document I open.
PDF-Gridlines.PNG
0
I'm using a third party to create pdfs. I build the template on their site. I do a GET with my data and poof, a nice pdf. In PostMan this works great, the message I get in Post man is: This response could not be previewed. Download the response to open it with an appropriate application. When I click "Download" a file save dialog opens and it's already got the file name populated as xxxxx.pdf. Save the file and open it. It works great.

Now I'm trying to do the same from a WPF C# app. I'm using the RESTSharp library to make the call. My latest attempt, after setting the headers and params just like Postman, is:
client.DownloadData(request).SaveAs("c:\\ajson\\some.pdf");

Open in new window


I get a blank pdf.

I've also tried

 await Task.Run(() => ReceiveMyString(this));

Open in new window


and parsing the response in the ReceiveMyString method. I'm getting the data but I just can't figure out how to save it as a pdf. All attempts end with a corrupt pdf. Here's one example:
 byte[] buffer = Encoding.ASCII.GetBytes(response.Content);
            MemoryStream ms = new MemoryStream(buffer);
            FileStream file = new FileStream("C:\\ajson\\myPDF.pdf", FileMode.Create, FileAccess.Write);
            ms.WriteTo(file);
            file.Close();
            ms.Close();

Open in new window


Thank you!
0
What is a process for editing a pdf file?  I have a pdf file that is digitally signed.  I need to create very similar pdf file.  How do I go about doing that?
I have Adobe Acrobat version 9.5.5.  Do I open the pdf file in Abode and edit it or do I need to open it in some other program.  what is the process?
0
Hello and Good Afternoon Everyone,

            I have a question regarding a printout I got from the following link https://www.mtsu.edu/hrs/benefits/components/2015NewBeginningEEPresentation.pdf.  Basically, the background or backdrop of each page printed is black.  While I can clearly read the text in the foreground, I am wondering if there is a way of having a clean or white background with black text in the foreground.

            Any feedback given in response to this question will be greatly appreciated.

            Thank you

            George
0
Adobe PDF Fill In Form REQUIRES The Free Adobe Reader To Be Installed / Open to Have the Fill In Fields work properly and Submit Button work properly...

I will have a pre web page that has writing that INFORMS the user to ONLY USE Adobe Reader (with download link also) when using the Fill In Form and ALSO I can put writing ON the actual Fill in PDF that will tell them to ONLY use Adobe Reader and ALSO have JS script on the web page that OPENS the Fill In Form pops up saying ONLY use Adobe Reader

Can I HAVE a Adobe PDF Reader Download Link on the Fill In PDF to allow user to download the Reader from the Fill In form directly ?

Can i HAVE JScript in on open EVENT of the Fill In Form that will check if the user is USING Adobe Reader and notify them if NOT to download & use it only ?

Can any EE think of a way to semi / quasi FORCE the user beyond this that would be helpful ?

thanks... CJ
0
Environment:  Windows 2012R2, and W2016; auto updates.  Business Application hasn't been updated in 4months. - happening on more than one site.
Tsplus is the RDP server application.

Problem:  Time of problem varies from site to site 3wks to 1 yr,  Application generates .pdf documents; e.g. invoices, quotes, statements either singularly or in a batch process, current fault happens in all pdf generated process'.
A Process, e.g. Invoices runs; create a 0kb .pdf, no errors displayed, then emails the .pdf to the customer; usually only found when the email receipient of the .pdf says can't open it.
Tried removing all .tmp files,    appdata\local\temp & appdata\roaming\"any rdp session files not deleted".
Stop Print Spooler / Remove any files in windows\system32\spool\printer\*.* / Start print spooler.
Sometimes allows the correct generation pf the .pdf file; occassionally works - mostly not.
If user logs out of the Application and RDP Session, (back to the PC desktop) login to Server via RDP then application and perform the print - works everytime.


My summation but can't grasp the answer, is: Logging out of the Session obviously terminates a process that is affecting the "Printing"

Does anyone have any suggestions as to how to identify the process &  recitification.

Thank you for reading this.
0
Adobe Acrobat JavaScript Validation Code Test for 3 PDF Fill In Fields

Have One Text Field - Name: HH
Have Second Text Field Name: SG
Have One Checkbox Field Name:  AG

WANT:
Only Allow checking of Checkbox  -  IF  HH  text box AND  SG text boxes have values in them...
Other wise no checking of the checkbox AG
Not sure WHAT is correct event - for checkbox - MouseUP - DN for best action results... ?????

IF Check in Checkbox is allowed after test (both HH and SG have values) then pop msg saying --- "allowed"
IF Check is NOT allowed after test then pop msg saying "not allowed"

Code So Far Not Working and Not Complete:

if (this.getField("HH").value != "") and (this.getfield("SG").value != "") {
    if (this.getField("AG").value != "Off") {
       app.alert("By Checking This Required CheckBox You Have Agreed", 3);                                                                        
                                                                       }
ELSE {
       app.alert("Type In your Print Name and Signature Name FIRST ... \n \n – Before Clicking The I Certify Checkbox", 3);  
        {
                                                                                                                              }
0
Angular Fundamentals
LVL 13
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

need help automating outlook 2010  to save individual emails along with attachments as  individual pdf bundles to folders on a network drive using the subject line of the email as the pdf file name.  Emails without attachments also need to processed.   the pdf files will be saved in specific folders, based on the  contents of the subject line.

Example: If an email has the words  "short sale request" in the subject line, it would need to be saved in a folder we have  named  "Approved short Sale". If the whole subject line reads "7000123454 Smith  short sale request"  & includes 3 attachments, then the email msg itself  and the three attachments should saved as "7000123454 Smith  short sale request.pdf" in that approved short sale folder.

I have Adobe 9 installed.
0
Adobe Reader DC not responding.  Using Windows 7 64 bit.

Sometimes, it works ok.  But, after several pdf files are opened especially, it starts to not respond.  Any ideas?  

I know this topic may have been discussed in the past.  But, not sure if there is any updates to how to fix.
0
Hello experts,

With VBA I need to convert an MS Access report to a password protected PDF (you can't read it without the password) and then send it with email.

I know this can't be done without a 3rd party application - I am aiming to use PDFCreator.

The following code (in a Class Module) shows the current method I'm using for sending reports but without password:

Private Sub sendEmail_Click()  ' Send report with email
    If IsNull(Me![language_ref]) Or IsNull(Me![interpreter_ref]) _
    Or IsNull(Me![type_of_job]) Then
        Beep
        MsgBox "Language, interpreter and assignment me be filled out"
    Else
        Dim strWhere As String
        
        If Me.Dirty Then    'Save any edits.
            Me.Dirty = False
        End If
        
        strWhere = "[booking_ID] = " & Me.[booking_id]
        DoCmd.OpenReport "rptBókanir2", acViewPreview, , strWhere
        
        email = DLookup("email_address", "interpreters", "interpreter_id = " & Me![interpreter_booking])
        emailSubject = "An interpretation order"
        DoCmd.SendObject acSendReport, "rptBókanir2", acFormatPDF, email, , , emailSubject, _
        "Please read the attached PDF", True
        
        DoCmd.Close acReport, "rptBókanir2"
        
    End If

End Sub

Open in new window


I might note the password will be static. The Access is version is part of Office 365.

Please can someone help me with this as I am completely rusty in all Access and VBA related matters!
0
I am trying to open a corrupted pdf file (on purpose) so I can check if it is ok or not, however I get this error:
Fatal error: Uncaught ImagickException: unable to open image `asasdasd': No such file or directory @ error/blob.c/OpenBlob/2853 in ....... Stack trace: #0 ...: Imagick->readimage('asasdasd') #1 ...: Validator\Validators\PdfValidator->isValid() #2 {main} thrown in... on line 14

Open in new window


instead of and exception.
I am using php 7.2 and imagick 3.4.3

Does anyone have an idea to solve this?
0
I would like to change this script so that I sends all files in the folder specified not just the 9.pdf file but any and all pdf files in the path specified


###PROGRAM START###
      # Invokes the Send-MailMessage function to send notification email
      $splat = @{
            From =                  'email@email.com'
            To =                  Get-Content -Path ( Join-Path $PSScriptRoot 'List.txt')
            SmtpServer =      'smtp.smtpserver.com'
            Subject =            $subject
            body =                  $MessageBody
            BodyAsHtml =      $true
            Attachment =      '\\srv1\Folder1\Subfolder1\9.pdf'
      }
      Send-MailMessage @splat
###PROGRAM END###
1
A number of years ago I designed a form in Adobe LiveCycle Designer. This document allowed me (users) to send the data that had been entered into the form as a xml file via email. This was handy since you could save the xml files and import a large number of them into excel at one time. I would like to know if it is possible to do this in the new versions of Acrobat (XI Pro). I found some JavaScript code that allow me to send the entire form, but then all of the data has to be re-entered into excel. I would appreciate and help of directionEmployee-Information.pdf
0

PDF

304

Solutions

628

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.