When you have a printer connected to serial port then code is: OPEN "LPT1:" FOR OUTPUT AS #1. {Number may differ).
What is the similar code when interface on the cumputer is an USB?
My printer is a HP Deskjet 920c, I normally use the USB even it also has an LPT
Yours sincerely
Niels Olsen
Code for printer
-
- Posts: 29
- Joined: May 28, 2006 18:32
- Location: denmark
Re: Code for printer
Sorry, but: LPTn = Parallel-Printer-Port (nothing to do, with serial anything)
and
Yes, on USB provided, the printer supports *VCP, you are using serial comms'
to write to it ... Open Com("COMn: ...", As #x) (n = any number, x = FreeFile)
See FB-Manual, for further details.
*VCP = virtual COM port
and
Yes, on USB provided, the printer supports *VCP, you are using serial comms'
to write to it ... Open Com("COMn: ...", As #x) (n = any number, x = FreeFile)
See FB-Manual, for further details.
*VCP = virtual COM port