Re: Spooling print jobs in VFP6

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks for all your help.

Doug


"Fred Taylor" <ftaylor@xxxxxxxx!REMOVE> wrote in message
news:Otu4DXewFHA.908@xxxxxxxxxxxxxxxxxxxxxxx
> No, the resultant text file (or file with printer codes) will not have the
> specific printer to go to in it, but it will have codes specific to the
> printer that was in use when it was created. Now that it's in a file, it
> needs to be directed to the specific printer that you want it physically
> printed on. Think about it. What good would it do to print it to a file
so
> you could email it/send it to someone and then they couldn't print it at
all
> because it couldn't find the printer, even though they have one just like
it
> to print on?
>
> Now there is no "command" to tell it where to print automatically.
>
> --
> Fred
> Microsoft Visual FoxPro MVP
>
>
> "Doug" <doug54@xxxxxxx> wrote in message
> news:sLqZe.552621$s54.177750@xxxxxxxxxxx
> >I appreciate your help and I was able to get it to work like you
suggested,
> > but I have one more question. Why do you have to tell it to print to a
> > specific printer? Doesn't the text file have the printer assignments in
> > it?
> > In my case there will be reports from different parts of the program,
some
> > being printed on one printer, others being printed on a different
printer
> > so
> > when it comes time to print all the various reports, I'm not going to
know
> > what printer they should be printed to. Is there a command to just tell
> > the
> > text file to print and have the text file decide which printer it should
> > print to?
> >
> > Doug
> >
> >
> >
> > "Fred Taylor" <ftaylor@xxxxxxxx!REMOVE> wrote in message
> > news:usg88LVwFHA.2064@xxxxxxxxxxxxxxxxxxxxxxx
> >> COPY FILE yourfile.txt TO \\server\printershare may work depending on
the
> >> type of printer. If it's a USB printer, you may need to assign it to
an
> > LPT
> >> port:
> >>
> >> NET USE \\server\printersharename LPT1:
> >>
> >> and then
> >>
> >> COPY FILE yourfile.txt TO LPT1:
> >>
> >> --
> >> Fred
> >> Microsoft Visual FoxPro MVP
> >>
> >>
> >> "Doug" <doug54@xxxxxxx> wrote in message
> >> news:mtiZe.545614$5V4.99618@xxxxxxxxxxx
> >> >I don't know what that means "copy the file to the printer". Please
give
> > me
> >> > the FoxPro syntax for doing this.
> >> >
> >> >
> >> > "Fred Taylor" <ftaylor@xxxxxxxx!REMOVE> wrote in message
> >> > news:ebsS8OTwFHA.2880@xxxxxxxxxxxxxxxxxxxxxxx
> >> >> Once you have them as a file, you can copy the file to the printer.
> >> >>
> >> >> --
> >> >> Fred
> >> >> Microsoft Visual FoxPro MVP
> >> >>
> >> >>
> >> >> "Doug" <doug54@xxxxxxx> wrote in message
> >> >> news:bKDYe.247968$Hk.144565@xxxxxxxxxxx
> >> >> > Thanks for your help. I think I know how to print the reports to a
> >> >> > file.
> >> >> > Please let me know if this is wrong.
> >> >> >
> >> >> > REPORT FORM myForm TO FILE filename
> >> >> >
> >> >> > When you say copy the files later to be printed, can you give me
the
> >> >> > statements needed to do this?
> >> >> >
> >> >> > Thanks.
> >> >> >
> >> >> > Doug
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > "Fred Taylor" <ftaylor@xxxxxxxx!REMOVE> wrote in message
> >> >> > news:uHju%23c4vFHA.1276@xxxxxxxxxxxxxxxxxxxxxxx
> >> >> >> Print them to files. You can then copy the files later to be
> > printed.
> >> >> >> Be
> >> >> >> aware that if you use a specific printer driver to create the
> >> >> >> files,
> >> > you
> >> >> >> will only be able to copy those files to that kind of printer (or
> >> >> > compatible
> >> >> >> printer) later.
> >> >> >>
> >> >> >> --
> >> >> >> Fred
> >> >> >> Microsoft Visual FoxPro MVP
> >> >> >>
> >> >> >>
> >> >> >> "Doug" <doug54@xxxxxxx> wrote in message
> >> >> >> news:vWyYe.535929$5V4.361098@xxxxxxxxxxx
> >> >> >> > I'm wondering if anybody has any ideas on spooling print jobs
in
> >> > VFP6.
> >> >> >> > I've
> >> >> >> > been asked by a client to have print jobs stored some place,
> > rather
> >> >> >> > than
> >> >> >> > printing them right away. Then when they're ready, they select
an
> >> >> >> > option
> >> >> >> > that prints all their stored print jobs. If anybody can suggest
a
> >> > good
> >> >> > way
> >> >> >> > of doing this, I'd appreciate it.
> >> >> >> >
> >> >> >> > Thanks.
> >> >> >> >
> >> >> >> > Doug
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>


.



Relevant Pages

  • Re: Norwich petrol station shut down on DoA Against Climate Change and the G8
    ... Doug says... ... inaccurate and biased reports? ... Got a link from a mainstream news agency, ...
    (uk.transport)
  • Re: Spooling print jobs in VFP6
    ... the resultant text file (or file with printer codes) will not have the ... > In my case there will be reports from different parts of the program, ... >> COPY FILE yourfile.txt TO LPT1: ... >> Microsoft Visual FoxPro MVP ...
    (microsoft.public.fox.vfp.reports.printing)
  • Re: Type Mismatch error message
    ... This error message would indicate that somewhere along the line, you are trying to do something with incompatible data types. ... check boxes and then runs the queries needed for all the reports selected. ... but i don't see where the mismatch can be coming from. ... Doug Sanders ...
    (microsoft.public.access.macros)
  • Re: Report Maximum Width Workaround?
    ... Actually Doug, I have found a way around the 22 inch limit. ... Access Code, Tips and Tricks ... > Actually, the limit's 22 inches, and no, there's no way around that. ... >> I am creating reports programmatically. ...
    (microsoft.public.access.reports)
  • Re: environmental monitoring via prtdiag
    ... > platform shell reports temperatures, fan speeds, and voltages properly. ... Hi Doug, from the ok> prompt you can type printenv or after you login ... you can either type eeprom or for your own env info just type env.. ... you can do a man on all three commands, it should also give you other ...
    (comp.sys.sun.hardware)