Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

pdf

Chromedriver, Selenium – Automate downloads

August 12, 2022 by Magenaut

I am using Selenium 2.43.0 with Python 2.7.5. At one point, the test clicks on a button which sends form information to the server. If the request is successful, the server responds with

Categories Python, Q&A Tags pdf, python, python-2.7, selenium, selenium-chromedriver Leave a comment

split a multi-page pdf file into multiple pdf files with python?

August 12, 2022 by Magenaut

I would like to take a multi-page pdf file and create separate pdf files per page.

Categories Python, Q&A Tags pdf, python Leave a comment

Print chosen worksheets in excel files to pdf in python

August 11, 2022 by Magenaut

I need to write a python script to read excel files, find each worksheet and then print these to pdf with the standard formating defined in the excel.

Categories Python, Q&A Tags excel, export, pdf, printing, python Leave a comment

How to convert TXT to PDF?

August 10, 2022 by Magenaut

I want to convert .txt files to .pdf. I’m using this:

Categories Q&A, Unix & Linux Tags conversion, imagemagick, pdf, text-processing Leave a comment

How can you pdfjoin smartly different sized pictures?

August 9, 2022 by Magenaut

I’m running the default pdfjoin and getting results like this:

Categories Q&A, Unix & Linux Tags pdf Leave a comment

How to view and edit the code of a PDF file

August 9, 2022 by Magenaut

I was wondering how to view and edit the code of a PDF file?

Categories Q&A, Unix & Linux Tags pdf Leave a comment

How can I get the page numbers only of a pattern in a pdf file, regardless if the pattern is multiline?

August 8, 2022 by Magenaut

I find the page numbers of a multiline pattern in a pdf file, by How shall I grep a multi-line pattern in a pdf file and in a text file? and How can I search a string in a pdf file, and find the physical page number of each page where the string appears?

Categories Q&A, Unix & Linux Tags awk, grep, pdf, pdfgrep, text-processing Leave a comment

Add and edit bookmarks to a PDF file

August 8, 2022 by Magenaut

By getting metadata from some pdf files with bookmarks by pdftk, I observe the format of bookmarks in pdf metadata. So I am guessing that with pdftk, it is possible to add and edit bookmarks of a pdf file.

Categories Q&A, Unix & Linux Tags pdf, pdftk Leave a comment

pdf to jpg without quality loss; gscan2pdf

August 7, 2022 by Magenaut

When I convert a pdf file to bunch of jpg files using

Categories Q&A, Unix & Linux Tags command-line, conversion, image-manipulation, imagemagick, pdf Leave a comment

Convert pdf to a different page size (US Letter -> A4)

August 7, 2022 by Magenaut

I’m trying to print a simple US Letter document, but for some reason, I just cannot manage to fit it properly onto A4 when printing multiple pages per-list.

Categories Q&A, Unix & Linux Tags ghostscript, pdf, printing Leave a comment
Older posts
Newer posts
← Previous Page1 … Page6 Page7 Page8 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress