Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Access Report to Postscript File

Posted on 2002-07-18
10
Medium Priority
?
257 Views
Last Modified: 2013-12-02
Is it possible to save an Access report to a Postscript file?  If so, can you then append another report to the same file?  
0
Comment
Question by:critter017
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 6

Expert Comment

by:xSinbad
ID: 7161680
You can(I think) print it to a postscript file.

Install a new printer for your device and change the port option to FILE.
0
 
LVL 1

Author Comment

by:critter017
ID: 7161683
Assuming that it works that way, can I then use VB to append a second report to the first using the same file?  What would the VB code look like?
0
 
LVL 6

Accepted Solution

by:
xSinbad earned 400 total points
ID: 7161786
As the postscript file is in binary format I daubt very much you could append another report to it and still be able to use it afterwards.

Code to print is like this;

link http://www.vb-helper.com/HowTo/printtxt.zip

or

Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long


Call ShellExecute(hwnd, "Print", ("C:\Textfile.txt"), "", App.Path, 1)

Are you familiar with the Open for in VB like this to merge two files;

Private Sub MergeFiles(file1 As String, file2 As String)
  Dim abFile() As Byte
  Open file1 For Binary As #1
  Open file2 For Binary As #2
  ReDim abFile(LOF(2) - 1)
  Get #2, , abFile
  Put #1, LOF(1) + 1, abFile
  Close #1
  Close #2
End Sub



0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7162224
Another way is install a "vistual" PS printer driver and send report to it like you normally do when use print methods.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 7286541
A request for deletion has been made.  The questioner stated no comments helped.  I will await feedback before any action taken.

Computer101
E-E Admin
0
 
LVL 6

Expert Comment

by:xSinbad
ID: 7290375
critter017 if you give some feedback on the code I gave you I may be able to help....
0
 
LVL 1

Expert Comment

by:Computer101
ID: 7390605
critter,
Response?

Computer101
E-E Admin
0
 
LVL 1

Author Comment

by:critter017
ID: 7397568
Gave up trying.
Awarded these points to clear this question.
0
 
LVL 6

Expert Comment

by:xSinbad
ID: 7403501
Thanks for the C grade critter017!

Maybe if you supplied some feed back to the problems you post people will be able to better help you.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 7431958
Based on the grade guidelines and no feedback, grade changed.

Computer101
E-E Admin
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction In a previous article (http://www.experts-exchange.com/Web_Development/Document_Imaging/A_6537-PaperPort-Upgrade-How-to-download-and-install-updated-versions-of-PaperPort-11-and-12.html) (now deprecated), I discussed how to upgrad…
PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question