🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.acrobat.reader
Article #12984

Re: Printing PDF from the command line

#12984
From: M StJames
Date: Fri, 24 May 2002 16:37
11 lines
1353 bytes
Scott, Very useful stuff - thanks. But, I am not quite there with my project. 

I want to use a shell command in my VB code in Access97 to print a PDF file. The db will be shared by many users, and thus will have different printernames, drivernames. What command can I use that says  

strPrinterName = "go and find this computers default printer" 

strDriverName = "go and find the driver that goes with the default printer" 

Using the command "AcroRd32.exe /p filename" gets me almost there, giving just print dialog box. I can live with this IF I have to.  But I would like to make the whole printing process tranparent to the user. 

Thank you in advance. M
Technical Details
Message-ID: <ef8a49c.2@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!isdnet!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef8a49c.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109513,7c079dd36d4ecde7
X-Google-Attributes: gid109513,public
X-Google-ArrivalTime: 2002-05-24 10:07:54 PST
From: "M StJames" <mstjames@vogelii.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!isdnet!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.acrobat.reader
Subject: Re: Printing PDF from the command line
Message-ID: <ef8a49c.2@WebX.aaQKaf7vad4>
Date: Fri, 24 May 2002 09:37:08 -0700
References: <ef8a49c.-1@WebX.aaQKaf7vad4>
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit