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



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?
    ... Ken Plotkin wrote: ... >>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. ...
    (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: HOTO: capture output to file or port
    ... A 3`rd part application is writing to a COM port (serial printer). ... I know this is possible - you can get a 'serial port monitor'. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Com 1 sticks at 2400 baud
    ... Connected a serial printer to tty1a. ... So is there a login prompting going there, ... I can't disable the port because it already is, I can send stty 9600 < ...
    (comp.unix.sco.misc)

Loading