Giter Site home page Giter Site logo

pdftoprinter's Introduction

pdftoprinter

AutoIt project for a PDF-to-printer application for Windows

This application is described in detail here:

https://mendelson.org/pdftoprinter.html

This respository includes the files needed for compiling and running the application. They should be copied to the same folder that contains the au3 file.

Malware detection: Some anti-malware programs will report that my installer contains malware; this happens because the AutoIt scripting language has been used to create malware and anti-malware programs block anything created in AutoIt. If you don't trust my software, don't use my software! Find something else instead. (Or compile it yourself from the code in this repository.)

You may not need this program at all. Powershell can print PDF files from the command line. For example, to print to a specific printer, use:

Start-Process -FilePath "path\to\file" -Verb PrintTo -ArgumentList "Name of Printer" -PassThru | %{sleep 10;$_} | kill

To print to the default printer:

Start-Process -FilePath "path\to\file" -Verb Print -PassThru | %{sleep 10;$_} | kill

pdftoprinter's People

Contributors

emendelson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pdftoprinter's Issues

EXE cleaned by Bitdefender (edit: false positive)

Bitdefender is telling me that this EXE file is a MALWARE :

On-Access scanning has detected a threat. The file has been deleted. PDFtoPrinter.exe is malware of type Trojan.GenericKD.71597464

Am I the only one to encounter this problem?

P.S. I Have ESET on my developement computer and did not encounter this problem.

Thanks.

Hi , i had problem with Windows 10

I created a Windows service to communicate between my website and the Windows service for printing, similar to a REST API. On Windows 11, I don't have any problems; I can print correctly without issues. However, when I install the Windows service on machines with Windows 10, the process gets stuck. I can see it in the Task Manager, but when I run the console app with the same code, it behaves differently.

The difference I observe is that on Windows 10, PDFXCView.exe does not execute when called by the service, whereas it runs correctly when called from the console application. This might be why the process gets stuck. I would greatly appreciate any insights into why this might be happening.

<3

Running printToPDF using CMD

Hi,
I'm trying to create function to call printing by getting the filename information from database and then using the C# I will call the printToPDF exe to print the file with the parameter "File Name" and "Printer name" being used.

If I print this using only 1 scheduler it doesn't have any issue, but if I print this using more than 1 scheduler, the spool will add duplicate to the spool. Any clue as to fix this issue? or Information that need to be gathered more? Thank you

silent not work

Hi If I writte full path no work run silently and display array window, thanks

Got wrong message~

Try to print 10+ pdf files, and successed print about 7+ ,than got the wrong message blow,and the program didn't work normal.

I call the pdftoprinter in Python like this:

....
filename = ....
pageflags = ...
import subprocess
args = ["pdftoprinter.exe",filename,pageflags]
subprocess.run(args)
....

IMG_20231210_212328_edit_557781082245399

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.