Re: Dusting off Visual/Digital Fortran - how the heck to migrate printing?




Ken Plotkin wrote:
> On 14 Jan 2006 02:23:25 -0600, "Dave Weatherall"
> <djw-nothere@xxxxxxxxxxxx> wrote:
>
> [snip]
> >IIRC on DOS the physical printer was PRN: I guess on WIndows you
> >might be able to write to COMn if you attach a serial printer to seral
> >port n. Never tried it though. Only ever used PRN or LPTn:. Check out
> >the port names in the Printer control panel.
> [snip]
>
> That's right. PRN: is still the default system printer. LPTn: will
> send it to a specific printer port, and COMn: will send it to a serial
> port. Haven't seen a serial printer on a PC for years, though.
>
> You leave the : off, so it's file= 'lpt1', not file='lpt1:'.
>
> If the printer is on a USB port, addressing that can get a little
> bizarre, involving capturing the port as a network device.
>
> Ken Plotkin

.



Relevant Pages

  • Re: Dusting off Visual/Digital Fortran - how the heck to migrate printing?
    ... >might be able to write to COMn if you attach a serial printer to seral ... Only ever used PRN or LPTn:. ... >the port names in the Printer control panel. ... Haven't seen a serial printer on a PC for years, ...
    (comp.lang.fortran)
  • RE: Printing Saved Files
    ... You may also specify LPT1 or LPT2 instead of PRN. ... >I'm trying to print a report that I saved with the command PRINT REPORT ... >Then I copy the file to a printer port to print the file: ...
    (microsoft.public.fox.vfp.reports.printing)
  • Re: CMD command
    ... Indera ... Don't just live life. ... When you specify prn, the directory list is sent to the printer attached ... If your printer is attached to a different port, ...
    (microsoft.public.windowsxp.general)
  • Re: CMD command
    ... When you specify prn, the directory list is sent to the printer attached to ... If your printer is attached to a different port, ... > i use to use cmd.exe to print a list of files in a folder. ... > Don't just live life. ...
    (microsoft.public.windowsxp.general)
  • Re: Unable to open serial port above com9 on winxp
    ... When you feed the name of the COM port to the CreateFile call you need ... to use the syntax: ... instead of simply COMn ...
    (microsoft.public.windowsxp.general)

Loading