Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Open a PRINTER.PORT Using OPEN command


Message #1 by jrodrigues@s... on Tue, 16 Oct 2001 14:20:59
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