Re: To drag a file as parameter to script



If I understand correctly, these files have already been processed
through the printer driver, and need to be spooled directly to the
printer.

I use a utility which, when installed, allows you to double-click a
file and send it directly to a printer. It was designed specifically
for native postscript files, to be sent to a postscript printer, but
it works to spool any file directly to a printer. You may be able to
get it to do what you want, or maybe use AutoIt with VBScript to do
any clicking of options or whatever when you drag the file to your
script. You can get info and download the free utility here:
http://www.lerup.com/printfile

-Paul Randall

"Pakeon" <Pakeon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9CC44DB6-3590-47CB-A17B-355A87F7D954@xxxxxxxxxxxxxxxx
Actually some documents are printed to .prn files. I know the way to
print
those .prn files by copying them to printers. I just want to know if
I can
develop a script with the copy command inside and let users drag and
drop the
.prn files to the script as prarameter, then they can get the
printout.

Thanks in advance.

Pakeon

"Al Dunbar" wrote:


"Pakeon" <Pakeon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:190A77A4-FA19-46E7-9AE2-54137F2E955D@xxxxxxxxxxxxxxxx
Hi,

I want to development a script to print files to a print queue.
What I
want
to do is to drag and drop the file to this script and then the
script will
print this file to a specified print queue. Is it possible to do
this?

Probably. But since you could also drag-and-drop the files to a
shortcut to
the desired print queue (no scripting involved), I suspect that you
have
other requirements that you have not yet told us yet....

/Al





.



Relevant Pages

  • Re: To drag a file as parameter to script
    ... I have never drag and dropped .prn files to a printer, ... Yes, it is a nuisance to see the word window pop up on the screen, but it is ... .prn files to the script as prarameter, then they can get the printout. ...
    (microsoft.public.scripting.wsh)
  • SUMMARY: Print to 2 queues at once
    ... Is there a way to set up a print queue in Unix so that it prints to 2 ... When we configure our printers and queues, ... I would set up a wrapper script to take the same command line arguments as ... # Only errors are logged as the lpd will log successful printing ...
    (Tru64-UNIX-Managers)
  • Re: duplicate bos.printer.rte
    ... Did you reinitialize your smit screens? ... to build a script to create those queues. ... Subject: duplicate bos.printer.rte ... Here's what I see when creating a new hp_jetdriect print queue: ...
    (AIX-L)
  • Re: To drag a file as parameter to script
    ... want to develop a script for this printing purpose. ... any clicking of options or whatever when you drag the file to your ... those .prn files by copying them to printers. ... I want to development a script to print files to a print queue. ...
    (microsoft.public.scripting.wsh)
  • Re: Move print queues to new server
    ... The print queue have been migrated to a new server. ... retain their existing default print queue and how it can be done by script. ... Create a new group policy object with user logon script for deploying ...
    (microsoft.public.windows.server.migration)