473,382 Members | 1,329 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

PDF995 Scripting - anyone got any experience with this?

Hi:

I have PSD995 installed, and find it a good program. I have been told that using Access
you can set up the PDF file name and location using scripting with this application so
that PDF files can be created automatically. Has anyone done this, and if so what are the
commands that one uses for (a) the Location; (b) the file name, and (c) the triggering of
action.

Help with this would be appreciated either in the form of answers to this question, or
some pointers to locations where the answer might be available..

John Baker
Nov 13 '05 #1
5 2777
Pat
John,
You can control these attributes by writing the the ini file used be PDF995.
PDF995 suggests using it's PDFEdit ware, but it does the same thing. There
is a developer's FAQ that might help some:

http://www.pdf995.com/faq_dev.html

And, in case you don't want to read that, here's a link to a routine that
you can just drop into your app:
You can also control writing to the 995 printer with Albert Kallal's easy
printer utility:

http://www.attcanada.net/~kallal.msn.../msaccess.html


"John Baker" <Ba******@Verizon.net> wrote in message
news:5e********************************@4ax.com...
Hi:

I have PSD995 installed, and find it a good program. I have been told that using Access you can set up the PDF file name and location using scripting with this application so that PDF files can be created automatically. Has anyone done this, and if so what are the commands that one uses for (a) the Location; (b) the file name, and (c) the triggering of action.

Help with this would be appreciated either in the form of answers to this question, or some pointers to locations where the answer might be available..

John Baker

Nov 13 '05 #2
Pat
The link for the routine is:
http://www.freeware995.com/misc/vbacode.txt

Why MS gave OE the shortcut ctrl-enter to send a message I'll never
know.....
I can't tell you the number of times I've sent an email when I was just
trying to paste!

HTH,
Pat
"Pat" <no*****@ihatespam.bum> wrote in message
news:L4*****************@fe2.texas.rr.com...
John,
You can control these attributes by writing the the ini file used be PDF995. PDF995 suggests using it's PDFEdit ware, but it does the same thing. There is a developer's FAQ that might help some:

http://www.pdf995.com/faq_dev.html

And, in case you don't want to read that, here's a link to a routine that
you can just drop into your app:
You can also control writing to the 995 printer with Albert Kallal's easy
printer utility:

http://www.attcanada.net/~kallal.msn.../msaccess.html


"John Baker" <Ba******@Verizon.net> wrote in message
news:5e********************************@4ax.com...
Hi:

I have PSD995 installed, and find it a good program. I have been told
that using Access
you can set up the PDF file name and location using scripting with this application so
that PDF files can be created automatically. Has anyone done this, and

if so what are the
commands that one uses for (a) the Location; (b) the file name, and (c) the triggering of
action.

Help with this would be appreciated either in the form of answers to

this question, or
some pointers to locations where the answer might be available..

John Baker


Nov 13 '05 #3
Pat:

Thanks for the reference, however the routine has some sort of problem on my system
(Access 2000, w98).

The line:
Dim iniFileName As String, tmpPrinter As Printer

comes back with an error (highlighting the tmpPrinter term) "User defined type not
defined". I am not certain what the implication of this is, or how to solve it. Do I need
some other capabilities or something they have not included?

Suggestions?

John

"Pat" <no*****@ihatespam.bum> wrote:
The link for the routine is:
http://www.freeware995.com/misc/vbacode.txt

Why MS gave OE the shortcut ctrl-enter to send a message I'll never
know.....
I can't tell you the number of times I've sent an email when I was just
trying to paste!

HTH,
Pat
"Pat" <no*****@ihatespam.bum> wrote in message
news:L4*****************@fe2.texas.rr.com...
John,
You can control these attributes by writing the the ini file used be

PDF995.
PDF995 suggests using it's PDFEdit ware, but it does the same thing.

There
is a developer's FAQ that might help some:

http://www.pdf995.com/faq_dev.html

And, in case you don't want to read that, here's a link to a routine that
you can just drop into your app:
You can also control writing to the 995 printer with Albert Kallal's easy
printer utility:

http://www.attcanada.net/~kallal.msn.../msaccess.html


"John Baker" <Ba******@Verizon.net> wrote in message
news:5e********************************@4ax.com...
> Hi:
>
> I have PSD995 installed, and find it a good program. I have been told

that
using Access
> you can set up the PDF file name and location using scripting with this

application so
> that PDF files can be created automatically. Has anyone done this, and

if
so what are the
> commands that one uses for (a) the Location; (b) the file name, and (c)

the triggering of
> action.
>
> Help with this would be appreciated either in the form of answers to

this
question, or
> some pointers to locations where the answer might be available..
>
> John Baker



Nov 13 '05 #4
Pat: Thanks for all the pointers.

I am now working with both the routines you referred me to, but have one probloem.

The PDF995 routine has parameters:

WritePrivateProfileString («lpApplicationName», «lpKeyName», «lpString», «lpFileName»)

For the life of me I can not find exactly what the nature of the values that they are
calling for are.

I have tried the logical things and ended up with:

WritePrivateProfileString ("PayHistory","","C:/dump","testpdf" )

PayHistory is the report
C:/dump is the directory I want the PDF to go to
testpdf is the output name I am looking for.

This does not work!! Do you have any interpretation of all this?

Thnks again

John

"Pat" <no*****@ihatespam.bum> wrote:
The link for the routine is:
http://www.freeware995.com/misc/vbacode.txt

Why MS gave OE the shortcut ctrl-enter to send a message I'll never
know.....
I can't tell you the number of times I've sent an email when I was just
trying to paste!

HTH,
Pat
"Pat" <no*****@ihatespam.bum> wrote in message
news:L4*****************@fe2.texas.rr.com...
John,
You can control these attributes by writing the the ini file used be

PDF995.
PDF995 suggests using it's PDFEdit ware, but it does the same thing.

There
is a developer's FAQ that might help some:

http://www.pdf995.com/faq_dev.html

And, in case you don't want to read that, here's a link to a routine that
you can just drop into your app:
You can also control writing to the 995 printer with Albert Kallal's easy
printer utility:

http://www.attcanada.net/~kallal.msn.../msaccess.html


"John Baker" <Ba******@Verizon.net> wrote in message
news:5e********************************@4ax.com...
> Hi:
>
> I have PSD995 installed, and find it a good program. I have been told

that
using Access
> you can set up the PDF file name and location using scripting with this

application so
> that PDF files can be created automatically. Has anyone done this, and

if
so what are the
> commands that one uses for (a) the Location; (b) the file name, and (c)

the triggering of
> action.
>
> Help with this would be appreciated either in the form of answers to

this
question, or
> some pointers to locations where the answer might be available..
>
> John Baker



Nov 13 '05 #5
I am sorry for the multiple messages. I have had trouble with my internet connection and
wasn't clear which messages actually went out!
Nov 13 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: fiona | last post by:
Catalyst Releases Scripting Editions of SocketTools Client and server-side development for Active Server Pages and PHP. Yucca Valley, CA, May 25, 2005 - Catalyst Development Corp...
3
by: gudia | last post by:
I want to Programatically generate Access reports in the pdf format using some tool and then email them to people in the same code. Right now I am trying to do this with pdf995 using VBA (emailing...
2
by: John Baker | last post by:
Hi: I have PDF995 installed (and registered) and contacted the PDF995 tech support for help in setting up to automatically print Access reports using PDF 995. As a result I received the...
16
by: cyranoVR | last post by:
This is the approach I used to automate printing of Microsoft Access reports to PDF format i.e. unattended and without annoying "Save As..." dialogs, and - more importantly - without having to use...
1
by: Adnan | last post by:
Hi, I am porting an existing ASP applcation to ASP.NET which heavily depends on Mainpulation through Scripting.Dictionary. Can anyone help me out with an alternative to use of Scripting.Dictionary....
1
by: Luis Moura | last post by:
Hi I'm devloping an application that creates a file PDF through the software PDF995 (virtual printer). I need that the program creates the name of the file automatically and that don't appear the...
17
by: freemann | last post by:
Can anyone provide example code showing how to send form results to a results page, email and a comma delimited file? Notice that I need it going to all three locations. Details: I have forms...
1
by: Gilberto | last post by:
pks00 Expert 280 Posts April 16th, 2007 01:08 PM Re: How to print MS Access 2000 report to PDF995 printer by VBA Code Sweet, your using pdf995, makes answering this question that much...
4
by: Chizl | last post by:
I'm developing a C# web server and I want to implement some kind of server side scripting. I thought about writing my own, but that will take some time.. I'm not sure if there is a way to...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.