Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: RES: RE: Open a PRINTER.PORT Using OPEN command


Message #1 by Juliano Moraes Rodrigues <JRodrigues@s...> on Tue, 16 Oct 2001 15:17:11 -0300
But Windows don=B4t use the default printer information for a matricial
printer like Epson LX-810. Windows draw the letters instead use 80 or 
132
columns.

Thanks and best regards,

Juliano Moraes Rodrigues
Analista de Sistemas - FA Consult
juliano.rodrigues@f...
(019) 9719-2417


-----Mensagem original-----
De: Keener, Bradley P [mailto:bradley.keener@e...]
Enviada em: ter=E7a-feira, 16 de outubro de 2001 12:39
Para: professional vb
Assunto: [pro_vb] RE: Open a PRINTER.PORT Using OPEN command


You can just use the Printer.Print command to print any text you have
contained within your application.  This works with the system default
printer information so you don't have to do anything special to 
accommodate
the user's printer setup.

-----Original Message-----
From: jrodrigues@s... [mailto:jrodrigues@s...]
Sent: Tuesday, October 16, 2001 9:21 AM
To: professional vb
Subject: [pro_vb] Open a PRINTER.PORT Using OPEN command


Hi,

I?m in trouble because I can?t use the command:

OPEN PRINTER.PORT FOR OUTPUT AS #1

I use an Epson printer and I need to print using the printer?s default
font. I used yet this method, but here in my job an error happens:

Error 52:
Bad file name or number

The port name is "NE01:".

What can I do?

Thanks in advance,

Juliano Moraes Rodrigues
Analista de Sistemas - FA Consult
juliano.rodrigues@f...
(019) 9719-2417
Sao Paulo - Brasil


  Return to Index