Re: command line print of file



Thanks RobertVA, I don't believe its an OLE situation. Windows already has
these files associated to their proper applications. When you send them to a
printer by dragging the documents/files in Windows to the printer I'm wanting
to print them on it automatically knows which proggies to open, then opens
them, then it prints the files with the printer I dropped them on.

I know I can open a file from the run line or dos command line with a file
and the /p option which will would work great, except I don't want to use the
default printer.

I've also tried the print command, and directing it with the /d: option to
the network printer I'm wanting to route these files to, but it seems to have
trouble initialising the printer. Maybe I just don't know the proper path
and name to the printer, but I've tried a lot of difrent combonations I
thought it might be.

Uhg! I know its got to be some simple command windows runs that I can't see
in the background that equates to dragging and dropping a file on to a
printer icon.

I'm pretty sure I can do it too through VB, but thats too complex of thing
too for something that seems like it could be as simple as writing a batch
file with these commands which just about anyone could change with no special
programing knoweledge.

This don't seem like something I would need to pay microsoft to answer
either, but if my work wills it to happen bad enough, maybe they'll pay.

Any more help is appreciated! Thanks!



Theres got to be some hidden command in the background that windows does to

"RobertVA" wrote:

ZamAtWork wrote:
How do I send a file to a printer via the run command line or a dos batch
command line?

Easy as pie to just drag and drop files into printer icon, but I want to
click on icon and send several at once to a printer.

Seems easy, nothing I can find to do it.

Help!

Depends on what file types you want to print and what software you have.

Some Microsoft Office applications have Object Linking and Embedding
(OLE) capabilities. You can link other documents within a master
document which will change to reflect changes to the linked documents.
With that system you could print the master document and the hard copy
would reflect the contents of the linked documents at the time you
printed the master document. If the respective applications are coded
properly the applications that open then master and linked documents to
be separately open simultaneously. You might be able to get more
detailed information in one of the Office application forums on this site.

Obviously you HAVE to maintain the documents in the proper places for
the links to remain valid. This could potentially lead to problems
copying the files to another computer or folder.

There are applications from other publishers that can utilize OLE linking.

.



Relevant Pages

  • Re: Stopping OS X from cascading windows
    ... Command + / is the most commonly ... You can use the Keyboard pref pane to set a shortcut, ... work in Cocoa applications that have an appropriate menu item. ... Make a Windows skin so people ...
    (comp.sys.mac.system)
  • Re: 10.5.5 Upgrade Word processor layout problems?
    ... By manually moving undocked app windows about, to ferret out the one you ... Don't most users just use Command_Tab to switch between open programs ... If you hold down the Command key it will become ... click on one of the other applications, ...
    (comp.sys.mac.apps)
  • Re: 16-bit under WinXP Pro?
    ... @echo off ... If Command Extensions are enabled, and running on the Windows XP ... [[To run 16-bit Windows applications, NT uses a VDM that contains an extra ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Sending commands to multiple command prompt windows.
    ... To shutdown each of these applications I have to type ... > 'shutdown' into each of the windows in turn. ... > automatically send the shutdown command to each of these windows. ...
    (microsoft.public.windowsxp.general)
  • Re: Recoverd mahine from SP2 nightmare
    ... It contains advice ... using Windows XP "prettifications". ... applications you do not use. ... You should at least turn on the built in firewall. ...
    (microsoft.public.windowsupdate)