| | |
Silent printing of pdf files to a named printer...
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Aug 2006
Posts: 1
Reputation:
Solved Threads: 0
I would like to silently print PDF files from the hard drive to a named printer, which may or may not be the default printer.
In the this thread, it shows how to silently print the PDF but it always goes to the default printer. Is there a command line that allows the entry of the printer name? Is there a better way to go?
Thanks,
Nitro
In the this thread, it shows how to silently print the PDF but it always goes to the default printer. Is there a command line that allows the entry of the printer name? Is there a better way to go?
Thanks,
Nitro
•
•
Join Date: Sep 2006
Posts: 1
Reputation:
Solved Threads: 0
I used the link in your thread to find out how to do the printing but I too would like to print to a specific printer.
I used this command...
?"[FilePrintTo(" & Chr(34) & sPDFPath & Chr(34) & "," & Chr(34) & PrinterName & Chr(34) & "," & Chr(34) & printerDriver & Chr(34) & "," & Chr(34) & PrinterPort & Chr(34) & ")]"
e.g
[FilePrintTo("c:\test.pdf","\\echo\Canon i6500","winspool","Ne02:")]
I found this information on adobe.com...
http://partners.adobe.com/public/dev...y%20printer%22
It does say that this should pop up a modal window (therefore not silent) however this did not happen with me and it allows me to print silently to a named printer
I used this command...
?"[FilePrintTo(" & Chr(34) & sPDFPath & Chr(34) & "," & Chr(34) & PrinterName & Chr(34) & "," & Chr(34) & printerDriver & Chr(34) & "," & Chr(34) & PrinterPort & Chr(34) & ")]"
e.g
[FilePrintTo("c:\test.pdf","\\echo\Canon i6500","winspool","Ne02:")]
I found this information on adobe.com...
http://partners.adobe.com/public/dev...y%20printer%22
It does say that this should pop up a modal window (therefore not silent) however this did not happen with me and it allows me to print silently to a named printer
![]() |
Similar Threads
- Using VB Code - Silent download pdf from server and print to local printer (Visual Basic 4 / 5 / 6)
- pdf files not opening - help for strange problem (Windows NT / 2000 / XP)
- Using TCPDF or UFPDF to generate pdf files in php (PHP)
- Entourage Slow sending pdf files (Mac Software)
- Silent Print a PDF from VB.NET (VB.NET)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: How do I populate multiple column list box?
- Next Thread: making fields unupdateable in vb 5.0
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





