Shop OBEX P1 Docs P2 Docs Learn Events
Batch file — Parallax Forums

Batch file

ArchiverArchiver Posts: 46,084
edited 2002-08-29 15:06 in General Discussion
Max,

I'm a little confused, you want to automatically print Word documents? Or
any files under windows? A batch file doesn't really run automatically, it
only runs when YOU run it. Could you explain the question again, I hope to
find a solution for you.

Thanks,

(hoping someone can help me with my PIR question from earlier today)

John


I know this is not a basic stamp question but I may use the info on a stamp
project.
What I would like to find out if there is A program out there for
windows word like batch files in dos for printing different files
automatically or do these have to be written in visual basic any informatin
anybody can supply will be greatley appreciated
thanks
MAX

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-08-28 23:36
    Actually, you can probably use Windows Scheduler to run a batch file to
    print a file.

    Original Message

    > I'm a little confused, you want to automatically print Word documents? Or
    > any files under windows? A batch file doesn't really run automatically,
    it
    > only runs when YOU run it. Could you explain the question again, I hope
    to
    > find a solution for you.

    > I know this is not a basic stamp question but I may use the info on a
    stamp
    > project.
    > What I would like to find out if there is A program out there for
    > windows word like batch files in dos for printing different files
    > automatically or do these have to be written in visual basic any
    informatin
    > anybody can supply will be greatley appreciated
  • ArchiverArchiver Posts: 46,084
    edited 2002-08-29 01:15
    I know this is not a basic stamp question but I may use the info on a stamp
    project.
    What I would like to find out if there is A program out there for windows
    word like batch files in dos for printing different files automatically or do
    these have to be written in visual basic any informatin anybody can supply will
    be greatley appreciated
    thanks
    MAX


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-08-29 02:32

    Original Message
    From: "John Walton" <john@l...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, August 28, 2002 2:52 PM
    Subject: RE: [noparse][[/noparse]basicstamps] BATCH FILE


    > Max,
    >
    > I'm a little confused, you want to automatically print Word documents? Or
    > any files under windows? A batch file doesn't really run automatically,
    it
    > only runs when YOU run it. Could you explain the question again, I hope
    to
    > find a solution for you.
    >
    > Thanks,
    >
    > (hoping someone can help me with my PIR question from earlier today)
    >
    > John
    >
    >
    > I know this is not a basic stamp question but I may use the info on a
    stamp
    > project.
    > What I would like to find out if there is A program out there for
    > windows word like batch files in dos for printing different files
    > automatically or do these have to be written in visual basic any
    informatin
    > anybody can supply will be greatley appreciated
    > thanks
    > MAX
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    > John
    thanks for your reply what I want to do is have people enter information in
    A file or files in word format and automatically print this information to a
    cnc engraver .I will need to have control over when the info is printed
    because of the automation of this machine.I think I could write this type
    program in q-basic but know nothing about windows basic and the engraver
    uses word with its printer driver.the way its done now is the information is
    entered one entry at a time then printed to the engraver need to enter items
    in afile or files and print under auto control.
    must be soft ware out there to handle this type spooling
    thanks again for info you might be aware of
    max powell
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-08-29 03:30
    Ok Max, I'm beginning to understand your situation.

    Instead of printing (routing) every time someone puts something in, you
    would like to route in batches. Is that correct? So you could say route 5
    things at once instead of 5 different times?

    If I have it right, I _think_ your in luck. You should be able to do one
    of the following:

    Use the print driver for the router but actually send the output to a
    file. Then when you get a small group of files, send them to the router.

    or

    Use something like Calibre - Print Auditor 1.0 to take the printer
    'offline' until you are ready to run a job, then put it on-line and send
    all the jobs queued up to the router. If Calibre isn't exactly what you
    are after, head to download.com and search for "print spool' or something
    simular.

    Hope it helps,

    John




    > > John
    >thanks for your reply what I want to do is have people enter information in
    >A file or files in word format and automatically print this information to a
    >cnc engraver .I will need to have control over when the info is printed
    >because of the automation of this machine.I think I could write this type
    >program in q-basic but know nothing about windows basic and the engraver
    >uses word with its printer driver.the way its done now is the information is
    >entered one entry at a time then printed to the engraver need to enter items
    >in afile or files and print under auto control.
    >must be soft ware out there to handle this type spooling
    >thanks again for info you might be aware of
    >max powell
    > >
    >
    >
    >
    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and
    >Body of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2002-08-29 15:06
    If you can write the computers end of the code in html or java you could
    probably use MicroWebServ a free download from
    www.csmicrosystems.com/

    Another alternative would be to run gwbasic in the background (minimized)
    and have it polling a com port, the stamp sends signals to the gwbasic
    program which in turn invokes a SYSTEM"Prog.exe filename.ext /p" or perhaps
    something like SYSTEM"TYPE filename.ext > LPT1", or even open the desired
    file for sequential access and read it in and use the lprint command

    Lonnie - KF4HAZ -

    From: "max powell" <mpowell@

    > I know this is not a basic stamp question but I may use the info on a
    stamp project.
    > What I would like to find out if there is A program out there for
    windows word like batch files in dos for printing different files
    automatically or do these have to be written in visual basic any informatin
    anybody can supply will be greatley appreciated
    > thanks
    > MAX
Sign In or Register to comment.