RE: Printing from command line



hmm, i would use a vb script / macro that would perform/control the printing
of the files. Never considered using a dos command for an application like
yours. I will ponder on it some more and get back with you.

Not sure what is ZIM, but sounds interesting to me..
--
~~~~~~~~~~~
"To be a 0 or is it to be the 1 ?
That is the data".......W.Gatespeare


"maxwelldm" wrote:

Right! If I can do this in Windows with a right click, can I issue the same
command from within my database program to do it under program control?
(What I am trying to do is print a series of form letters (from within my
database program), with attachments specific to the particular form letter.
If I could store these attachments as formatted documents the end users could
modify and maintain them instead of coming back to me to change them every
few weeks.) It isn't practical to make the end user right click on a file
name to print each attachment - there are 30 to 50 letters, each with 1 to 3
attachments in each weekly batch. My database (ZIM) is able to issue system
commands to effect what I guess are DOS commands (rather than Windows)
(things like copy, delete, rename). But what I understand you to be saying
is that it is impossible to use this to print a document. Any other
suggestions? (How about the idea of an Active-X control??)
I am really grateful to you for your willingness to help

"databaseben" wrote:

...but if your software is installed correctly you can print the files
without opening their parent program by right clicking on the file name and
selecting "print" while in windows and not in a dos enviroment...
--
~~~~~~~~~~~
"To be a 0 or is it to be the 1 ?
That is the data".......W.Gatespeare


"databaseben" wrote:

no way.....


--
~~~~~~~~~~~
"To be a 0 or is it to be the 1 ?
That is the data".......W.Gatespeare


"maxwelldm" wrote:

I want to issue a command line command to print a document in Word format
(.doc)(or .pdf, or .rtf, or any other standard format.) I can do it with .txt
documents, but want to print using a proportional font, and it is a real pain
formatting text documents in a text editor. Is there any easy way of doing
this? (One possibility, if it can't be done directly from the command line,
might be the use of an Active-X control, but I am not sure where or how to
find a control which will do this.)
.



Relevant Pages

  • RE: Event ID 447
    ... Please made a backup for Exchange database first. ... Please run the eseutil /mh command to see if the mailbox store is clean ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: Sharepoint Database falling over event 1000
    ... Microsoft Small Business Server Support ... > I Have Just run the SQL command from the command Line, ... > affected)1> exitDoes this say the database is Ok?If so why since we loaded ... > I/O operation has been aborted because ofeither a thread exit or an ...
    (microsoft.public.windows.server.sbs)
  • Re: Too many args when running a stored procedure
    ... Perhaps you have a duplicate definition of "AddAJob" in the master database schema. ... you don't show that you are associating the connection object with ... >> it with the command object. ... >>> @Rate money ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Please Urgent - Update Data Source Problem ???
    ... then there's nothing to submit to the database. ... values that are only assigned by the DB once the update command is executed. ... > the connection. ... > schedule, and they can update the existing schedule, add new schedule ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: How to handle concurrency issue with better performance?
    ... Hitchhiker's Guide to Visual Studio and SQL Server ... that have been modified since they were pulled from the database. ... select command). ... I create stored procedure for the update command and assign ...
    (microsoft.public.dotnet.framework.adonet)