Skip to content

PDFtoPrinter-C 1.1

Latest

Choose a tag to compare

@emendelson emendelson released this 15 Aug 14:01

Paper source by PDF page size — now on by default

PDFtoPrinter now sends each page's paper size to the printer, which pulls from
whichever tray holds that paper. This matches the original AutoIt PDFtoPrinter,
which shipped with the same option enabled, so no command-line options are
needed for it.

  • Envelopes are recognised. COM 10, DL, C5, C6, C65, Monarch, #9, #11, #12,
    #14, Personal and envelope B5 join the existing paper sizes, so an
    envelope-sized PDF prints from the envelope tray instead of coming out on
    letter paper from the letter tray.
  • Any other page size is passed to the driver as a genuine custom size,
    rather than silently staying at the printer's default size.
  • /no-autotray turns the feature off. Useful for unattended printing,
    where asking for a size that isn't loaded can make the printer stop and
    prompt for a manual feed.
  • /autotray=form additionally forces the printer's "Automatically Select"
    paper bin. Some drivers need this; others ignore it — an HP LaserJet P3015
    honours it, while an HP LaserJet Pro MFP 4101 ignores it for envelopes, which
    is why it is not the default.

Preview what a job would do, without printing, by adding /autotray /mock.

Other changes

  • The printer-selection menus now mark the default printer with (default),
    and identify it reliably by name.
  • Running the program from a Command Prompt now returns to the prompt cleanly.

Files

Download pdfium.dll plus whichever executable you want, into the same folder —
pdfium.dll must sit beside the executable.

  • PDFtoPrinter.exe — the program, under the same name as the original
    PDFtoPrinter utility, so it can replace it directly
  • PDFtoPrinterNative.exe — identical to the above; the name used in
    release 1.0. You only need one of these two.
  • PDFtoPrinterSelect.exe — the same program, renamed so it shows a text menu
    of printers
  • PDFtoPrinterSelectGUI.exe — the same program, renamed so it shows a
    list-box of printers
  • pdfium.dll — the required PDF rendering library