Print with the printer's print dialog instead of DocTool -shellPrint

Home › Forums › PDF24 Creator › Print with the printer's print dialog instead of DocTool -shellPrint

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #63791
    afm08
    Participant

    We are trying to configure that when sending a file to the pdf24 printer, it opens the printer dialog box so that they can use the drivers for each of them (output tray, color options, paper size...)
    Currently we have only found this code: pdf24-docTool.exe -shellPrint -printerName "NAME" "${file}"
    but the problem is that it prints directly without being able to configure the output print. If I remove "Shellprint" from the code, the pdf24 dialog opens and from there, by clicking print, a printer selection box and their properties appear, but we do not want the pdf24 box to appear, but rather the printing dialog box directly.

    #65300
    PDF24 Support
    Moderator

    Hello,

    -shellPrint always prints directly without a dialog. For a print dialog, use the PDF24 Reader instead of the DocTool in your command (pdf24-Reader.exe is in the PDF24 installation folder):

    pdf24-Reader.exe /printDialog /printTo "NAME" "${file}"

    /printDialog opens only the print dialog of the PDF24 Reader with a preview, without the Reader window. /printTo preselects the printer, which can still be changed in the dialog. The file is printed when the user clicks "Print"; on cancel nothing is printed. The switch is available since version 11.31.0.

    In this dialog you can choose the printer, paper size, duplex, grayscale, copies and the pages. Settings that only the printer driver offers, such as the output tray, are not in it. With the next version, the PDF24 Settings get the option "Always print using the system dialog instead of the PDF24 print dialog" under Reader. With this option, the same command opens the Windows print dialog of the printer directly, with all driver settings, as you described.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.