Re: Printing Saved Files



Tried that but it just seems to print to LPT1. I even tried the command SET
PRINTER TO NAME \\storage\lexmark and then the command to copy to PRN but it
just printed to the LPT printer which is at port \\doug\brotherh.

Doug


"Lee Mitchell" <Leemi@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:GiNxrok3FHA.3936@xxxxxxxxxxxxxxxxxxxxxxxx
> Hi Doug:
>
> Try this. This line copies the file to the printer connected to LPT1: in
> Windows. You may also specify LPT1 or LPT2 instead of PRN.
>
> COPY FILE final.txt TO PRN
>
> I hope this helps.
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> Sincerely,
> Microsoft FoxPro Technical Support
> Lee Mitchell
>
> *-- VFP9 HAS ARRIVED!! --*
> Read about all the new features of VFP9 here:
> http://msdn.microsoft.com/vfoxpro/
>
> *--Purchase VFP 9.0 here:
>
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
> 69-4500-8bf2-3f06689f4ab3&type=ovr
>
> Keep an eye on the product lifecycle for Visual FoxPro here:
> http://support.microsoft.com/gp/lifeselectindex
> - VFP5 Mainstream Support retired June 30th, 2003
> - VFP6 Mainstream Support retired Sept. 30th, 2003
>
> >I'm trying to print a report that I saved with the command PRINT REPORT
> >report1 TO FILE filename.
>
> >Then I copy the file to a printer port to print the file: COPY FILE
> filename
> >TO \\server1\printer1
>
> >When I use this command on my system it works fine but when I use the
same
> >command on a client's system it just copies the file to the computer and
> >calls it printer1.
>
> >The printer seems to be set up properly, the port name is
> \\server2005\x128.
> >But when I copy the file file to this port it just creates a file called
> >"x128" on my hard drive.
>
> >Any ideas what's wrong?
>
> >Thanks for your help.
>
>
> >Doug
>
>
>
>


.



Relevant Pages

  • Re: Redirecting lpt1 output to an installed printer
    ... to the lpt1 port. ... I am doing now is to redirect the output using the "net use" ... If there's a recognized printer on that port, ... which I do via a "net use LPT1" command inside a batch file. ...
    (microsoft.public.vb.general.discussion)
  • Re: Redirecting lpt1 output to an installed printer
    ... to the lpt1 port. ... I am doing now is to redirect the output using the "net use" ... If there's a recognized printer on that port, ... which I do via a "net use LPT1" command inside a batch file. ...
    (microsoft.public.vb.general.discussion)
  • Re: LPT1 Port Prints to Network Printer
    ... LPT1 Port Prints to Network Printer ... I started up today) and ran the "net use" command. ... restarted my computer and checked out my printers and they ...
    (microsoft.public.win2000.printing)
  • Re: dir > LPT1
    ... Pegasus - I've frequntly use the net use but that redirects anything sent to lpt1 to a shared printer. ... locations on different Windows XPP systems where I wanted to test printing to lpt1 from a command prompt by using the dir> lpt1 command. ... I occasionally need to test "DOS" printing to troubleshoot problems and this command has always been a quick easy test. ... Hi Dave, ...
    (microsoft.public.windowsxp.general)
  • Re: Capture LPT1 to a USB printer
    ... [to print from a DOS program] ... NET USE LPT1: \\computername\sharedprintername ... The network name cannot be found. ... So the command becomes: ...
    (microsoft.public.windowsxp.customize)

Loading