penguinspeaks
Technical User
Greetings:
I need to print a pdf file. The file names are listed from a database loop that contains the filenames within a folder. I have a script that can directly send to the printer, but I want to open the dialogue page instead. Depending on the file, I may only want certain pages printed.
This direct prints. How do I open the dialogue??
Thanks,
Penguin
Please keep in mind that I am using classic ASP with MySQL database. Not sure if that information helps or not.
I need to print a pdf file. The file names are listed from a database loop that contains the filenames within a folder. I have a script that can directly send to the printer, but I want to open the dialogue page instead. Depending on the file, I may only want certain pages printed.
Code:
<button type="button" onclick="printJS({printable:'NEWPDF/<%=VAR2%>.pdf', type:'pdf', showModal:true})">
PRINT PDF </button>
Code:
<script src="[URL unfurl="true"]https://printjs-4de6.kxcdn.com/print.min.js"></script>[/URL]
<script src="[URL unfurl="true"]https://printjs-4de6.kxcdn.com/print.min.css"></script>[/URL]
This direct prints. How do I open the dialogue??
Thanks,
Penguin
Please keep in mind that I am using classic ASP with MySQL database. Not sure if that information helps or not.